| Welcome to Epee Engine. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Image; Documentation on the image class | |
|---|---|
| Topic Started: Mar 8 2007, 11:52 AM (254 Views) | |
| Alan | Mar 8 2007, 11:52 AM Post #1 |
|
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(); |
![]() |
|
| « Previous Topic · Documentation · Next Topic » |





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


