1
///////////////////////////////////////////////////////////////////////////////
2
// Name: pdfspotcolour.h
4
// Author: Ulrich Telle
7
// Copyright: (c) Ulrich Telle
8
// Licence: wxWindows licence
9
///////////////////////////////////////////////////////////////////////////////
11
/// \file pdfspotcolour.h Interface of the spot colour class
13
#ifndef _PDF_SPOT_COLOUR_H_
14
#define _PDF_SPOT_COLOUR_H_
18
// wxPdfDocument headers
19
#include "wx/pdfdocdef.h"
21
/// Class representing spot colours.
22
class WXDLLIMPEXP_PDFDOC wxPdfSpotColour
25
/// Constructor for spot colour
26
wxPdfSpotColour(int index, double cyan, double magenta, double yellow, double black);
29
wxPdfSpotColour(const wxPdfSpotColour& colour);
32
void SetObjIndex(int index) { m_objIndex = index; }
35
int GetObjIndex() const { return m_objIndex; }
37
/// Get spot colour index
38
int GetIndex() const { return m_index; }
41
double GetCyan() const { return m_cyan; }
44
double GetMagenta() const { return m_magenta; }
47
double GetYellow() const { return m_yellow; }
50
double GetBlack() const { return m_black; }
53
int m_objIndex; ///< object index
54
int m_index; ///< colour index
55
double m_cyan; ///< cyan level
56
double m_magenta; ///< magenta level
57
double m_yellow; ///< yellow level
58
double m_black; ///< black level