![]() |
Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
|
Font interface. More...
#include <duckcpp/core/engine/IGUIImageList.hpp>


Public Member Functions | |
| virtual | ~IGUIImageList () |
| Destructor. | |
| virtual void | draw (dcpp::int32_kt index, const dcpp::nub::position2di &destPos, const dcpp::nub::recti *clip=0)=0 |
| virtual dcpp::int32_kt | getImageCount () const =0 |
| virtual dcpp::nub::dimension2di | getImageSize () const =0 |
Public Member Functions inherited from dcpp::IReferenceCounted | |
| IReferenceCounted () | |
| Constructor. | |
| virtual | ~IReferenceCounted () |
| Destructor. | |
| void | grab () const |
| Grabs the object. Increments the reference counter by one. | |
| bool | drop () const |
| Drops the object. Decrements the reference counter by one. | |
| dcpp::int32_kt | getReferenceCount () const |
| Get the reference count. | |
| const dcpp::char_kt * | getDebugName () const |
| Returns the debug name of the object. | |
Additional Inherited Members | |
Protected Member Functions inherited from dcpp::IReferenceCounted | |
| void | setDebugName (const dcpp::char_kt *newName) |
| Sets the debug name of the object. | |
Font interface.
|
pure virtual |
Draws an image and clips it to the specified rectangle if wanted
| index | Index of the image |
| destPos | Position of the image to draw |
| clip | Optional pointer to a rectangle against which the text will be clipped. If the pointer is null, no clipping will be done. |
|
pure virtual |
Returns the count of Images in the list.
|
pure virtual |
Returns the size of the images in the list.