|
ClanLib
2.3.7
|
Collision detection contour. More...
#include <outline_provider.h>

Public Member Functions | |
Construction | |
| CL_OutlineProvider () | |
| Construct a outline provider. More... | |
| virtual | ~CL_OutlineProvider () |
Attributes | |
| virtual std::vector< CL_Contour > | get_contours ()=0 |
| return the countours that make up the outline More... | |
| virtual int | get_width ()=0 |
| return the width of the image used as basis for outline creation, or -1 when loading a precompiled outline. More... | |
| virtual int | get_height ()=0 |
| return the height of the image used as basis for outline creation, or -1 when loading a precompiled outline. More... | |
Operations | |
| virtual void | destroy ()=0 |
| Destroys the provider. More... | |
Collision detection contour.
Abstract Base class for outline providers. Don't use this!
|
inline |
Construct a outline provider.
|
inlinevirtual |
|
pure virtual |
Destroys the provider.
Implemented in CL_OutlineProviderFile, and CL_OutlineProviderBitmap.
|
pure virtual |
return the countours that make up the outline
Implemented in CL_OutlineProviderFile, and CL_OutlineProviderBitmap.
|
pure virtual |
return the height of the image used as basis for outline creation, or -1 when loading a precompiled outline.
Implemented in CL_OutlineProviderFile, and CL_OutlineProviderBitmap.
|
pure virtual |
return the width of the image used as basis for outline creation, or -1 when loading a precompiled outline.
Implemented in CL_OutlineProviderFile, and CL_OutlineProviderBitmap.
1.8.4