The plugin part CG
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 MacCG Plugin:CG:
Partly Console safe,
345 entry points.
- class Application
- class CGBitmapContextMBS
- method CGImage(shouldInterpolate as boolean = false, intent as integer = 0) as CGImageMBS
- method CreateImage as CGImageMBS
- method Constructor
- property BitmapWidth as Integer
- property BitmapHeight as Integer
- property BitmapBitsPerComponent as Integer
- property BitmapBitsPerPixel as Integer
- property BitmapBytesPerRow as Integer
- property BitmapData as MemoryBlock
- property BitmapColorSpace as CGColorSpaceMBS
- property BitmapAlphaInfo as Integer
- property BitmapInfo as Integer
- shared method CreateRGB(data as memoryblock, width as integer, height as integer, bytesPerRow as integer, colorspace as CGColorSpaceMBS = nil) as CGBitmapContextMBS
- shared method Create(data as memoryblock, width as integer, height as integer, bitsPerComponent as integer, bytesPerRow as integer, colorspace as CGColorSpaceMBS, alphaInfo as integer) as CGBitmapContextMBS
- shared method Create(Other as CGBitmapContextMBS, NewColorspace as CGColorSpaceMBS) as CGBitmapContextMBS
- shared method CreateWithPicture(Pic as Picture) as CGBitmapContextMBS
- class CGColorMBS
- method NumberOfComponents as integer
- method Alpha as double
- method Equal(secondColor as CGColorMBS) as boolean
- method Components as memoryblock
- method CopyWithAlpha(alpha as double) as CGColorMBS
- method Copy as CGColorMBS
- method ColorSpace as CGColorSpaceMBS
- property Handle as Integer
- shared method White as CGColorMBS
- shared method Black as CGColorMBS
- shared method Clear as CGColorMBS
- shared method Create(colorspace as CGColorSpaceMBS, components as memoryblock) as CGColorMBS
- shared method Create(colorspace as CGColorSpaceMBS, components() as double) as CGColorMBS
- shared method CreateGenericGray(gray as double, alpha as double = 1.0) as CGColorMBS
- shared method CreateGenericRGB(red as double, green as double, blue as double, alpha as double = 1.0) as CGColorMBS
- shared method CreateGenericCMYK(cyan as double, magenta as double, yellow as double, black as double, alpha as double = 1.0) as CGColorMBS
- shared method CreateDeviceGray(gray as double, alpha as double = 1.0) as CGColorMBS
- shared method CreateDeviceRGB(red as double, green as double, blue as double, alpha as double = 1.0) as CGColorMBS
- shared method CreateDeviceCMYK(cyan as double, magenta as double, yellow as double, black as double, alpha as double = 1.0) as CGColorMBS
- class CGColorSpaceMBS
- class CGContextMBS
- method Constructor(handle as integer)
- method Constructor(g as Graphics)
- method Constructor(pic as Picture)
- method SetFillColor(color as CGColorMBS)
- method SetStrokeColor(color as CGColorMBS)
- method SetFont(font as CGFontMBS)
- method DrawLayerInRect(rect as CGRectMBS, layer as CGLayerMBS)
- method DrawLayerAtPoint(Point as CGPointMBS, layer as CGLayerMBS)
- method DrawRadialGradient(gradient as CGGradientMBS, startCenter as CGPointMBS, startRadius as double, endCenter as CGPointMBS, endRadius as double, options as integer)
- method DrawLinearGradient(gradient as CGGradientMBS, startPoint as CGPointMBS, endPoint as CGPointMBS, options as integer)
- method GetClipBoundingBox as CGRectMBS
- method BeginTransparencyLayerWithRect(r as CGRectMBS, auxiliaryInfo as Dictionary = nil)
- method BeginTransparencyLayer(auxiliaryInfo as Dictionary = nil)
- method EndTransparencyLayer
- method SetShadowWithColor(x as double, y as double, blur as double, colorvalue as CGColorMBS)
- method SetShadow(x as double, y as double, blur as double)
- method addArcToPath(x as double, y as double, w as double, h as double, startAngle as integer, arcAngle as integer)
- method addOvalToPath(x as double, y as double, w as double, h as double)
- method addRoundedRectToPath(x as double, y as double, w as double, h as double, arcWidth as double, arcHeight as double)
- method paintArc(x as double, y as double, w as double, h as double, startAngle as integer, arcAngle as integer)
- method frameArc(x as double, y as double, w as double, h as double, startAngle as integer, arcAngle as integer)
- method frameOval(x as double, y as double, w as double, h as double)
- method paintOval(x as double, y as double, w as double, h as double)
- method frameRect(x as double, y as double, w as double, h as double)
- method paintRect(x as double, y as double, w as double, h as double)
- method fillRoundedRect(x as double, y as double, w as double, h as double, arcWidth as double, arcHeight as double)
- method strokeRoundedRect(x as double, y as double, w as double, h as double, arcWidth as double, arcHeight as double)
- method DrawShading(shading as CGShadingMBS)
- method SetLineDash(phase as double, lengths as memoryblock, count as integer)
- method GetCTM as CGAffineTransformMBS
- method ConcatCTM(transform as CGAffineTransformMBS)
- method SetFillColorSpace(colorspace as CGColorSpaceMBS)
- method SetStrokeColorSpace(colorspace as CGColorSpaceMBS)
- method GetTextPosition as CGPointMBS
- method SetBlendMode(BlendMode as integer)
- method SetShouldAntialias(shouldAntialias as boolean)
- method SetShouldSmoothFonts(shouldSmoothFonts as boolean)
- method SetAllowsAntialiasing(allowsAntialiasing as boolean)
- method DrawCGPDFDocument(pdf as variant, rect as CGRectMBS, page as integer)
- method BeginPage(mediabox as CGRectMBS)
- method EndPage
- method ShowTextAtPoint(text as string, x as double, y as double)
- method ShowText(text as string)
- method SelectFont(name as string, size as double, fontencoding as integer)
- method SetFontSize(size as double)
- method SetTextDrawingMode(mode as integer)
- method SetCharacterSpacing(spacing as double)
- method ClipToMask(rect as CGRectMBS, mask as CGImageMBS)
- method DrawTiledImage(pic as CGImageMBS, rect as CGRectMBS)
- method DrawPicture(pic as CGImageMBS, rect as CGRectMBS)
- method SetRenderingIntent(intent as integer)
- method SetCMYKStrokeColor(cyan as double, magenta as double, yellow as double, black as double, alpha as double = 1.0)
- method SetCMYKFillColor(cyan as double, magenta as double, yellow as double, black as double, alpha as double = 1.0)
- method SetGrayFillColor(gray as double, alpha as double = 1.0)
- method SetRGBFillColor(red as double, green as double, blue as double, alpha as double = 1.0)
- method SetGrayStrokeColor(gray as double, alpha as double = 1.0)
- method SetRGBStrokeColor(red as double, green as double, blue as double, alpha as double = 1.0)
- method ClipToRect(rect as CGRectMBS)
- method EOClip
- method Clip
- method StrokeRectWithWidth(rect as CGRectMBS, width as double)
- method ClearRect(rect as CGRectMBS)
- method StrokeRect(rect as CGRectMBS)
- method FillRect(rect as CGRectMBS)
- method FillEllipseInRect(rect as CGRectMBS)
- method StrokeEllipseInRect(rect as CGRectMBS)
- method StrokePath
- method EOFillPath
- method FillPath
- method DrawPath(mode as integer)
- method GetPathCurrentPoint as CGPointMBS
- method GetPathBoundingBox as CGRectMBS
- method IsPathEmpty as boolean
- method AddArcToPoint(x1 as double, y1 as double, x2 as double, y2 as double, radius as double)
- method AddArc(x as double, y as double, radius as double, startangle as double, endangle as double, clockwise as boolean)
- method AddRect(r as CGRectMBS)
- method AddEllipseInRect(r as CGRectMBS)
- method AddPath(path as CGPathMBS)
- method ReplacePathWithStrokedPath
- method PathContainsPoint(point as CGPointMBS, mode as integer) as boolean
- method ClosePath
- method AddQuadCurveToPoint(cpx as double, cpy as double, x as double, y as double)
- method AddCurveToPoint(cp1x as double, cp1y as double, cp2x as double, cp2y as double, x as double, y as double)
- method MoveToPoint(x as double, y as double)
- method AddLineToPoint(x as double, y as double)
- method BeginPath
- method SetFlatness(flatness as double)
- method SetAlpha(alpha as double)
- method SetMiterLimit(limit as double)
- method SetLineJoin(join as integer)
- method SetLineCap(cap as integer)
- method SetLineWidth(width as double)
- method RotateCTM(angle as double)
- method TranslateCTM(tx as double, ty as double)
- method ScaleCTM(sx as double, sy as double)
- method SaveGState
- method RestoreGState
- method Flush
- method Synchronize
- method AddRects(r() as CGRectMBS)
- method AddLines(p() as CGPointMBS)
- method CopyPath as CGPathMBS
- method Close
- property TextMatrix as CGAffineTransformMBS
- property TextPosition as CGPointMBS
- property Handle as Integer
- property InterpolationQuality as Integer
- property RetainCount as Integer
- shared method contextWithCGContext(handle as integer) as CGContextMBS
- shared method contextWithCGContext(handle as Ptr) as CGContextMBS
- class CGFontMBS
- class CGFunctionMBS
- class CGGradientMBS
- class CGImageMBS
- class CGImageMetadataMBS
- class CGImageMetadataTagMBS
- class CGLayerMBS
- class CGMutableImageMetadataMBS
- method SetValueMatchingImageProperty(dictionaryName as String, propertyName as String, value as CGImageMetadataTagMBS) as Boolean
- method RegisterNamespaceForPrefix(parent as CGImageMetadataTagMBS = nil, xmlns as String, prefix as String, byref error as CFErrorMBS) as Boolean
- method SetValueWithPath(parent as CGImageMetadataTagMBS = nil, path as string, value as Variant) as Boolean
- method SetTagWithPath(parent as CGImageMetadataTagMBS = nil, path as string, value as CGImageMetadataTagMBS) as Boolean
- method RemoveTagWithPath(parent as CGImageMetadataTagMBS = nil, path as string) as Boolean
- method Constructor
- method Constructor(metadata as CGImageMetadataMBS)
- class CGMutablePathMBS
- method Constructor
- method CloseSubpath
- method MoveToPoint(transform as CGAffineTransformMBS, x as double, y as double)
- method AddLineToPoint(transform as CGAffineTransformMBS, x as double, y as double)
- method AddQuadCurveToPoint(transform as CGAffineTransformMBS, cpx as double, cpy as double, x as double, y as double)
- method AddCurveToPoint(transform as CGAffineTransformMBS, cpx1 as double, cpy1 as double, cpx2 as double, cpy2 as double, x as double, y as double)
- method AddRect(transform as CGAffineTransformMBS, r as CGRectMBS)
- method AddEllipseInRect(transform as CGAffineTransformMBS, r as CGRectMBS)
- method AddPath(transform as CGAffineTransformMBS, path as CGPathMBS)
- method AddArc(transform as CGAffineTransformMBS, x as double, y as double, radius as double, startAngle as double, endAngle as double, clockwise as boolean)
- method AddArcToPoint(transform as CGAffineTransformMBS, x as double, y as double, x2 as double, y2 as double, radius as double)
- method ContainsPoint(transform as CGAffineTransformMBS, point as CGPointMBS, eoFill as boolean) as boolean
- class CGPathElementMBS
- class CGPathMBS
- class CGShadingMBS
- class DesktopWindow
- class Picture
- class Window
- Globals:
- CGBitmapContextCreateMBS(data as memoryblock, width as integer, height as integer, bitsPerComponent as integer, bytesPerRow as integer, colorspace as CGColorSpaceMBS, alphaInfo as integer) as CGBitmapContextMBS
- CGCreateImageFromJPEGDataProviderMBS(dataprovider as Variant, decode as memoryblock, shouldInterpolate as boolean, intent as integer) as CGImageMBS
- CGCreateImageFromPNGDataProviderMBS(dataprovider as Variant, decode as memoryblock, shouldInterpolate as boolean, intent as integer) as CGImageMBS
- CGCreateImageMBS(pic as picture) as CGImageMBS
- CGCreateImageMBS(pic as picture, mask as picture) as CGImageMBS
- CGShadingCreateAxialMBS(colorspace as CGColorSpaceMBS, startPoint as CGPointMBS, endPoint as CGPointMBS, func as CGFunctionMBS, extendStart as boolean, extendEnd as boolean) as CGShadingMBS
- CGShadingCreateRadialMBS(colorspace as CGColorSpaceMBS, startPoint as CGPointMBS, startRadius as double, endPoint as CGPointMBS, endRadius as double, func as CGFunctionMBS, extendStart as boolean, extendEnd as boolean) as CGShadingMBS
- GetCurrentCGContextMBS as CGContextMBS
Blog Entries
Xojo Developer Magazine