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
- method ICCProfile as string
- property Handle as Integer
- property NumberOfComponents as Integer
- property ColorTableCount as Integer
- property Model as Integer
- property ModelText as String
- property BaseColorSpace as CGColorSpaceMBS
- property Name as String
- property Description as String
- shared method kCGColorSpaceGenericGray as string
- shared method kCGColorSpaceGenericRGB as string
- shared method kCGColorSpaceGenericCMYK as string
- shared method kCGColorSpaceGenericRGBLinear as string
- shared method kCGColorSpaceAdobeRGB1998 as string
- shared method kCGColorSpaceSRGB as string
- shared method kCGColorSpaceGenericGrayGamma2_2 as string
- shared method kCGColorSpaceGenericXYZ as string
- shared method kCGColorSpaceACESCGLinear as string
- shared method kCGColorSpaceITUR_709 as string
- shared method kCGColorSpaceITUR_2020 as string
- shared method kCGColorSpaceROMMRGB as string
- shared method kCGColorSpaceDCIP3 as string
- shared method kCGColorSpaceDisplayP3 as string
- shared method CreateWithHandle(Handle as Integer) as CGColorSpaceMBS
- shared method CreateWithICCProfile(ICCProfileData as memoryblock) as CGColorSpaceMBS
- shared method CreateWithICCProfile(ICCProfileData as string) as CGColorSpaceMBS
- shared method CreateWithName(name as string) as CGColorSpaceMBS
- shared method CreateDeviceGray as CGColorSpaceMBS
- shared method CreateDeviceRGB as CGColorSpaceMBS
- shared method CreateDeviceCMYK as CGColorSpaceMBS
- shared method CreateCalibratedGray(whitePoint() as double, blackPoint() as double, gamma as double) as CGColorSpaceMBS
- shared method CreateCalibratedRGB(whitePoint() as double, blackPoint() as double, gamma() as double, matrix() as double) as CGColorSpaceMBS
- shared method CreateLab(whitePoint() as double, blackPoint() as double, range() as double) as CGColorSpaceMBS
- shared method CreatePattern(baseSpace as CGColorSpaceMBS) as CGColorSpaceMBS
- shared method CreateWithPlatformColorSpace(Handle as integer) as 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
- property Handle as Integer
- property NumberOfGlyphs as UInt64
- property UnitsPerEm as Integer
- property Ascent as Integer
- property Descent as Integer
- property Leading as Integer
- property CapHeight as Integer
- property XHeight as Integer
- property FontBBox as CGRectMBS
- property ItalicAngle as Double
- property StemV as Double
- property PostScriptName as String
- property FullName as String
- shared method CreateWithPlatformFont(ATSFontHandle as integer) as CGFontMBS
- shared method CreateWithDataProvider(CGDataProvider as Variant) as CGFontMBS
- shared method CreateWithFontName(name as string) as CGFontMBS
- class CGFunctionMBS
- class CGGradientMBS
- property Handle as Integer
- shared method CreateWithColors(colorSpace as CGColorSpaceMBS, colors() as CGColorMBS) as CGGradientMBS
- shared method CreateWithColors(colorSpace as CGColorSpaceMBS, colors() as CGColorMBS, locations() as double) as CGGradientMBS
- shared method CreateWithColorComponents(colorSpace as CGColorSpaceMBS, components() as double) as CGGradientMBS
- shared method CreateWithColorComponents(colorSpace as CGColorSpaceMBS, components() as double, locations() as double) as CGGradientMBS
- class CGImageMBS
- method PNGData as MemoryBlock
- method JPEGData(Compression as Integer = 90) as MemoryBlock
- method RetainHandle
- method ReleaseHandle
- method Constructor
- method Picture(ColorSpace as CGColorSpaceMBS = nil) as Picture
- method PictureScaled(OutputWidth as Integer, OutputHeight as Integer, ColorSpace as CGColorSpaceMBS = nil) as Picture
- method DataProvider as Variant
- method DecodeArray as memoryblock
- method CopyWithColorSpace(profile as CGColorSpaceMBS) as CGImageMBS
- method Copy as CGImageMBS
- method Copy(r as CGRectMBS) as CGImageMBS
- method CopyWithMask(mask as CGImageMBS) as CGImageMBS
- property RenderingIntent as Integer
- property ShouldInterpolate as Boolean
- property BitsPerComponent as Integer
- property BitsPerPixel as Integer
- property BytesPerRow as Integer
- property ImageIsMask as Boolean
- property ColorSpace as CGColorSpaceMBS
- property Handle as Integer
- property Width as Integer
- property Height as Integer
- property RetainCount as Integer
- property BitmapInfo as Integer
- property AlphaInfo as Integer
- shared method CreateImageFromJPEGDataProvider(dataprovider as Variant, decode as memoryblock, shouldInterpolate as boolean, intent as integer) as CGImageMBS
- shared method CreateImageFromPNGDataProvider(dataprovider as Variant, decode as memoryblock, shouldInterpolate as boolean, intent as integer) as CGImageMBS
- shared method CreateImage(pic as picture) as CGImageMBS
- shared method CreateImage(pic as picture, mask as picture) as CGImageMBS
- shared method CreateImageWithHandle(handle as integer) as CGImageMBS
- shared method CreateImageWithFile(file as folderitem) as CGImageMBS
- class CGImageMetadataMBS
- method TagMatchingImageProperty(dictionaryName as String, propertyName as String) as Variant
- method Tags(rootPath as string, options as Dictionary = nil) as CGImageMetadataTagMBS()
- method CreateXMPData(options as Dictionary = nil) as MemoryBlock
- method StringValueWithPath(parent as CGImageMetadataTagMBS = nil, path as String) as String
- method TagWithPath(parent as CGImageMetadataTagMBS = nil, path as string) as Variant
- method Tags as CGImageMetadataTagMBS()
- method Constructor
- method Constructor(metadata as CGImageMetadataMBS)
- property Handle as Integer
- shared method CreateFromXMPData(data as MemoryBlock) as CGImageMetadataMBS
- shared method kCGImageMetadataNamespaceExif as String
- shared method kCGImageMetadataNamespaceExifAux as String
- shared method kCGImageMetadataNamespaceExifEX as String
- shared method kCGImageMetadataNamespaceDublinCore as String
- shared method kCGImageMetadataNamespaceIPTCCore as String
- shared method kCGImageMetadataNamespaceIPTCExtension as String
- shared method kCGImageMetadataNamespacePhotoshop as String
- shared method kCGImageMetadataNamespaceTIFF as String
- shared method kCGImageMetadataNamespaceXMPBasic as String
- shared method kCGImageMetadataNamespaceXMPRights as String
- shared method kCGImageMetadataPrefixExif as String
- shared method kCGImageMetadataPrefixExifAux as String
- shared method kCGImageMetadataPrefixExifEX as String
- shared method kCGImageMetadataPrefixDublinCore as String
- shared method kCGImageMetadataPrefixIPTCCore as String
- shared method kCGImageMetadataPrefixIPTCExtension as String
- shared method kCGImageMetadataPrefixPhotoshop as String
- shared method kCGImageMetadataPrefixTIFF as String
- shared method kCGImageMetadataPrefixXMPBasic as String
- shared method kCGImageMetadataPrefixXMPRights as String
- shared method kCFErrorDomainCGImageMetadata as String
- shared method kCGImageMetadataEnumerateRecursively as String
- class CGImageMetadataTagMBS
- method Constructor
- method Qualifiers as CGImageMetadataTagMBS()
- property Handle as Integer
- property Namespace_ as String
- property Prefix as String
- property Name as String
- property Type as Integer
- property Value as Variant
- shared method Create(XMLNS as String, Prefix as String, Name as String, Type as Integer, Value as Variant) as 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
- method Elements as CGPathElementMBS()
- method IsEmpty as boolean
- method Copy as CGPathMBS
- method MutableCopy as CGMutablePathMBS
- method BoundingBox as CGRectMBS
- method CurrentPoint as CGPointMBS
- method IsRect(byref rect as CGRectMBS) as boolean
- method EqualToPath(path as CGPathMBS) as boolean
- property Handle as Integer
- 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
- Several ways for picture to PDF in MBS Plugins
- Drawing with DirectDraw in Xojo
- MBS Xojo Plugins in version 19.0
- Removing 32-bit Carbon GUI classes
- Colorspaces in MacOS with Xojo
- Tip of day: Load ICC profile on OS X for any image format with CGImageSource
- MBS Xojo / Real Studio plug-ins in version 14.2
- MBS Real Studio Plugins, version 13.1fc1
- MBS REALbasic Plugins Version 10.4 release notes
- MonkeyBread Software Releases the MBS REALbasic plug-ins 8.6
Xojo Developer Magazine
- 6.6, page 8: News
- 6.4, pages 30 to 31: Creating PDF Files, How to create PDFs using the MBS Plugins by Christian Schmitz
- 17.2, page 11: News
- 13.4, page 10: News
- 12.4, page 9: News
- 12.2, page 45: Moving to AVFoundation, Leaving QuickTime behind by Christian Schmitz