FXPNGImage

class FXPNGImage

Portable Network Graphics (PNG) Image class

Inheritance:


Public Methods

[more] FXPNGImage(FXApp* a, const void* pix=NULL, FXuint opts=0, FXint w=1, FXint h=1)
Construct an image from memory stream formatted in PNG format
[more]virtual void loadPixels(FXStream& store)
Save pixels into stream in PNG format
[more]virtual void savePixels(FXStream& store) const
Load pixels from stream in PNG format
[more]virtual ~FXPNGImage()
Destroy


Inherited from FXImage:

Public Methods

oFXuchar* getData() const
oFXuint getOptions() const
ovoid setOptions(FXuint opts)
oFXint getChannels() const
oFXColor getPixel(FXint x, FXint y) const
ovoid setPixel(FXint x, FXint y, FXColor color)
ovirtual void create()
ovirtual void detach()
ovirtual void destroy()
ovirtual void restore()
ovirtual void render()
ovirtual void resize(FXint w, FXint h)
ovirtual void scale(FXint w, FXint h)
ovirtual void mirror(FXbool horizontal, FXbool vertical)
ovirtual void rotate(FXint degrees)
ovirtual void crop(FXint x, FXint y, FXint w, FXint h)
ovirtual void save(FXStream& store) const
ovirtual void load(FXStream& store)


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

Portable Network Graphics (PNG) Image class
o FXPNGImage(FXApp* a, const void* pix=NULL, FXuint opts=0, FXint w=1, FXint h=1)
Construct an image from memory stream formatted in PNG format

ovirtual void loadPixels(FXStream& store)
Save pixels into stream in PNG format

ovirtual void savePixels(FXStream& store) const
Load pixels from stream in PNG format

ovirtual ~FXPNGImage()
Destroy


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.