#include <shpsels.h>
Public Member Functions |
|
CoreExport | ShapeVSel () |
CoreExport | ShapeVSel (ShapeVSel &from) |
CoreExport | ~ShapeVSel () |
CoreExport ShapeVSel & | operator= (ShapeVSel &from) |
CoreExport BOOL | operator== (ShapeVSel &s) |
CoreExport void | Insert (int where, int count=0) |
CoreExport void | Delete (int where) |
CoreExport void | SetSize (ShapeVSel &selset, BOOL save=FALSE) |
CoreExport void | SetSize (BezierShape &shape, BOOL save=FALSE) |
CoreExport void | SetSize (PolyShape &shape, BOOL save=FALSE) |
CoreExport BitArray & | operator[] (int index) |
CoreExport void | ClearAll () |
CoreExport void | SetAll () |
CoreExport void | Toggle () |
CoreExport void | Empty () |
CoreExport BOOL | IsCompatible (ShapeVSel &selset) |
CoreExport BOOL | IsCompatible (BezierShape &shape) |
CoreExport BOOL | IsCompatible (PolyShape &shape) |
CoreExport IOResult | Save (ISave *isave) |
CoreExport IOResult | Load (ILoad *iload) |
CoreExport bool | Delete (const unsigned int *pIndices, unsigned int n) |
Delete multiple entries at once. |
|
Public Attributes |
|
int | polys |
BitArray * | sel |
CoreExport ShapeVSel | ( | ) |
CoreExport ~ShapeVSel | ( | ) |
CoreExport BOOL operator== | ( | ShapeVSel & | s | ) |
CoreExport void Insert | ( | int | where, |
int | count = 0 |
||
) |
CoreExport void Delete | ( | int | where | ) |
CoreExport void SetSize | ( | ShapeVSel & | selset, |
BOOL | save = FALSE |
||
) |
CoreExport void SetSize | ( | BezierShape & | shape, |
BOOL | save = FALSE |
||
) |
CoreExport void SetSize | ( | PolyShape & | shape, |
BOOL | save = FALSE |
||
) |
CoreExport BitArray& operator[] | ( | int | index | ) |
CoreExport void ClearAll | ( | ) |
CoreExport void SetAll | ( | ) |
CoreExport void Toggle | ( | ) |
CoreExport void Empty | ( | ) |
CoreExport BOOL IsCompatible | ( | ShapeVSel & | selset | ) |
CoreExport BOOL IsCompatible | ( | BezierShape & | shape | ) |
CoreExport BOOL IsCompatible | ( | PolyShape & | shape | ) |
CoreExport bool Delete | ( | const unsigned int * | pIndices, |
unsigned int | n | ||
) |
Delete multiple entries at once.
Deleting multiple entries at once is faster than deleting one by one by calling Delete(), because the internal bookkeeping only needs to be done once.
[in] | indices | Point to an array of indices to delete. Indices should be unique, and sorted in ascending order. |
[in] | n | Number of entries in the indices array. |