Bitmap is a one bit/pixel image used for patterning and stippling operations
Inheritance:
Public Methods
-
FXBitmap(FXApp* a, const void* pix=NULL, FXuint opts=0, FXint w=1, FXint h=1)
- Create an image
-
virtual void create()
- Create bitmap
-
virtual void detach()
- Detach from bitmap
-
virtual void destroy()
- Destroy bitmap
-
virtual void render()
- Render pixels
-
FXbool getPixel(FXint x, FXint y) const
- Get pixel at x,y
-
void setPixel(FXint x, FXint y, FXbool color)
- Change pixel at x,y
-
virtual void resize(FXint w, FXint h)
- Resize bitmap to the specified width and height; the contents become undefined
-
virtual void save(FXStream& store) const
- Save object to stream
-
virtual void load(FXStream& store)
- Load object from stream
-
virtual void savePixels(FXStream& store) const
- Save pixel data only
-
virtual void loadPixels(FXStream& store)
- Load pixel data only
-
virtual ~FXBitmap()
- Cleanup
Public Methods
-
FXint getWidth() const
-
FXint getHeight() const
-
FXVisual* getVisual() const
-
void setVisual(FXVisual* vis)
Inherited from FXId:
Public Methods
-
FXApp* getApp() const
-
FXID id() const
-
void setUserData(void* ptr)
-
void* getUserData() const
Public Methods
-
const FXchar* getClassName() const
-
FXbool isMemberOf(const FXMetaClass* metaclass) const
Documentation
Bitmap is a one bit/pixel image used for patterning and
stippling operations
FXBitmap(FXApp* a, const void* pix=NULL, FXuint opts=0, FXint w=1, FXint h=1)
- Create an image
virtual void create()
- Create bitmap
virtual void detach()
- Detach from bitmap
virtual void destroy()
- Destroy bitmap
virtual void render()
- Render pixels
FXbool getPixel(FXint x, FXint y) const
- Get pixel at x,y
void setPixel(FXint x, FXint y, FXbool color)
- Change pixel at x,y
virtual void resize(FXint w, FXint h)
- Resize bitmap to the specified width and height; the contents become undefined
virtual void save(FXStream& store) const
- Save object to stream
virtual void load(FXStream& store)
- Load object from stream
virtual void savePixels(FXStream& store) const
- Save pixel data only
virtual void loadPixels(FXStream& store)
- Load pixel data only
virtual ~FXBitmap()
- Cleanup
- This class has no child classes.
- Friends:
- class FXDCWindow
class FXDrawable
class FXTopWindow
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.