wxMaxima
Loading...
Searching...
No Matches
pdfspotcolour.h
Go to the documentation of this file.
1
2// Name: pdfspotcolour.h
3// Purpose:
4// Author: Ulrich Telle
5// Created: 2009-05-25
6// Copyright: (c) Ulrich Telle
7// Licence: wxWindows licence
9
11
12#ifndef _PDF_SPOT_COLOUR_H_
13#define _PDF_SPOT_COLOUR_H_
14
15// wxWidgets headers
16
17// wxPdfDocument headers
18#include "wx/pdfdocdef.h"
19
21class WXDLLIMPEXP_PDFDOC wxPdfSpotColour
22{
23public:
25
32 wxPdfSpotColour(int index, double cyan, double magenta, double yellow, double black);
33
35
38 wxPdfSpotColour(const wxPdfSpotColour& colour);
39
41
44 void SetObjIndex(int index) { m_objIndex = index; }
45
47
50 int GetObjIndex() const { return m_objIndex; }
51
53
56 int GetIndex() const { return m_index; }
57
59
62 double GetCyan() const { return m_cyan; }
63
65
68 double GetMagenta() const { return m_magenta; }
69
71
74 double GetYellow() const { return m_yellow; }
75
77
80 double GetBlack() const { return m_black; }
81
82private:
83 int m_objIndex;
84 int m_index;
85 double m_cyan;
86 double m_magenta;
87 double m_yellow;
88 double m_black;
89};
90
91#endif
Class representing spot colours.
Definition: pdfspotcolour.h:22
double GetMagenta() const
Get magenta level.
Definition: pdfspotcolour.h:68
int GetIndex() const
Get spot colour index.
Definition: pdfspotcolour.h:56
double GetCyan() const
Get cyan level.
Definition: pdfspotcolour.h:62
int GetObjIndex() const
Get object index.
Definition: pdfspotcolour.h:50
double GetYellow() const
Get yellow level.
Definition: pdfspotcolour.h:74
void SetObjIndex(int index)
Set object index.
Definition: pdfspotcolour.h:44
double GetBlack() const
Get black level.
Definition: pdfspotcolour.h:80
Compile time switches for the wxPdfDocument component.