Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CGPathMBS.BoundingBox as CGRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 8.0 Yes No No Yes, macOS only No
Function: Return the bounding box of path.
Notes: The bounding box is the smallest rectangle completely enclosing all points in the path, including control points for Bezier and quadratic curves. If the path is empty, then return (0,0,0,0).

Feedback, Comments & Corrections

CGPathMBS.Copy as CGPathMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 8.0 Yes No No Yes, macOS only No
Function: Creates a copy of the path.
Notes: Returns nil on any error.

Feedback, Comments & Corrections

CGPathMBS.CurrentPoint as CGPointMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 8.0 Yes No No Yes, macOS only No
Function: Return the current point of the current subpath of path.
Notes: If there is no current point, then return (0,0).

Feedback, Comments & Corrections

CGPathMBS.Elements as CGPathElementMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 15.1 Yes No No Yes, macOS only No
Function: Queries all the elements in a CGPath.
Example:
dim m as new CGMutablePathMBS

m.MoveToPoint nil, 10, 10
m.AddLineToPoint nil, 20, 30

dim e() as CGPathElementMBS = m.Elements
Break // see in debugger

Feedback, Comments & Corrections

CGPathMBS.EqualToPath(path as CGPathMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 8.0 Yes No No Yes, macOS only No
Function: Return true if the path self is equal to path; false otherwise.
Notes: Returns false if the path is nil.

Feedback, Comments & Corrections

CGPathMBS.IsEmpty as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 8.0 Yes No No Yes, macOS only No
Function: Return true if path contains no elements, false otherwise.

Feedback, Comments & Corrections

CGPathMBS.IsRect(byref rect as CGRectMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 8.0 Yes No No Yes, macOS only No
Function: Return true if path represents a rectangle, false otherwise.

Feedback, Comments & Corrections

CGPathMBS.MutableCopy as CGMutablePathMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics MBS MacCG Plugin 8.0 Yes No No Yes, macOS only No
Function: Create a mutable copy of path.
Notes: Returns nil on any error.

Feedback, Comments & Corrections

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





Links
MBS FileMaker Plugins