FXBitmap

class FXBitmap

Bitmap is a one bit/pixel image used for patterning and stippling operations

Inheritance:


Public Methods

[more] FXBitmap(FXApp* a, const void* pix=NULL, FXuint opts=0, FXint w=1, FXint h=1)
Create an image
[more]virtual void create()
Create bitmap
[more]virtual void detach()
Detach from bitmap
[more]virtual void destroy()
Destroy bitmap
[more]virtual void render()
Render pixels
[more]FXbool getPixel(FXint x, FXint y) const
Get pixel at x,y
[more]void setPixel(FXint x, FXint y, FXbool color)
Change pixel at x,y
[more]virtual void resize(FXint w, FXint h)
Resize bitmap to the specified width and height; the contents become undefined
[more]virtual void save(FXStream& store) const
Save object to stream
[more]virtual void load(FXStream& store)
Load object from stream
[more]virtual void savePixels(FXStream& store) const
Save pixel data only
[more]virtual void loadPixels(FXStream& store)
Load pixel data only
[more]virtual ~FXBitmap()
Cleanup


Inherited from FXDrawable:

Public Methods

oFXint getWidth() const
oFXint getHeight() const
oFXVisual* getVisual() const
ovoid setVisual(FXVisual* vis)


Inherited from FXId:

Public Methods

oFXApp* getApp() const
oFXID id() const
ovoid setUserData(void* ptr)
ovoid* getUserData() const


Inherited from FXObject:

Public Methods

oconst FXchar* getClassName() const
oFXbool isMemberOf(const FXMetaClass* metaclass) const


Documentation

Bitmap is a one bit/pixel image used for patterning and stippling operations
o FXBitmap(FXApp* a, const void* pix=NULL, FXuint opts=0, FXint w=1, FXint h=1)
Create an image

ovirtual void create()
Create bitmap

ovirtual void detach()
Detach from bitmap

ovirtual void destroy()
Destroy bitmap

ovirtual void render()
Render pixels

oFXbool getPixel(FXint x, FXint y) const
Get pixel at x,y

ovoid setPixel(FXint x, FXint y, FXbool color)
Change pixel at x,y

ovirtual void resize(FXint w, FXint h)
Resize bitmap to the specified width and height; the contents become undefined

ovirtual void save(FXStream& store) const
Save object to stream

ovirtual void load(FXStream& store)
Load object from stream

ovirtual void savePixels(FXStream& store) const
Save pixel data only

ovirtual void loadPixels(FXStream& store)
Load pixel data only

ovirtual ~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++.