Platforms to show: All Mac Windows Linux Cross-Platform

The module ClipperMBS

module ClipperMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
module Clipper MBS Tools Plugin 18.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The central module for Clipper library methods.
Example
// calculate the area of a polygon and move it with the Clipper library
Var points() As ClipperPointMBS
points.Add New ClipperPointMBS(0, 0)
points.Add New ClipperPointMBS(100, 0)
points.Add New ClipperPointMBS(100, 50)
points.Add New ClipperPointMBS(0, 50)
Var path As New ClipperPathMBS(points)

Var moved As ClipperPathMBS = ClipperMBS.TranslatePath(path, 10, 20)
MessageBox "Area: " + ClipperMBS.Area(path).ToString + ", moved area: " + ClipperMBS.Area(moved).ToString // 5000

Constants

Constant Value Description
hiRange &h3FFFFFFFFFFFFFFF The higher range.
loRange &h3FFFFFFF The lower range.

Some examples which use this module:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 18.0

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


The biggest plugin in space...