wxPdfDocument  1.4.0
Library for generating PDF documents from wxWidgets applications
Loading...
Searching...
No Matches
wxPdfCoonsPatch Class Reference

Class representing a coons patch. (For internal use only). More...

#include <pdfgradient.h>

Public Member Functions

 wxPdfCoonsPatch (int edgeFlag, wxPdfColour colours[], double x[], double y[])
 Constructor.
virtual ~wxPdfCoonsPatch ()
 Destructor.
int GetEdgeFlag ()
 Get the edge flag.
wxPdfColourGetColours ()
 Get the colour array.
double * GetX ()
 Get the array of x coordinates.
double * GetY ()
 Get the array of y coordinates.

Detailed Description

Class representing a coons patch. (For internal use only).

Constructor & Destructor Documentation

◆ wxPdfCoonsPatch()

wxPdfCoonsPatch::wxPdfCoonsPatch ( int edgeFlag,
wxPdfColour colours[],
double x[],
double y[] )

Constructor.

Parameters
edgeFlagThe edge flag
coloursThe array of 4 colours
xThe array of 12 X coordinates
yThe array of 12 Y coordinates

◆ ~wxPdfCoonsPatch()

virtual wxPdfCoonsPatch::~wxPdfCoonsPatch ( )
virtual

Destructor.

Member Function Documentation

◆ GetColours()

wxPdfColour * wxPdfCoonsPatch::GetColours ( )
inline

Get the colour array.

Returns
The array of colours

◆ GetEdgeFlag()

int wxPdfCoonsPatch::GetEdgeFlag ( )
inline

Get the edge flag.

Returns
The edge flag

◆ GetX()

double * wxPdfCoonsPatch::GetX ( )
inline

Get the array of x coordinates.

Returns
The array of X coordinates

◆ GetY()

double * wxPdfCoonsPatch::GetY ( )
inline

Get the array of y coordinates.

Returns
The array of Y coordinates

The documentation for this class was generated from the following file: