/usr/include/oce/Xw_PixMap.hxx is in liboce-visualization-dev 0.9.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Xw_PixMap_HeaderFile
#define _Xw_PixMap_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Xw_PixMap_HeaderFile
#include <Handle_Xw_PixMap.hxx>
#endif
#ifndef _Aspect_Handle_HeaderFile
#include <Aspect_Handle.hxx>
#endif
#ifndef _Handle_Xw_Window_HeaderFile
#include <Handle_Xw_Window.hxx>
#endif
#ifndef _Aspect_PixMap_HeaderFile
#include <Aspect_PixMap.hxx>
#endif
#ifndef _Handle_Aspect_Window_HeaderFile
#include <Handle_Aspect_Window.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
class Xw_Window;
class Aspect_PixmapDefinitionError;
class Aspect_PixmapError;
class Aspect_Window;
class Quantity_Color;
//! This class defines a X11 pixmap <br>
class Xw_PixMap : public Aspect_PixMap {
public:
//! Warning! When <aDepth> is NULL , the pixmap is created <br>
//! with the SAME depth than the window <aWindow> <br>
Standard_EXPORT Xw_PixMap(const Handle(Aspect_Window)& aWindow,const Standard_Integer aWidth,const Standard_Integer anHeight,const Standard_Integer aDepth = 0);
//! Destroies the Pixmap <br>
//! Trigger: Raises if Pixmap is not defined properly <br>
Standard_EXPORT virtual void Destroy() ;
//! Dumps the Bitmap to an image file with <br>
//! an optional gamma correction value <br>
//! and returns TRUE if the dump occurs normaly. <br>
Standard_EXPORT virtual Standard_Boolean Dump(const Standard_CString aFilename,const Standard_Real aGammaValue = 1.0) const;
//! Returns the pixel color. <br>
Standard_EXPORT virtual Quantity_Color PixelColor(const Standard_Integer theX,const Standard_Integer theY) const;
//! Returns the ID of the just created pixmap <br>
Standard_EXPORT virtual Aspect_Handle PixmapID() const;
DEFINE_STANDARD_RTTI(Xw_PixMap)
protected:
Aspect_Handle myPixmap;
private:
Standard_EXPORT Standard_Integer PreferedDepth(const Handle(Aspect_Window)& aWindow,const Standard_Integer aDepth) const;
Handle_Xw_Window myWindow;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|