Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CGPointMBS.ApplyAffineTransform(p as CGAffineTransformMBS) as CGPointMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 3.4 Yes No No Yes, macOS only No
Function: Transform 'point' by 't' and return the result: p' = p * t where p = [ x y 1 ].

Feedback, Comments & Corrections

CGPointMBS.Binary as MemoryBlock
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 3.2 Yes No No Yes, macOS only No
Function: Returns the internal data of the object as a CGPoint for use on Toolbox calls.
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

Feedback, Comments & Corrections

CGPointMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Creates a new point object with the given values.

See also:

Feedback, Comments & Corrections

CGPointMBS.Constructor(p as Ptr)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 17.1 Yes No No Yes, macOS only No
Function: Creates a new instance using data at the pointer.
Notes: Make sure the pointer is valid and has the right data and size.

See also:

Feedback, Comments & Corrections

CGPointMBS.Constructor(source as CGPointMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Creates a new point object with the given values.

See also:

Feedback, Comments & Corrections

CGPointMBS.Constructor(x as Double, y as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Creates a new point object with the given values.

See also:

Feedback, Comments & Corrections

CGPointMBS.Equal(p as CGPointMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 3.2 Yes No No Yes, macOS only No
Function: Returns true if both points are equal.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS MacCG Plugin.




Links
MBS Xojo PDF Plugins