Xw_GraphicDevice.hxx File Reference

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Xw_GraphicDevice.hxx>
#include <TCollection_AsciiString.hxx>
#include <Handle_Xw_ColorMap.hxx>
#include <Handle_Xw_TypeMap.hxx>
#include <Handle_Xw_WidthMap.hxx>
#include <Handle_Xw_FontMap.hxx>
#include <Handle_Xw_MarkMap.hxx>
#include <Standard_Address.hxx>
#include <Aspect_GraphicDevice.hxx>
#include <Handle_Aspect_GraphicDevice.hxx>
#include <MMgt_TShared.hxx>
#include <Handle_Aspect_GraphicDriver.hxx>
#include <Standard_CString.hxx>
#include <Xw_TypeOfMapping.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
#include <Xw_TypeOfVisual.hxx>
#include <Quantity_Length.hxx>

Data Structures

class  Xw_GraphicDevice
 This class defines an X11 Graphic Device
Warning: An Graphic Device is defined by :

  • a connection "host:server.screen"
  • a colormap mapping of type Xw_TOM_xxxxx
  • a "UseDefault" flag which permits the use of the
    DefaultColormap if possible.
    The connection can be specified directly
    or extracted from an existing Window.
    All Xw_Windows may share the same Graphic Device if
    you don't want to have any side effects on the stations
    which have only one hardware pseudo-colormap .
    Four kind of mapping are possible :
    1) Xw_TOM_SIMPLERAMP
    Allocates the number of required colors in the
    colormap.
    The number of user colors depends directly on
    the hardware colormap size if UseDefault is False,
    or on the remainding free colors in the hardware colormap
    if UseDefault is True.
    2) Xw_TOM_BESTRAMP
    Allocates the number of required colors in the
    colormap but leaves the Odd color indexes free
    if possible for highlight color management.
    (plane 0 is reserved for this usage)
    The number of user colors depends directly on
    the hardware colormap size if UseDefault is False,
    or on the remainding free colors in the hardware colormap
    if UseDefault is True.
    3) Xw_TOM_COLORCUBE (the default)
    Allocates the maximum available colors in the colormap
    and builds a colorcube at this place.
    Any user color will be approximate and will be chosen as
    the nearest of the set of available colorcube colors.
    In this case the number of user colors can be unlimited.
    4) Xw_TOM_HARDWARE
    May do serious damage to the color system.
    Must be used for maintenance only.
    5) Xw_TOM_READONLY
    Allocates the number of required read only colors in the
    default colormap.
    The number of user colors depends directly on
    the hardware colormap size.
More...
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:41:30 2011 for Open CASCADE Technology by  doxygen 1.6.3