DrawKit
Vector and illustration framework for Mac OS X
|
Instance Methods | |
(NSPrintInfo *) | - printInfo |
Return the print info to use for drawing the page breaks, paginating and general printing operations. More... | |
(void) | - setPrintInfo: |
Instance Methods inherited from DKDrawingView | |
(DKLayer *) | - activeLayer |
Returns the current active layer, by asking the controller for it. More... | |
(DKViewController *) | - controller |
Return the view's controller. More... | |
(void) | - createAutomaticDrawing |
Create an entire "back end" for the view. More... | |
(void) | - createRulerMarkers |
Set up the markers for the rulers. More... | |
(void) | - drawCropMarks |
Draws the crop marks if set to do so and the view is being printed. More... | |
(DKDrawing *) | - drawing |
Return the drawing that the view will draw. More... | |
(void) | - drawPageBreaks |
Draw page breaks based on the page break print info. More... | |
(NSTextStorage *) | - editedText |
Return the text from the temporary editing view. More... | |
(void) | - editorFrameChangedNotification: |
Respond to frame size changes in the text editor view. More... | |
(NSTextView *) | - editText:inRect:delegate: |
Start editing text in a box within the view. More... | |
(NSTextView *) | - editText:inRect:delegate:drawsBackground: |
Start editing text in a box within the view. More... | |
(void) | - endTextEditing |
Stop the temporary text editing and get rid of the editing view. More... | |
(BOOL) | - isTextBeingEdited |
Is the text editor visible and active? More... | |
(DKViewController *) | - makeViewController |
Creates a controller for this view that can be added to a drawing. More... | |
(void) | - moveRulerMarkerNamed:toLocation: |
Set a ruler marker to a given position. More... | |
(NSBezierPath *) | - pageBreakPathWithExtension:options: |
Returns a path which represents all of the printed page rectangles. More... | |
(BOOL) | - pageBreaksVisible |
Are page breaks vissble? More... | |
(DKCropMarkKind) | - printCropMarkKind |
What sort of crop mark sare applied to printed output. More... | |
(void) | - removeRulerMarkers |
Remove the markers from the rulers. More... | |
(void) | - replaceControllerWithController: |
Sea new controller for this view. More... | |
(void) | - resetRulerClientView |
Set up the client view for the rulers. More... | |
(void) | - set |
(void) | - setController: |
Set the view's controller. More... | |
(void) | - setPageBreaksVisible: |
Sets whether the page breaks are shown or not. More... | |
(void) | - setPrintCropMarkKind: |
Set what kind of crop marks printed output includes. More... | |
(NSTextView *) | - textEditingView |
Return the current temporary text editing view. More... | |
(IBAction) | - toggleRuler: |
Show or hide the ruler. More... | |
(IBAction) | - toggleShowPageBreaks: |
(void) | - updateRulerMouseTracking: |
Set the ruler lines to the current mouse point. More... | |
(void) | - windowActiveStateChanged: |
Invalidate the view when window active state changes. More... | |
Instance Methods inherited from GCZoomView | |
(NSPoint) | - centredPointInDocView |
Calculates the coordinates of the point that is visually centred in the view at the current scroll position and zoom. More... | |
(BOOL) | - isChangingScale |
Returns whether the scale is being changed. More... | |
(CGFloat) | - maximumScale |
Returns the maximum permitted view scale (zoom) More... | |
(CGFloat) | - minimumScale |
Returns the minimum permitted view scale (zoom) More... | |
(CGFloat) | - scale |
Returns the current view scale (zoom) More... | |
(void) | - scrollPointToCentre: |
Scrolls the view so that the point ends up visually centred. More... | |
(void) | - setMaximumScale: |
Sets the maximum permitted view scale (zoom) More... | |
(void) | - setMinimumScale: |
Sets the minimum permitted view scale (zoom) More... | |
(void) | - setScale: |
Zooms the view to the given scale. More... | |
(IBAction) | - zoomFitInWindow: |
Zoom so that the entire extent of the enclosing frame is visible. More... | |
(IBAction) | - zoomIn: |
Zoom in (scale up) by a factor of 2. More... | |
(IBAction) | - zoomMax: |
(IBAction) | - zoomMin: |
(IBAction) | - zoomOut: |
Zoom out (scale down) by a factor of 2. More... | |
(IBAction) | - zoomToActualSize: |
Restore the zoom to 100%. More... | |
(IBAction) | - zoomToPercentageWithTag: |
Takes the senders tag value as the desired percentage. More... | |
(void) | - zoomViewByFactor: |
Zoom by the desired scaling factor. More... | |
(void) | - zoomViewByFactor:andCentrePoint: |
Zooms the view by the given factor and centres the passed point. More... | |
(void) | - zoomViewToAbsoluteScale: |
(void) | - zoomViewToFitRect: |
Zooms so that the passed rect will fit in the view. More... | |
(void) | - zoomViewToRect: |
Zooms so that the passed rect fills the view. More... | |
(void) | - zoomWithScrollWheelDelta:toCentrePoint: |
Instance Methods inherited from NSObject | |
(NSString *) | - address |
(DKStyleRegistry *) | - applicationWillReturnStyleRegistry |
(BOOL) | - canBeUsedWithSelectionTool |
(id) | - categoryManager:shouldReplaceObject:withObject: |
(Class) | - classForCoder |
(NSColor *) | - colorValue |
(NSColor *) | - colourValue |
(id) | - copy |
(void) | - dealloc |
(id) | - deepCopy |
(NSDictionary *) | - dimensionValuesForArrowStroke: |
(CGFloat) | - drawing:convertDistanceToExternalCoordinates: |
(NSPoint) | - drawing:convertLocationToExternalCoordinates: |
(void) | - drawing:didDrawRect:inView: |
(void) | - drawing:willDrawRect:inView: |
(NSString *) | - drawing:willReturnAbbreviationForUnit: |
(NSString *) | - drawing:willReturnFormattedCoordinateForDistance: |
(CGFloat) | - drawingWillReturnUnitToPointsConversonFactor: |
(void) | - finalize |
(NSString *) | - hexString |
(void) | - hotspot:didEndTrackingWithEvent:inView: |
(void) | - hotspot:isTrackingWithEvent:inView: |
(void) | - hotspot:willBeginTrackingWithEvent:inView: |
(NSData *) | - imageData |
(id) | - init |
(id) | - initWithExpression: |
(id) | - instantiateObjectWithShortName:parameters: |
(BOOL) | - isLiteralValue |
(void) | - layoutManager:willPlaceGlyphAtIndex:atLocation:pathAngle:yOffset: |
(void) | - menuItem:wasAddedForObject:inCategory: |
(BOOL) | - moveObjectTo:position:slope:userInfo: |
(id) | - mutableCopy |
(void) | - oneShotComplete |
(void) | - oneShotHasReached: |
(void) | - oneShotWillBegin |
(void) | - path:elementIndex:type:points:subPathIndex:subPathClosed:contextInfo: |
(id) | - placeLinkFromPoint:toPoint:onPath:linkNumber:userInfo: |
(id) | - placeObjectAtPoint:onPath:position:slope:userInfo: |
(NSPoint) | - point |
(NSPoint) | - pointForTextLayout |
(DKStyle *) | - registry:shouldReplaceStyle:withStyle: |
(NSBezierPath *) | - renderer:willRenderPath: |
(void) | - routeFinder:progressHasReached: |
(void) | - setValue:forNumericParameter: |
(NSString *) | - stringValue |
(CGFloat) | - taperFactorAtDistance:onPath:ofLength: |
(void) | - toolDidPerformUndoableAction: |
(void) | - toolWillPerformUndoableAction: |
(NSURL *) | - url |
Instance Methods inherited from <NSObject> | |
(NSString *) | - description |
(NSUInteger) | - hash |
(BOOL) | - isEqual: |
Instance Methods inherited from <NSKeyValueBindingCreation> | |
(void) | - bind:toObject:withKeyPath:options: |
(NSArray *) | - exposedBindings |
(NSDictionary *) | - infoForBinding: |
(NSArray *) | - optionDescriptionsForBinding: |
(void) | - unbind: |
(Class) | - valueClassForBinding: |
Instance Methods inherited from <NSCoding> | |
(void) | - encodeWithCoder: |
(id) | - initWithCoder: |
Protected Attributes | |
NSPrintInfo * | m_printInfo |
Additional Inherited Members | |
Class Methods inherited from DKDrawingView | |
(NSColor *) | + backgroundColour |
Return the colour used to draw the background area of the scrollview outside the drawing area. More... | |
(DKDrawingView *) | + currentlyDrawingView |
Return the view currently drawing. More... | |
(NSImage *) | + imageResourceNamed: |
Return an image resource from the framework bundle. More... | |
(NSColor *) | + pageBreakColour |
Get the colour used to draw the page breaks. More... | |
(NSPoint) | + pointForLastContextualMenuEvent |
Get the point for the initial mouse down that last opened a contextual menu. More... | |
(void) | + pop |
(void) | + setPageBreakColour: |
Set the colour used to draw the page breaks. More... | |
(Class) | + classForTextEditor |
(void) | + setClassForTextEditor: |
(void) | + setTextEditorAllowsTypingUndo: |
(BOOL) | + textEditorAllowsTypingUndo |
Class Methods inherited from GCZoomView | |
(BOOL) | + scrollwheelInverted |
Return whether view zooms in or out for a given scrollwheel rotation direction. More... | |
(NSUInteger) | + scrollwheelModifierKeyMask |
Return the default zoom key mask used by new instances of this class. More... | |
(BOOL) | + scrollwheelZoomEnabled |
Return whether scroll-wheel zooming is enabled. More... | |
(void) | + setScrollwheelInverted: |
Set whether view zooms in or out for a given scrollwheel rotation direction. More... | |
(void) | + setScrollwheelModiferKeyMask: |
Set the modifier key(s) that will activate zooming using the scrollwheel. More... | |
(void) | + setScrollwheelZoomEnabled: |
Set whether scroll-wheel zooming is enabled. More... | |
Class Methods inherited from NSObject | |
(id) | + alloc |
(Class) | + class |
(void) | + initialize |
(void) | + load |
(id) | + new |
Class Methods inherited from <NSKeyValueBindingCreation> | |
(void) | + exposeBinding: |
- (NSPrintInfo*) printInfo |
Return the print info to use for drawing the page breaks, paginating and general printing operations.
Implements DKDrawingView.
- (void) setPrintInfo: | (NSPrintInfo *) | ip |
Implements DKDrawingView.
|
protected |