Documentation | Samples | ShapeOperations
ShapeOperations sample - Interactive geometry transformation of vector shapes.
What the sample shows:
This sample illustrates use of:
| Name | Description |
|---|---|
| TGIS_Shape.Centroid | Calculates the geometric centroid of the shape. |
| TGIS_Shape.Transform | Transforms shape geometry using a 3×3 matrix and translation vector, returning a new transformed shape. |
| TGIS_Shape.CopyGeometry | Replaces this shape's geometry with geometry copied from another shape. |
| TGIS_Shape.CreateCopy | Create an independent deep copy of the shape geometry, attributes, and style state. |
| TGIS_Layer.CachedPaint | False if the layer must be painted directly, bypassing the cache. |
| TGIS_ViewerWnd.InvalidateTopmost | Invalidate only topmost layers. |
| TGIS_viewerWnd.InvalidateWholeMap | Invalidate whole map. |
This sample is available on the following platforms (click to view the source code on GitHub):