C# Class NOpenType.GlyphPathBuilderBase

Exibir arquivo Open project: prepare/HTML-Renderer

Public Methods

Method Description
Build ( char c, float sizeInPoints ) : void
BuildFromGlyphIndex ( ushort glyphIndex, float sizeInPoints ) : void
GlyphPathBuilderBase ( Typeface typeface ) : System

Protected Methods

Method Description
OnBeginRead ( int countourCount ) : void
OnCloseFigure ( ) : void
OnCurve3 ( short p2x, short p2y, short x, short y ) : void
OnCurve4 ( short p2x, short p2y, short p3x, short p3y, short x, short y ) : void
OnEndRead ( ) : void
OnLineTo ( short x, short y ) : void
OnMoveTo ( short x, short y ) : void

Private Methods

Method Description
GetMidPoint ( FtPoint v1, short v2x, short v2y ) : FtPoint
RenderGlyph ( Glyph glyph ) : void
RenderGlyph ( ushort contours, short xs, short ys, bool onCurves ) : void

Method Details

Build() public method

public Build ( char c, float sizeInPoints ) : void
c char
sizeInPoints float
return void

BuildFromGlyphIndex() public method

public BuildFromGlyphIndex ( ushort glyphIndex, float sizeInPoints ) : void
glyphIndex ushort
sizeInPoints float
return void

GlyphPathBuilderBase() public method

public GlyphPathBuilderBase ( Typeface typeface ) : System
typeface Typeface
return System

OnBeginRead() protected abstract method

protected abstract OnBeginRead ( int countourCount ) : void
countourCount int
return void

OnCloseFigure() protected abstract method

protected abstract OnCloseFigure ( ) : void
return void

OnCurve3() protected abstract method

protected abstract OnCurve3 ( short p2x, short p2y, short x, short y ) : void
p2x short
p2y short
x short
y short
return void

OnCurve4() protected abstract method

protected abstract OnCurve4 ( short p2x, short p2y, short p3x, short p3y, short x, short y ) : void
p2x short
p2y short
p3x short
p3y short
x short
y short
return void

OnEndRead() protected abstract method

protected abstract OnEndRead ( ) : void
return void

OnLineTo() protected abstract method

protected abstract OnLineTo ( short x, short y ) : void
x short
y short
return void

OnMoveTo() protected abstract method

protected abstract OnMoveTo ( short x, short y ) : void
x short
y short
return void