Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CGSizeMBS.ApplyAffineTransform(p as CGAffineTransformMBS) as CGSizeMBS
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 'size' by 't' and return the result: s' = s * t where s = [ width height 0 ].

Feedback, Comments & Corrections

CGSizeMBS.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 CGSize for use on Toolbox calls.
Example:
dim c as CGSizeMBS
dim m as MemoryBlock

c=CGMakeSizeMBS(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

CGSizeMBS.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 an zero size object.

See also:

Feedback, Comments & Corrections

CGSizeMBS.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

CGSizeMBS.Constructor(source as CGSizeMBS)
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: The constructor which copies the values from the other size object.

See also:

Feedback, Comments & Corrections

CGSizeMBS.Constructor(width as Double, height 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 size object with the given values.

See also:

Feedback, Comments & Corrections

CGSizeMBS.Equal(p as CGSizeMBS) 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 two CGSize objects are equal.

Feedback, Comments & Corrections

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





Links
MBS Xojo Chart Plugins