#include <shpsels.h>
Public Member Functions |
|
CoreExport | ShapeSSel () |
CoreExport | ShapeSSel (ShapeSSel &from) |
CoreExport | ~ShapeSSel () |
CoreExport ShapeSSel & | operator= (ShapeSSel &from) |
CoreExport BOOL | operator== (ShapeSSel &s) |
CoreExport void | Insert (int where, int count=0) |
CoreExport void | Delete (int where) |
CoreExport void | SetSize (ShapeSSel &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 (ShapeSSel &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 ShapeSSel | ( | ) |
CoreExport ~ShapeSSel | ( | ) |
CoreExport BOOL operator== | ( | ShapeSSel & | s | ) |
CoreExport void Insert | ( | int | where, |
int | count = 0 |
||
) |
CoreExport void Delete | ( | int | where | ) |
CoreExport void SetSize | ( | ShapeSSel & | 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 | ( | ShapeSSel & | 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. |