Class representing a coons patch mesh.
More...
#include <pdfcoonspatchmesh.h>
List of all members.
Detailed Description
Class representing a coons patch mesh.
Constructor & Destructor Documentation
wxPdfCoonsPatchMesh::wxPdfCoonsPatchMesh |
( |
| ) |
|
virtual wxPdfCoonsPatchMesh::~wxPdfCoonsPatchMesh |
( |
| ) |
|
|
virtual |
Member Function Documentation
bool wxPdfCoonsPatchMesh::AddPatch |
( |
int |
edgeFlag, |
|
|
wxPdfColour |
colours[], |
|
|
double |
x[], |
|
|
double |
y[] |
|
) |
| |
Add patch to mesh.
- Parameters:
-
edgeFlag | flag indicating the patch position relative to previous patches
- 0 - new patch, unrelated to previous patches (the first patch added must have this flag)
- 1 - above previous patch
- 2 - right to previous patch
- 3 - below previous patch
|
colours | array of colours of this patch (size: 4 if edge flag is 1, 2 otherwise) |
x | array of x coordinates of patch mesh points (size: 12 if edge flag is 1, 8 otherwise) |
y | array of y coordinates of patch mesh points (size: 12 if edge flag is 1, 8 otherwise) |
- Returns:
- true if the added patch is valid
Get colour type of the coons patch mesh.
- Returns:
- the colour type of the coons patch mesh (gray scale, RGB or CMYK)
size_t wxPdfCoonsPatchMesh::GetPatchCount |
( |
| ) |
const |
|
inline |
Get the number of patches.
- Returns:
- the number of patches of the coons patch mesh
const wxArrayPtrVoid* wxPdfCoonsPatchMesh::GetPatches |
( |
| ) |
const |
|
inline |
Get the array of patches.
- Returns:
- array of patches
bool wxPdfCoonsPatchMesh::Ok |
( |
| ) |
const |
|
inline |
Checks whether the coons patch mesh is valid.
- Returns:
- TRUE if the coons patch mesh is valid, FALSE otherwise
The documentation for this class was generated from the following file: