C# Class LongoMatch.Plugins.Stats.PangoTextMeasurer

Inheritance: ITextMeasurer
Exibir arquivo Open project: GNOME/longomatch

Public Methods

Method Description
MeasureText ( string text, string fontFamily = "", double fontSize = 10, double fontWeight = 500 ) : OxyPlot.OxySize
PangoTextMeasurer ( ) : System

Private Methods

Method Description
PangoWeightFromDouble ( double weight ) : Weight

Method Details

MeasureText() public method

public MeasureText ( string text, string fontFamily = "", double fontSize = 10, double fontWeight = 500 ) : OxyPlot.OxySize
text string
fontFamily string
fontSize double
fontWeight double
return OxyPlot.OxySize

PangoTextMeasurer() public method

public PangoTextMeasurer ( ) : System
return System