C# Class Frost.DirectX.TextGeometryCache

This class provides management of text geometry resources.
Inheritance: IDisposable
Mostra file Open project: fealty/Frost

Public Methods

Method Description
Dispose ( ) : void
Retrieve ( IndexedRange glyphRange, bool isVertical, bool isRightToLeft, FontHandle font, List glyphs ) : Shape

This method retrieves the geometry for a formatted cluster.

TextGeometryCache ( ) : System

Private Methods

Method Description
ResizeInternalBuffers ( int count ) : void

This method resizes the internal buffers.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Retrieve() public method

This method retrieves the geometry for a formatted cluster.
public Retrieve ( IndexedRange glyphRange, bool isVertical, bool isRightToLeft, FontHandle font, List glyphs ) : Shape
glyphRange IndexedRange
isVertical bool
isRightToLeft bool
font FontHandle This parameter references the font for the cluster.
glyphs List
return Shape

TextGeometryCache() public method

public TextGeometryCache ( ) : System
return System