ClanLib
2.3.7
|
File outline provider is used to load precompiled outlines. More...
#include <outline_provider_file.h>
Public Member Functions | |
Construction | |
CL_OutlineProviderFile (CL_IODevice &file) | |
Construct a outline provider. More... | |
CL_OutlineProviderFile (const CL_StringRef &fullname) | |
Constructs a OutlineProviderFile. More... | |
CL_OutlineProviderFile (const CL_StringRef &filename, const CL_VirtualDirectory &directory) | |
Constructs a OutlineProviderFile. More... | |
~CL_OutlineProviderFile () | |
Attributes | |
virtual std::vector< CL_Contour > | get_contours () |
return the countours that make up the outline More... | |
virtual int | get_width () |
Not used for file provider. Returns -1. More... | |
virtual int | get_height () |
Not used for file provider. Returns -1. More... | |
Operations | |
virtual void | destroy () |
Destroys the provider. More... | |
File outline provider is used to load precompiled outlines.
A CL_OutlineProviderFile is used to load precompiled outlines.
CL_OutlineProviderFile::CL_OutlineProviderFile | ( | CL_IODevice & | file) |
Construct a outline provider.
file | = file to load. |
CL_OutlineProviderFile::CL_OutlineProviderFile | ( | const CL_StringRef & | fullname) |
Constructs a OutlineProviderFile.
fullname | = String Ref |
CL_OutlineProviderFile::CL_OutlineProviderFile | ( | const CL_StringRef & | filename, |
const CL_VirtualDirectory & | directory | ||
) |
Constructs a OutlineProviderFile.
filename | = String Ref |
directory | = Virtual Directory |
CL_OutlineProviderFile::~CL_OutlineProviderFile | ( | ) |
|
virtual |
Destroys the provider.
Implements CL_OutlineProvider.
|
virtual |
return the countours that make up the outline
Implements CL_OutlineProvider.
|
virtual |
Not used for file provider. Returns -1.
Implements CL_OutlineProvider.
|
virtual |
Not used for file provider. Returns -1.
Implements CL_OutlineProvider.