![]() |
PDFix SDK
7.2.0
|
#include <pdfix.h>
Public Member Functions | |
virtual PdfColorSpace * | GetColorSpace ()=0 |
Gets the color space. More... | |
virtual void | SetColorSpace (PdfColorSpace *color_space)=0 |
Sets the the color space. More... | |
virtual float | GetValue (int index) const =0 |
Gets the specific value of the color at index. More... | |
virtual void | SetValue (int index, float value)=0 |
Sets the specific value of the color at index. More... | |
virtual bool | GetRGB (PdfRGB *rgb) const =0 |
Convinience function to get RGB values of the color. More... | |
virtual bool | GetCMYK (PdfCMYK *cmyk) const =0 |
Convinience function to get CMYK values of the color. More... | |
virtual bool | GetGrayscale (PdfGray *gray) const =0 |
Convinience function to get gray value of the color. More... | |
virtual void | Destroy ()=0 |
Destroys color's resources. More... | |
|
pure virtual |
Destroys color's resources.
|
pure virtual |
Convinience function to get CMYK values of the color.
cmyk | CMYK structure that will be filled by the function. |
|
pure virtual |
Gets the color space.
|
pure virtual |
Convinience function to get gray value of the color.
gray | Grayscale structure that will be filled by the function. |
|
pure virtual |
Convinience function to get RGB values of the color.
rgb | RGB structure that will be filled by the function. |
|
pure virtual |
Gets the specific value of the color at index.
index | Must be smaller than components count of the colorspace. |
|
pure virtual |
Sets the the color space.
color_space | Color space to be set. Must not be nullptr. |
|
pure virtual |
Sets the specific value of the color at index.
index | Must be smaller than components count of the colorspace. |
value | New value to be set. |