class CCL::ImageDrawable
Overview
#include <idrawable.h> class ImageDrawable: public CCL::Unknown, public CCL::IImageDrawable { public: // fields CLASS_INTERFACE2 (IDrawable, IImageDrawable, Unknown) protected ImageMode imageMode; float opacity; // construction ImageDrawable (IImage* image, float alpha = 1.f); // methods virtual void CCL_API draw (const DrawArgs& args); virtual float CCL_API getOpacity () const; virtual void CCL_API takeOpacity (); virtual IImage*CCL_API getImage () const; };
Inherited Members
public: // structs struct DrawArgs; // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0; Unknown& operator = (const Unknown&); unsigned int getRetainCount () const; virtual void CCL_API draw (const DrawArgs& args) = 0; virtual float CCL_API getOpacity () const = 0; virtual void CCL_API takeOpacity () = 0; virtual IImage*CCL_API getImage () const = 0;
Detailed Documentation
Methods
virtual void CCL_API takeOpacity ()
take opacity from image mode