|
Open CASCADE Technology 6.5.2
|
This class defines a X11 pixmap
#include <Xw_PixMap.hxx>

Public Member Functions | |
| Xw_PixMap (const Handle< Aspect_Window > &aWindow, const Standard_Integer aWidth, const Standard_Integer anHeight, const Standard_Integer aDepth=0) | |
| Warning! When <aDepth> is NULL , the pixmap is created with the SAME depth than the window <aWindow> | |
| virtual void | Destroy () |
| Destroies the Pixmap Trigger: Raises if Pixmap is not defined properly | |
| virtual Standard_Boolean | Dump (const Standard_CString aFilename, const Standard_Real aGammaValue=1.0) const |
| Dumps the Bitmap to an image file with an optional gamma correction value and returns TRUE if the dump occurs normaly. | |
| virtual Quantity_Color | PixelColor (const Standard_Integer theX, const Standard_Integer theY) const |
| Returns the pixel color. | |
| virtual Aspect_Handle | PixmapID () const |
| Returns the ID of the just created pixmap | |
Protected Attributes | |
| Aspect_Handle | myPixmap |
| Xw_PixMap::Xw_PixMap | ( | const Handle< Aspect_Window > & | aWindow, |
| const Standard_Integer | aWidth, | ||
| const Standard_Integer | anHeight, | ||
| const Standard_Integer | aDepth = 0 |
||
| ) |
| virtual void Xw_PixMap::Destroy | ( | ) | [virtual] |
Implements Aspect_PixMap.
| virtual Standard_Boolean Xw_PixMap::Dump | ( | const Standard_CString | aFilename, |
| const Standard_Real | aGammaValue = 1.0 |
||
| ) | const [virtual] |
Implements Aspect_PixMap.
| virtual Quantity_Color Xw_PixMap::PixelColor | ( | const Standard_Integer | theX, |
| const Standard_Integer | theY | ||
| ) | const [virtual] |
Implements Aspect_PixMap.
| virtual Aspect_Handle Xw_PixMap::PixmapID | ( | ) | const [virtual] |
Implements Aspect_PixMap.
Aspect_Handle Xw_PixMap::myPixmap [protected] |
1.7.4