Classes | Namespaces | Enumerations
ColorUtil.h File Reference
#include "DgnPlatform.h"

Go to the source code of this file.

Classes

union  IntColorDef
 Union that allows a color to be accessed as a UInt32 (in form TBGR), RgbColorDef, or RgbaColorDef. More...
 

Namespaces

 Bentley
 The Bentley namespace contains types defined by the Bentley Library.
 
 Bentley::DgnPlatform
 The DgnPlatform namespace contains types defined by the DgnPlatform.
 

Enumerations

enum  ColorDefConstants {
  MAX_COLOR_NAME_SIZE = 30, MAX_CMAPENTRIES = 256, MAX_CTBLBYTES = (MAX_CMAPENTRIES * 3), MAX_CTBLNAMESIZE = 64,
  MAX_ExtendedColorIndex = 0x0fffff, BLACK_MENU_COLOR_INDEX = 0, BLUE_MENU_COLOR_INDEX = 1, GREEN_MENU_COLOR_INDEX = 2,
  CYAN_MENU_COLOR_INDEX = 3, RED_MENU_COLOR_INDEX = 4, MAGENTA_MENU_COLOR_INDEX = 5, YELLOW_MENU_COLOR_INDEX = 6,
  WHITE_MENU_COLOR_INDEX = 7, LGREY_MENU_COLOR_INDEX = 8, DGREY_MENU_COLOR_INDEX = 9, MGREY_MENU_COLOR_INDEX = 10,
  NUM_MENU_COLORS = 12, NUM_NEW_FIXED_COLORS = 6, NEW_NUM_MENU_COLORS = NUM_MENU_COLORS+NUM_NEW_FIXED_COLORS, COLORD_RGB = 1,
  COLORD_HSV = 2, COLORD_XCOLORID = 3, COLORD_XNAMEID = COLORD_XCOLORID, COLORD_XCOLORSTRING = 4,
  COLORD_XNAMESTR = COLORD_XCOLORSTRING, COLORD_ELEM_COLOR_NUMBER = 5, COLORD_MENUCOLORID = 6, COLORD_ATTRDATA = 7,
  COLORD_RGBDITHERED = 8, COLORD_VPAL_INDEX = 9, COLORD_ELEM_COLOR_REF = 10, COLORD_DRAW_VALUE = 20,
  COLORD_DRAW_INDEX = COLORD_DRAW_VALUE, PALFLAG_MATCHLOADEDCOLORS = 0x0, PALFLAG_MATCHDGNCTBL = 0x1, PALSTATUS_SYNCHABLE = 0x01,
  COLOR_STRESS_DEFAULT = 0, COLOR_STRESS_HUE = 0x1, COLOR_STRESS_SATURATION = 0x2, COLOR_STRESS_VALUE = 0x4,
  SYNCH_DUE_TO_LOAD_COLORS = 1, SYNCH_DUE_TO_CMAP_CHG = 2
}
 

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.