|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Implementation of TPalette, an encapsulation of the GDI Palette object. More...
#include <owl/pch.h>#include <owl/defs.h>#include <owl/gdiobjec.h>#include <owl/clipboar.h>#include <owl/file.h>#include <owl/filename.h>#include <memory.h>#include <pshpack1.h>#include <poppack.h>Go to the source code of this file.
Namespaces | |
| namespace | owl |
| Object Windows Library (OWLNext Core) | |
Macros | |
| #define | CMYK(c, m, y, k) (static_cast<COLORREF>((((BYTE)(c)|((WORD)((BYTE)(m))<<8))|(((DWORD)(BYTE)(y))<<16))|(((DWORD)(BYTE)(k))<<24))) |
| #define | GetCValue(cmyk) ((BYTE)(cmyk)) |
| #define | GetMValue(cmyk) ((BYTE)((cmyk)>> 8)) |
| #define | GetYValue(cmyk) ((BYTE)((cmyk)>>16)) |
| #define | GetKValue(cmyk) ((BYTE)((cmyk)>>24)) |
Functions | |
| owl::DIAG_DECLARE_GROUP (OwlGDI) | |
| owl::DIAG_DECLARE_GROUP (OwlGDIOrphan) | |
| void | owl::HSL_to_RGB (double &h, double &sl, double &l, double *r, double *g, double *b) |
| convert HSL to RGB | |
Implementation of TPalette, an encapsulation of the GDI Palette object.
Definition in file palette.cpp.
| #define CMYK | ( | c, | |
| m, | |||
| y, | |||
| k ) (static_cast<COLORREF>((((BYTE)(c)|((WORD)((BYTE)(m))<<8))|(((DWORD)(BYTE)(y))<<16))|(((DWORD)(BYTE)(k))<<24))) |
Definition at line 492 of file palette.cpp.