1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // CDSDrawView.h
- // PDFViewer-Mac
- //
- // Copyright © 2014-2023 Cisdem Inc. All Rights Reserved.
- //
- // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
- // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
- // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
- // This notice may not be removed from this file.
- //
- #import <Cocoa/Cocoa.h>
- @class CDSDrawView;
- @protocol CDSDrawViewDelegate <NSObject>
- @optional
- - (void)drawViewDidFinishTouchMode:(CDSDrawView *)view;
- @end
- @interface CDSDrawView : NSView
- @property (nonatomic,assign) id<CDSDrawViewDelegate> delegate;
- @property (nonatomic,retain) NSColor *drawColor;
- @property (nonatomic,retain) NSImage *drawImage;
- @property (nonatomic,assign) float strokeRadius;
- @property (nonatomic,assign) BOOL isAcceptsTouch;
- @property (nonatomic,retain) NSBezierPath *drawBezierPath;
- - (void)clearImage;
- - (NSImage *)signatureImage;
- @end
|