StyledTypeFace

StockSharp.Xaml.Charting.Rendering.HighQualityRasterizer.Agg.Font

Properties

EmSizeInPixels
public double EmSizeInPixels { get; }
value = styledTypeFace.EmSizeInPixels

Sets the Em size for the font in pixels.

EmSizeInPoints
public double EmSizeInPoints { get; }
value = styledTypeFace.EmSizeInPoints

Sets the Em size for the font assuming there are 72 points per inch and there are 96 pixels per inch.

FlatenCurves
public bool FlatenCurves { get; set; }
value = styledTypeFace.FlatenCurves
styledTypeFace.FlatenCurves = value

If true the font will have it's curves flattened to the current point size when retrieved.You may want to disable this so you can flaten the curve after other transforms have been applied,such as skewing or scalling. Rotation and Translation will not alter how a curve is flattened.