Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

NSAffineTransformMBS.CGAffineTransformToNSAffineTransform(CGAffineTransform as Variant) as NSAffineTransformMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS Main Plugin 15.1 Yes No No Yes, macOS only No
Function: Converts NSAffineTransformMBS to CGAffineTransformMBS.
Example:
dim n as new NSAffineTransformMBS(1,2,3,4,5,6)
dim c as CGAffineTransformMBS = NSAffineTransformMBS.NSAffineTransformToCGAffineTransform(n)
dim r as NSAffineTransformMBS = NSAffineTransformMBS.CGAffineTransformToNSAffineTransform(c)

Break // check in debugger
Notes: To reduce plugin interdependencies, the parameter is declared as Variant and not as CGAffineTransformMBS.

Feedback, Comments & Corrections

NSAffineTransformMBS.NSAffineTransformToCGAffineTransform(NSAffineTransform as NSAffineTransformMBS) as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS Main Plugin 15.1 Yes No No Yes, macOS only No
Function: Converts NSAffineTransformMBS to CGAffineTransformMBS.
Example:
dim n as new NSAffineTransformMBS(1,2,3,4,5,6)
dim c as CGAffineTransformMBS = NSAffineTransformMBS.NSAffineTransformToCGAffineTransform(n)
dim r as NSAffineTransformMBS = NSAffineTransformMBS.CGAffineTransformToNSAffineTransform(c)

Break // check in debugger
Notes: To reduce plugin interdependencies, the result is declared as Variant and not as CGAffineTransformMBS.

Feedback, Comments & Corrections

NSAffineTransformMBS.transform as NSAffineTransformMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS Main Plugin 12.5 Yes No No Yes, macOS only No
Function: Creates and returns a new NSAffineTransform object initialized to the identity matrix.
Example:
dim a as NSAffineTransformMBS = NSAffineTransformMBS.transform
MsgBox str(a.m11)+", "+str(a.m12)+", "+str(a.m21)+", "+str(a.m22)+", "+str(a.tx)+", "+str(a.ty)
Notes: This matrix transforms any point to the same point.

Feedback, Comments & Corrections

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




Links
MBS Xojo Chart Plugins