| Viewing Single Post From: Image | |
|---|---|
| Alan | Mar 8 2007, 11:52 AM |
|
Administrator
![]() ![]() ![]() ![]() ![]()
|
image: Is a obj that can display an image file on the screen. The Epee Engine supports all file formats that are supported in the SDL_image library Inherits from: Sprockets Function List: public: image (std::string _FileNameImage, std::string _NameImageHere,int _x,int _y,int _z,bool _Transparency=false);//:Sprockets( _NameImageHere,Type_Image ,_x, _y, _z) std::string GetFileName(); void SetClippingRect(int _x,int _y,int _w,int _h); bool GetClip(); int GetClippingX(); int GetClippingY(); int GetClippingW(); int GetClippingH(); void SetTransparency (bool _Transparency); bool GetTransparency(); protected: SDL_Rect ClipingRect; bool LoadFileSurface(); image (std::string _FileNameImage, std::string _NameImageHere,int _x,int _y,int _z,int _type,bool _Transparency=false);//:Sprockets( _NameImageHere,_type ,_x, _y, _z) image(); image(std::string _FileNameImage); SDL_Rect * GetClippingRect(); SDL_Rect * GetOrignalRect(); |
![]() |
|
| Image · Documentation | |




![]](http://209.85.48.16/static/1/pip_r.png)

