Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
MyPDFView.h
// ====================================================================================================================== |
// MyPDFView.h |
// ====================================================================================================================== |
#import <Cocoa/Cocoa.h> |
#import <Quartz/Quartz.h> |
@interface MyPDFView : PDFView |
{ |
PDFAnnotationLink *_activeAnnotation; |
PDFPage *_activePage; |
NSRect _wasBounds; |
NSPoint _mouseDownLoc; |
NSPoint _clickDelta; |
BOOL _dragging; |
BOOL _resizing; |
BOOL _mouseDownInAnnotation; |
} |
- (void) transformContextForPage: (PDFPage *) page; |
- (void) delete: (id) sender; |
- (void) printDocument: (id) sender; |
- (PDFAnnotationLink *) activeAnnotation; |
- (void) setActiveAnnotation: (PDFAnnotationLink *) newLink; |
- (NSSize) defaultNewLinkSize; |
- (NSRect) resizeThumbForRect: (NSRect) rect rotation: (int) rotation; |
@end |
Copyright © 2005 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2005-08-10