Go to the source code of this file.
◆ odcmAcadDarkPalette()
Gets the palette for a dark background.
- Returns
- The palette for the dark background.
◆ odcmAcadDynamicPalette()
Gets the palette for a given background.
- Returns
- The palette for the given background.
◆ odcmAcadLightPalette()
Gets the palette for a light background.
- Returns
- The palette for the light background.
◆ odcmAcadPalette()
Gets the palette for a given background.
- Returns
- The palette for the given background.
◆ odcmAcadPlotPalette()
Gets the palette for printing.
- Returns
- The palette for printing.
◆ odcmIsBackgroundLight()
bool odcmIsBackgroundLight |
( |
ODCOLORREF |
backgroung | ) |
|
|
inline |
Checks whether the background is light.
- Parameters
-
backgroung | [in] The background as an ODCOLORREF value. |
- Returns
- The true value if the background is light, or false if the background is dark.
Definition at line 40 of file ColorMapping.h.
◆ odcmLookupACI()
Gets the color index for a given RGB.
- Parameters
-
rgb | [in] RGB to perform mapping. |
pPalette | [in] Palette to perform mapping. |
- Returns
- Color index for the given RGB.
◆ odcmLookupRGB()
Gets the RGB values for a given color index.
- Parameters
-
pPalette | [in] Palette to perform mapping. |
- Returns
- RGB valued for the given color index.