|
Open CASCADE Technology 6.5.2
|
This class defines a windows bitmap
#include <WNT_PixMap.hxx>

Public Member Functions | |
| WNT_PixMap (const Handle< Aspect_Window > &aWindow, const Standard_Integer aWidth, const Standard_Integer anHeight, const Standard_Integer aCDepth=0) | |
| Warning! When <aDepth> is NULL , the pixmap is created with the SAME depth than the window <aWindow> | |
| virtual void | Destroy () |
| Destroies the Bitmap | |
| ~WNT_PixMap () | |
| 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 bitmap | |
Protected Attributes | |
| Aspect_Handle | myDC |
| Aspect_Handle | myBitmap |
| WNT_PixMap::WNT_PixMap | ( | const Handle< Aspect_Window > & | aWindow, |
| const Standard_Integer | aWidth, | ||
| const Standard_Integer | anHeight, | ||
| const Standard_Integer | aCDepth = 0 |
||
| ) |
| WNT_PixMap::~WNT_PixMap | ( | ) | [inline] |
| virtual void WNT_PixMap::Destroy | ( | ) | [virtual] |
Implements Aspect_PixMap.
| virtual Standard_Boolean WNT_PixMap::Dump | ( | const Standard_CString | aFilename, |
| const Standard_Real | aGammaValue = 1.0 |
||
| ) | const [virtual] |
Implements Aspect_PixMap.
| virtual Quantity_Color WNT_PixMap::PixelColor | ( | const Standard_Integer | theX, |
| const Standard_Integer | theY | ||
| ) | const [virtual] |
Implements Aspect_PixMap.
| virtual Aspect_Handle WNT_PixMap::PixmapID | ( | ) | const [virtual] |
Implements Aspect_PixMap.
Aspect_Handle WNT_PixMap::myBitmap [protected] |
Aspect_Handle WNT_PixMap::myDC [protected] |
1.7.4