Portable Network Graphics (PNG) Icon class
Inheritance:
Public Methods
-
FXPNGIcon(FXApp* a, const void* pix=NULL, FXColor clr=FXRGB(192, 192, 192), FXuint opts=0, FXint w=1, FXint h=1)
- Construct an icon from memory stream formatted in PNG format
-
virtual void savePixels(FXStream& store) const
- Save pixels into stream in PNG format
-
virtual void loadPixels(FXStream& store)
- Load pixels from stream in PNG format
-
virtual ~FXPNGIcon()
- Destroy
Inherited from FXIcon:
Public Methods
-
virtual void create()
-
virtual void detach()
-
virtual void destroy()
-
virtual void render()
-
virtual void resize(FXint w, FXint h)
-
FXColor getTransparentColor() const
-
void setTransparentColor(FXColor color)
Inherited from FXImage:
Public Methods
-
FXuchar* getData() const
-
FXuint getOptions() const
-
void setOptions(FXuint opts)
-
FXint getChannels() const
-
FXColor getPixel(FXint x, FXint y) const
-
void setPixel(FXint x, FXint y, FXColor color)
-
virtual void restore()
-
virtual void scale(FXint w, FXint h)
-
virtual void mirror(FXbool horizontal, FXbool vertical)
-
virtual void rotate(FXint degrees)
-
virtual void crop(FXint x, FXint y, FXint w, FXint h)
-
virtual void save(FXStream& store) const
-
virtual void load(FXStream& store)
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
Portable Network Graphics (PNG) Icon class
- FXPNGIcon(FXApp* a, const void* pix=NULL, FXColor clr=FXRGB(192, 192, 192), FXuint opts=0, FXint w=1, FXint h=1)
- Construct an icon from memory stream formatted in PNG format
- virtual void savePixels(FXStream& store) const
- Save pixels into stream in PNG format
- virtual void loadPixels(FXStream& store)
- Load pixels from stream in PNG format
- virtual ~FXPNGIcon()
- Destroy
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.