C# Class PixelFarm.Drawing.RequestFont

font specification
Datei anzeigen Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
ConvEmSizeInPointsToPixels ( float emsizeInPoint ) : float
RequestFont ( string facename, float fontSizeInPts, FontStyle style = FontStyle.Regular ) : System

Private Methods

Method Description
GetCacheActualFont ( RequestFont r ) : ActualFont
SetCacheActualFont ( RequestFont r, ActualFont f ) : void

Method Details

ConvEmSizeInPointsToPixels() public static method

public static ConvEmSizeInPointsToPixels ( float emsizeInPoint ) : float
emsizeInPoint float
return float

RequestFont() public method

public RequestFont ( string facename, float fontSizeInPts, FontStyle style = FontStyle.Regular ) : System
facename string
fontSizeInPts float
style FontStyle
return System