Platforms to show: All Mac Windows Linux Cross-Platform
CGPointMBS.ApplyAffineTransform(p as CGAffineTransformMBS) as CGPointMBS
Function:
Transform 'point' by 't' and return the result: p' = p * t where p = [ x y 1 ].
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.4 | Yes | No | No | Yes | All |
CGPointMBS.Binary as MemoryBlock
Function:
Returns the internal data of the object as a CGPoint for use on Toolbox calls.
Example:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | Yes | No | No | Yes | All |
Example:
dim c as CGPointMBS
dim m as MemoryBlock
c=CGMakePointMBS(10,20)
m=c.Binary
MsgBox str(m.Size) // 8
MsgBox str(m.doubleValue( 0)) // 10
MsgBox str(m.doubleValue( 4)) // 20
CGPointMBS.Constructor
Function:
Creates a new point object with the given values.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 9.5 | Yes | No | No | Yes | All |
See also:
CGPointMBS.Constructor(p as Ptr)
Function:
Creates a new instance using data at the pointer.
Notes: Make sure the pointer is valid and has the right data and size.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 17.1 | Yes | No | No | Yes | All |
Notes: Make sure the pointer is valid and has the right data and size.
See also:
CGPointMBS.Constructor(source as CGPointMBS)
Function:
Creates a new point object with the given values.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 9.5 | Yes | No | No | Yes | All |
See also:
CGPointMBS.Constructor(x as Double, y as Double)
Function:
Creates a new point object with the given values.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 9.5 | Yes | No | No | Yes | All |
See also:
CGPointMBS.Equal(p as CGPointMBS) as boolean
Function:
Returns true if both points are equal.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | Yes | No | No | Yes | All |
The items on this page are in the following plugins: MBS MacCG Plugin.

Links
MBS Xojo Chart Plugins