The plugin part NSGraphics
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
The plugin part MBS MacCocoa Plugin:NSGraphics:
Partly Console safe,
70 entry points.
- class NSGraphicsMBS
- method drawPicture(image as Picture, x as double, y as double, w as double, h as double, sx as double, sy as double, sw as double, sh as double, Operation as integer, fraction as double)
- method set(transform as NSAffineTransformMBS)
- method concat(transform as NSAffineTransformMBS)
- method stroke(path as NSBezierPathMBS)
- method fill(path as NSBezierPathMBS)
- method addClip(path as NSBezierPathMBS)
- method setClip(path as NSBezierPathMBS)
- method setCurrentContext
- method fillRect(r as NSRectMBS)
- method strokeRect(r as NSRectMBS)
- method clipRect(r as NSRectMBS)
- method boundingRectWithSize(text as NSAttributedStringMBS, size as NSSizeMBS, options as integer = 0) as NSRectMBS
- method drawWithRect(text as NSAttributedStringMBS, rect as NSRectMBS, options as integer)
- method drawInRect(text as NSAttributedStringMBS, rect as NSRectMBS)
- method drawAtPoint(text as NSAttributedStringMBS, point as NSPointMBS)
- method DrawWindowBackground(x as double, y as double, w as double, h as double)
- method fillRect(x as double, y as double, w as double, h as double, operation as integer)
- method drawInRect(text as string, rect as NSRectMBS, DicAttributes as dictionary = nil)
- method drawAtPoint(text as string, point as NSPointMBS, DicAttributes as dictionary = nil)
- method sizeWithAttributes(text as string, DicAttributes as dictionary = nil) as NSSizeMBS
- method boundingRectWithSize(text as string, size as NSSizeMBS, options as integer = 0, DicAttributes as dictionary = nil) as NSRectMBS
- method drawAtPoint(image as NSImageMBS, x as double, y as double, sx as double, sy as double, sw as double, sh as double, Operation as integer, fraction as double)
- method drawInRect(image as NSImageMBS, x as double, y as double, w as double, h as double, sx as double, sy as double, sw as double, sh as double, Operation as integer, fraction as double)
- method fillRect(x as double, y as double, w as double, h as double)
- method drawRect(x as double, y as double, w as double, h as double)
- method eraseRect(x as double, y as double, w as double, h as double)
- method highlightRect(x as double, y as double, w as double, h as double)
- method SetColorBW(white as double, alpha as double = 1.0)
- method SetColorHSV(hue as double, saturation as double, brightness as double, alpha as double = 1.0)
- method SetColorRGB(red as double, green as double, blue as double, alpha as double = 1.0)
- method SetColorCMYK(cyan as double, magenta as double, yellow as double, black as double, alpha as double = 1.0)
- method setColor(c as NSColorMBS)
- method setFillColor(c as NSColorMBS)
- method setStrokeColor(c as NSColorMBS)
- method flushGraphics
- method saveGraphicsState
- method restoreGraphicsState
- method isDrawingToScreen as boolean
- method isFlipped as boolean
- method graphicsPort as variant
- method invalidate
- method Constructor
- method Constructor(targetWindow as NSWindowMBS)
- method Constructor(targetWindow as window)
- method Constructor(targetView as NSViewMBS)
- method Constructor(targetImage as NSImageMBS)
- method Constructor(targetImage as NSBitmapImageRepMBS)
- method ScaleCoordinates(x as double, y as double)
- method TranslateCoordinates(x as double, y as double)
- method strokeLine(x1 as double, y1 as double, x2 as double, y2 as double)
- method strokeLine(point1 as NSPointMBS, point2 as NSPointMBS)
- method ConcatTransform(NSAffineTransform as variant)
- method SetTransform(NSAffineTransform as variant)
- method Constructor(targetWindow as DesktopWindow)
- property shouldAntialias as boolean
- property imageInterpolation as integer
- property Handle as Integer
- property Valid as Boolean
- property Owner as Variant
- shared method graphicsContext as NSGraphicsMBS
- shared method graphicsContextWithCGContext(targetCGContext as variant, initialFlippedState as boolean = false) as NSGraphicsMBS
- shared method graphicsContextWithCGContextHandle(targetCGContextRef as Integer, initialFlippedState as boolean = false) as NSGraphicsMBS
- shared method graphicsContextWithCGContextHandle(targetCGContextRef as Ptr, initialFlippedState as boolean = false) as NSGraphicsMBS
- shared method graphicsContextWithNSWindow(targetNSWindow as NSWindowMBS) as NSGraphicsMBS
- shared method graphicsContextWithWindow(targetWindow as window) as NSGraphicsMBS
- shared method graphicsContextWithNSView(targetView as NSViewMBS) as NSGraphicsMBS
- shared method graphicsContextWithNSImage(targetImage as NSImageMBS) as NSGraphicsMBS
- shared method graphicsContextWithNSBitmapImageRep(targetImage as NSBitmapImageRepMBS) as NSGraphicsMBS
- shared method graphicsContextWithWindow(targetWindow as DesktopWindow) as NSGraphicsMBS
Blog Entries
Xojo Developer Magazine