Foxit PDF SDK
|
An array of PointF objects. More...
Public Member Functions | |
PointFArray () | |
Construct a simple object. | |
PointFArray (PointFArray other) | |
Constructor, with another array object. More... | |
bool | Add (PointF newElement) |
Add an element at the tail. Potentially growing the array. More... | |
int | Find (PointF data, int iStart) |
Find an element from specified position to last. More... | |
PointF | GetAt (int nIndex) |
This method retrieves an element specified by an index number. More... | |
int | GetSize () |
Get the number of elements in the array. More... | |
int | GetUpperBound () |
Get the upper bound in the array, actually the maximum valid index. More... | |
bool | InsertAt (int nIndex, PointF newElement, int nCount) |
Inset one or more continuous element at specified position. More... | |
bool | InsertAt (int nStartIndex, BasicArray pNewArray) |
Inset an array at specified position. More... | |
void | RemoveAll () |
Clean up the array. More... | |
bool | RemoveAt (int nIndex, int nCount) |
Remove a number of elements at specified position. More... | |
bool | SetAt (int nIndex, PointF newElement) |
This method overwrites an element specified by an index number. More... | |
bool | SetAtGrow (int nIndex, PointF newElement) |
Set an element value at specified position. Potentially growing the array. More... | |
bool | SetSize (int nNewSize, int nGrowBy) |
Change the allocated size and the grow amount. More... | |
An array of PointF objects.
|
inline |
Constructor, with another array object.
[in] | other | Another array object. |
|
inline |
Add an element at the tail. Potentially growing the array.
[in] | newElement | The input element. |
|
inline |
Find an element from specified position to last.
[in] | data | The input element. |
[in] | iStart | Specifies the zero-based index of start element to find. |
|
inline |
This method retrieves an element specified by an index number.
[in] | nIndex | Specifies the zero-based index of the element. |
|
inline |
Get the number of elements in the array.
|
inline |
Get the upper bound in the array, actually the maximum valid index.
|
inline |
Inset one or more continuous element at specified position.
[in] | nIndex | Specifies the zero-based index in the array. |
[in] | newElement | Specifies the element value to insert. |
[in] | nCount | Specifies the count of the element to insert. |
|
inline |
Inset an array at specified position.
[in] | nStartIndex | Specifies the zero-based index of start element to insert at. |
[in] | pNewArray | The input array. |
|
inline |
Clean up the array.
|
inline |
Remove a number of elements at specified position.
[in] | nIndex | Specifies the zero-based index in the array. |
[in] | nCount | Specifies the count of element to remove. |
|
inline |
This method overwrites an element specified by an index number.
[in] | nIndex | Specifies the zero-based index of the element. |
[in] | newElement | An element. |
|
inline |
Set an element value at specified position. Potentially growing the array.
[in] | nIndex | Specifies the zero-based index of element in the array. |
[in] | newElement | The input element. |
|
inline |
Change the allocated size and the grow amount.
[in] | nNewSize | The new size in elements expected. |
[in] | nGrowBy | The grow amount in elements expected. This can be -1 for the grow amount unchanged. |