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

Class representing spot colours. More...

#include <pdfspotcolour.h>

Public Member Functions

 wxPdfSpotColour (int index, double cyan, double magenta, double yellow, double black)
 Constructor for spot colour.
 wxPdfSpotColour (const wxPdfSpotColour &colour)
 Copy constructor.
void SetObjIndex (int index)
 Set object index.
int GetObjIndex () const
 Get object index.
int GetIndex () const
 Get spot colour index.
double GetCyan () const
 Get cyan level.
double GetMagenta () const
 Get magenta level.
double GetYellow () const
 Get yellow level.
double GetBlack () const
 Get black level.

Detailed Description

Class representing spot colours.

Constructor & Destructor Documentation

◆ wxPdfSpotColour() [1/2]

wxPdfSpotColour::wxPdfSpotColour ( int index,
double cyan,
double magenta,
double yellow,
double black )

Constructor for spot colour.

Parameters
indexThe spot colour index
cyanThe cyan component (0.0 to 100.0)
magentaThe magenta component (0.0 to 100.0)
yellowThe yellow component (0.0 to 100.0)
blackThe black component (0.0 to 100.0)

◆ wxPdfSpotColour() [2/2]

wxPdfSpotColour::wxPdfSpotColour ( const wxPdfSpotColour & colour)

Copy constructor.

Parameters
colourThe spot colour to copy

Member Function Documentation

◆ GetBlack()

double wxPdfSpotColour::GetBlack ( ) const
inline

Get black level.

Returns
The black component

◆ GetCyan()

double wxPdfSpotColour::GetCyan ( ) const
inline

Get cyan level.

Returns
The cyan component

◆ GetIndex()

int wxPdfSpotColour::GetIndex ( ) const
inline

Get spot colour index.

Returns
The spot colour index

◆ GetMagenta()

double wxPdfSpotColour::GetMagenta ( ) const
inline

Get magenta level.

Returns
The magenta component

◆ GetObjIndex()

int wxPdfSpotColour::GetObjIndex ( ) const
inline

Get object index.

Returns
The object index

◆ GetYellow()

double wxPdfSpotColour::GetYellow ( ) const
inline

Get yellow level.

Returns
The yellow component

◆ SetObjIndex()

void wxPdfSpotColour::SetObjIndex ( int index)
inline

Set object index.

Parameters
indexThe object index

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