The IOutline resource interface. More...

#include "murl_resource_i_outline.h"

Inherited by Murl::Resource::NativeFont::NativeOutline.

Public Types

enum  OutlineFlag
 Outline flags.
 
enum  OutlineTag
 Outline tags.
 

Public Member Functions

virtual UInt32 GetCode () const =0
 Get this outline's code value. More...
 
virtual Real GetSizeX () const =0
 Get the horizontal size of the glyph. More...
 
virtual Real GetSizeY () const =0
 Get the vertical size of the glyph. More...
 
virtual UInt32 GetNumberOfPoints () const =0
 Get the number of outline points. More...
 
virtual UInt32 GetNumberOfContours () const =0
 Get the number of outline contours. More...
 
virtual const RealGetPoints () const =0
 Get the outline points. More...
 
virtual const SInt16GetContours () const =0
 Get the outline contours. More...
 
virtual const UInt8GetTags () const =0
 Get the outline tags. More...
 
virtual UInt32 GetFlags () const =0
 Get the outline flags. More...
 

Detailed Description

The IOutline resource interface.

This interface represents a single vector glyph outline, used in a Resource::IFont object.

Member Function Documentation

◆ GetCode()

virtual UInt32 Murl::Resource::IOutline::GetCode ( ) const
pure virtual

Get this outline's code value.

Returns
The code value.

◆ GetSizeX()

virtual Real Murl::Resource::IOutline::GetSizeX ( ) const
pure virtual

Get the horizontal size of the glyph.

Returns
The horizontal size.

◆ GetSizeY()

virtual Real Murl::Resource::IOutline::GetSizeY ( ) const
pure virtual

Get the vertical size of the glyph.

Returns
The vertical size.

◆ GetNumberOfPoints()

virtual UInt32 Murl::Resource::IOutline::GetNumberOfPoints ( ) const
pure virtual

Get the number of outline points.

Returns
The number of points.

◆ GetNumberOfContours()

virtual UInt32 Murl::Resource::IOutline::GetNumberOfContours ( ) const
pure virtual

Get the number of outline contours.

Returns
The number of contours.

◆ GetPoints()

virtual const Real* Murl::Resource::IOutline::GetPoints ( ) const
pure virtual

Get the outline points.

Returns
A pointer to the points.

◆ GetContours()

virtual const SInt16* Murl::Resource::IOutline::GetContours ( ) const
pure virtual

Get the outline contours.

Returns
A pointer to the contours.

◆ GetTags()

virtual const UInt8* Murl::Resource::IOutline::GetTags ( ) const
pure virtual

Get the outline tags.

Returns
A pointer to the tags, from the OutlineTag enumeration

◆ GetFlags()

virtual UInt32 Murl::Resource::IOutline::GetFlags ( ) const
pure virtual

Get the outline flags.

Returns
A bit mask of outline flags from the OutlineFlag enumeration.

The documentation for this interface was generated from the following file:
  • murl_resource_i_outline.h


Copyright © 2011-2018 Spraylight GmbH.