Class representing a coons patch mesh. More...
#include <pdfcoonspatchmesh.h>
Public Member Functions | |
| wxPdfCoonsPatchMesh () | |
| Constructor. | |
| virtual | ~wxPdfCoonsPatchMesh () |
| Destructor. | |
| bool | AddPatch (int edgeFlag, wxPdfColour colours[], double x[], double y[]) |
| Add patch to mesh. | |
| bool | Ok () const |
| Checks whether the coons patch mesh is valid. | |
| wxPdfColourType | GetColourType () const |
| Get colour type of the coons patch mesh. | |
| size_t | GetPatchCount () const |
| Get the number of patches. | |
| const wxArrayPtrVoid * | GetPatches () const |
| Get the array of patches. | |
Class representing a coons patch mesh.
| wxPdfCoonsPatchMesh::wxPdfCoonsPatchMesh | ( | ) |
Constructor.
| virtual wxPdfCoonsPatchMesh::~wxPdfCoonsPatchMesh | ( | ) | [virtual] |
Destructor.
| bool wxPdfCoonsPatchMesh::AddPatch | ( | int | edgeFlag, |
| wxPdfColour | colours[], | ||
| double | x[], | ||
| double | y[] | ||
| ) |
Add patch to mesh.
| edgeFlag | flag indicating the patch position relative to previous patches
|
| 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) |
| wxPdfColourType wxPdfCoonsPatchMesh::GetColourType | ( | ) | const [inline] |
Get colour type of the coons patch mesh.
| size_t wxPdfCoonsPatchMesh::GetPatchCount | ( | ) | const [inline] |
Get the number of patches.
| const wxArrayPtrVoid* wxPdfCoonsPatchMesh::GetPatches | ( | ) | const [inline] |
Get the array of patches.
| bool wxPdfCoonsPatchMesh::Ok | ( | ) | const [inline] |
Checks whether the coons patch mesh is valid.
1.7.2