Platforms to show: All Mac Windows Linux Cross-Platform
CGPointMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreGraphics | MBS MacCG Plugin | 2.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
- 2 properties
- 7 methods
- method ApplyAffineTransform(p as CGAffineTransformMBS) as CGPointMBS
- method Binary as MemoryBlock
- method Constructor
- method Constructor(p as Ptr)
- method Constructor(source as CGPointMBS)
- method Constructor(x as Double, y as Double)
- method Equal(p as CGPointMBS) as boolean
- 2 shared methods
This class has no sub classes.
Some useful global functions for this class:
- CGMakePointMBS(x as Double, y as Double) as CGPointMBS
- 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
Some methods using this class:
- CGContextMBS.DrawLayerAtPoint(Point as CGPointMBS, layer as CGLayerMBS)
- CGContextMBS.DrawLinearGradient(gradient as CGGradientMBS, startPoint as CGPointMBS, endPoint as CGPointMBS, options as Integer)
- CGDisplayMBS.GetDisplaysWithPoint(cgpoint as CGPointMBS) as CGDisplayMBS()
- CGMutablePathMBS.ContainsPoint(transform as CGAffineTransformMBS, point as CGPointMBS, eoFill as boolean) as boolean
- CGRectMBS.ContainsPoint(r as CGPointMBS) as boolean
- CIVectorMBS.CGPointValue as CGPointMBS
- CTRunMBS.Positions as CGPointMBS()
- SCNViewMBS.hitTest(Point as CGPointMBS, Options as Dictionary = nil) as SCNHitTestResultMBS()
- VisionModuleMBS.ImagePointForNormalizedPoint(normalizedPoint as CGPointMBS, imageWidth as Integer, imageHeight as Integer) as CGPointMBS
- VNFaceLandmarkRegion2DMBS.normalizedPoints as CGPointMBS()
Some properties using for this class:
- AVCaptureDeviceMBS.focusPointOfInterest as CGPointMBS
- CGRectMBS.Origin as CGPointMBS
- CIQRCodeFeatureMBS.bottomLeft as CGPointMBS
- CIQRCodeFeatureMBS.topRight as CGPointMBS
- CIRectangleFeatureMBS.bottomLeft as CGPointMBS
- CITextFeatureMBS.bottomRight as CGPointMBS
- CITextFeatureMBS.topRight as CGPointMBS
- VNRectangleObservationMBS.bottomRight as CGPointMBS
- VNRectangleObservationMBS.topLeft as CGPointMBS
- VNRectangleObservationMBS.topRight as CGPointMBS
Some examples using this class:
- /AVFoundation/Device List
- /Mac64bit/SceneKit/Change Backgroundcolor by Click
- /MacCG/CG Ovals
- /MacCG/CGGradient test
- /MacCG/CoreGraphics PDF/PDF with paths
- /MacCG/CoreGraphics PDF/PDF with paths and gradient
- /MacCG/CoreText/CoreText Test
- /MacCG/FaceDetection
- /MacCG/Quartz Gradients
- /MacFrameworks/Vision Object Detection/Vision Object Detection
Blog Entries
- Basic Forms in MBS Xojo SceneKit Plugin
- MBS Real Studio Plugins, version 12.0pr6
- MBS REALbasic plug-ins version 9.5
The items on this page are in the following plugins: MBS MacCG Plugin.
CGPDFStringMBS - CGPSConverterMBS

Links
MBS Xojo tutorial videos