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. | |
CL_OutlineProviderFile (const CL_StringRef &fullname) | |
Constructs a OutlineProviderFile. | |
CL_OutlineProviderFile (const CL_StringRef &filename, const CL_VirtualDirectory &directory) | |
Constructs a OutlineProviderFile. | |
~CL_OutlineProviderFile () | |
Attributes | |
virtual std::vector< CL_Contour > | get_contours () |
return the countours that make up the outline | |
virtual int | get_width () |
Not used for file provider. Returns -1. | |
virtual int | get_height () |
Not used for file provider. Returns -1. | |
Operations | |
virtual void | destroy () |
Destroys the provider. |
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 void CL_OutlineProviderFile::destroy | ( | ) | [virtual] |
Destroys the provider.
Implements CL_OutlineProvider.
virtual std::vector<CL_Contour> CL_OutlineProviderFile::get_contours | ( | ) | [virtual] |
return the countours that make up the outline
Implements CL_OutlineProvider.
virtual int CL_OutlineProviderFile::get_height | ( | ) | [virtual] |
Not used for file provider. Returns -1.
Implements CL_OutlineProvider.
virtual int CL_OutlineProviderFile::get_width | ( | ) | [virtual] |
Not used for file provider. Returns -1.
Implements CL_OutlineProvider.