WNT_GraphicDevice.hxx File Reference

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_WNT_GraphicDevice.hxx>
#include <Quantity_Length.hxx>
#include <Standard_Integer.hxx>
#include <Aspect_Handle.hxx>
#include <Standard_Address.hxx>
#include <WNT_ColorRef.hxx>
#include <windows.h>
#include <Standard_Type.hxx>
#include <Standard_Boolean.hxx>
#include <Aspect_GraphicDevice.hxx>
#include <Handle_Aspect_ColorMap.hxx>
#include <Handle_WNT_HColorTable.hxx>
#include <Handle_Aspect_GraphicDriver.hxx>

Data Structures

class  WNT_GraphicDevice
 This class defines Windows NT display device.
A Graphic Device defines color management. Windows can run in three
different color modes depending of the installed graphic board:

  • Low color resolution which allows us to use 16 predefined pure
    colors for drawing lines and unlimited number of dithered colors
    for window's background, solid filled areas etc. Here Graphic Device
    will approximate requested colors by existing ones for line colors
    ( really this approximation is doing by Windows ). A dithering
    technique will be used for window's backgrounds, solid fills etc.
    ( this is doing by WIndows also ). A dithering techique will be use
    for solid fill.
  • Medium color resolution which requires a Windows palette manager.
    This mode takes after X window system's PseudoColor Visual. The
    application can create a LOGICAL PALETTE to represent 20 reserved
    by Windows colors and 236 programmable ones. It's possible to reserve
    odd entries in the palette for highlighting purposes ( but real
    technique is not the same as in X window system - see Windows manual ).
    It's possible to create several logical palettes. To do it create
    other GraphicDevice but in this case color "flicking" is possible.
  • High color resolution. Here 65 536 or 16 777 216 colors are available.
    Any color we like will be exactly displayed on the screen, but
    highlighting technique is not available. This mode often called
    TrueColor but it's not the same as X window TrueColor.
    A Graphic Device also defines physical dimensions of the screen.
More...
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:41:27 2011 for Open CASCADE Technology by  doxygen 1.6.3