Platforms to show: All Mac Windows Linux Cross-Platform
Back to CGContextMBS class.
CGContextMBS.IsPathEmpty as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreGraphics | MBS MacCG Plugin | 2.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGContextMBS.MoveToPoint(x as Double, y as Double)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreGraphics | MBS MacCG Plugin | 2.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGContextMBS.paintArc(x as Double, y as Double, w as Double, h as Double, startAngle as Integer, arcAngle as Integer)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreGraphics | MBS MacCG Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
angles are in degree.
CGContextMBS.paintOval(x as Double, y as Double, w as Double, h as Double)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreGraphics | MBS MacCG Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGContextMBS.paintRect(x as Double, y as Double, w as Double, h as Double)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreGraphics | MBS MacCG Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGContextMBS.PathContainsPoint(point as CGPointMBS, mode as Integer) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreGraphics | MBS MacCG Plugin | 8.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A point is contained within a contexts path if it is inside the painted region when the path is stroked or filled with opaque colors using the path drawing mode mode. point is specified is user space.
Requires Mac OS X 10.4.
CGContextMBS.ReplacePathWithStrokedPath
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreGraphics | MBS MacCG Plugin | 8.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The resulting path is created such that filling it with the appropriate color will produce the same results as stroking the original path. You can use this path in the same way you can use the path of any context; for example, you can clip to the stroked version of a path by calling this function followed by a call to "ClipPath".
Requires Mac OS X 10.4.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreGraphics | MBS MacCG Plugin | 2.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
- /GraphicsMagick/GraphicsMagick/SVG Test/SVG Rastor
- /MacCG/CG Ovals
- /MacCG/CG Ovals with PDF in memory
- /MacCG/CGGradient test
- /MacCG/CoreGraphics PDF/PDF Text
- /MacCG/CoreGraphics PDF/PDF using Save and Restore
- /MacCG/CoreText/CoreText Dynamic Text Height
- /MacCG/CoreText/CoreText Test
- /MacCG/Print PDF with CoreGraphics/Print PDF with CoreGraphics
- /MacCG/Quartz Gradients
CGContextMBS.RotateCTM(angle as Double)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreGraphics | MBS MacCG Plugin | 2.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
CGContextMBS.TextMatrix as CGAffineTransformMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreGraphics | MBS MacCG Plugin | 4.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
(Read and Write computed property)
CGContextMBS.TextPosition as CGPointMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | CoreGraphics | MBS MacCG Plugin | 2.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read and Write computed property)
Some examples using this property:
CGContextMBS.TranslateCTM(tx as Double, ty as Double)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | CoreGraphics | MBS MacCG Plugin | 2.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
- /MacCG/CG Ovals
- /MacCG/CG Ovals with PDF in memory
- /MacCG/CoreGraphics Bitmap
- /MacCG/CoreGraphics PDF/PDF Text
- /MacCG/CoreGraphics PDF/PDF using Save and Restore
- /MacCG/CoreGraphics PDF/PDF with paths
- /MacCG/CoreGraphics PDF/PDF with paths and gradient
- /MacCG/Print PDF with CoreGraphics/Print PDF with CoreGraphics
- /MacCG/Rotate PDF Page
- /MacFrameworks/MapKit/MapKit Test
The items on this page are in the following plugins: MBS MacCG Plugin.