Multipolygon Home

Multipolygon object is a list of polygons. It is used to display filled shapes. It can be drawn in a window with the function lcPaint_DrawMpgon .

These are the functions used to manage multipolygon object:

Function Meaning
lcPaint_CreateMpgon Creates multipolygon object
lcPaint_DeleteMpgon Deletes multipolygon object
lcPaint_MpgonClear Removes all polygons
lcPaint_MpgonAddPgon Adds new polygon from points buffer
lcPaint_MpgonAddText Adds text polygons
lcPaint_MpgonAddBarcode Adds barcode polygons
lcPaint_MpgonMove Moves multipolygon
lcPaint_MpgonRotate Rotates multipolygon
lcPaint_MpgonScale Scales multipolygon
lcPaint_MpgonMirror Mirrors multipolygon
lcPaint_MpgonCopy Copies multipolygon

This are properties of a multipolygon object:

Property Type Access Meaning
LC_PROP_MPGON_XMIN float R X min
LC_PROP_MPGON_YMIN float R Y min
LC_PROP_MPGON_XMAX float R X max
LC_PROP_MPGON_YMAX float R Y max
LC_PROP_MPGON_XCEN float R X of extents center
LC_PROP_MPGON_YCEN float R Y of extents center
LC_PROP_MPGON_W float R Width of extents rect
LC_PROP_MPGON_H float R Height of extents rect