ClanLib  2.3.7
List of all members
CL_OutlineProviderFile Class Reference

File outline provider is used to load precompiled outlines. More...

#include <outline_provider_file.h>

Inheritance diagram for CL_OutlineProviderFile:
Inheritance graph
[legend]

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_Contourget_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...
 

Detailed Description

File outline provider is used to load precompiled outlines.

A CL_OutlineProviderFile is used to load precompiled outlines.

Constructor & Destructor Documentation

CL_OutlineProviderFile::CL_OutlineProviderFile ( CL_IODevice file)

Construct a outline provider.

Parameters
file= file to load.
CL_OutlineProviderFile::CL_OutlineProviderFile ( const CL_StringRef fullname)

Constructs a OutlineProviderFile.

Parameters
fullname= String Ref
CL_OutlineProviderFile::CL_OutlineProviderFile ( const CL_StringRef filename,
const CL_VirtualDirectory directory 
)

Constructs a OutlineProviderFile.

Parameters
filename= String Ref
directory= Virtual Directory
CL_OutlineProviderFile::~CL_OutlineProviderFile ( )

Member Function Documentation

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.


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