ClanLib  2.3.7
List of all members
CL_OutlineProvider Class Referenceabstract

Collision detection contour. More...

#include <outline_provider.h>

Inheritance diagram for CL_OutlineProvider:
Inheritance graph
[legend]

Public Member Functions

Construction
 CL_OutlineProvider ()
 Construct a outline provider. More...
 
virtual ~CL_OutlineProvider ()
 
Attributes
virtual std::vector< CL_Contourget_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...
 

Detailed Description

Collision detection contour.

Abstract Base class for outline providers. Don't use this!

Constructor & Destructor Documentation

CL_OutlineProvider::CL_OutlineProvider ( )
inline

Construct a outline provider.

virtual CL_OutlineProvider::~CL_OutlineProvider ( )
inlinevirtual

Member Function Documentation

virtual void CL_OutlineProvider::destroy ( )
pure virtual

Destroys the provider.

Implemented in CL_OutlineProviderFile, and CL_OutlineProviderBitmap.

virtual std::vector<CL_Contour> CL_OutlineProvider::get_contours ( )
pure virtual

return the countours that make up the outline

Implemented in CL_OutlineProviderFile, and CL_OutlineProviderBitmap.

virtual int CL_OutlineProvider::get_height ( )
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.

virtual int CL_OutlineProvider::get_width ( )
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.


The documentation for this class was generated from the following file: