Skip to content

ISVGTextRendering

No description yet.

Unit: BVE.SVG2Intf

Methods

DrawGlyphRun

procedure DrawGlyphRun(
  const aText: TSVGUnicodeString;
  aGlyphRun: ISVGGlyphRun;
  aPositions: TList<TSVGPoint>;
  const aDecoration: TSVGTextDecoration);

Draws aText as text, not as outlines, with the current fill.

Parameter Description
aPositions The baseline origin of the first character, or of every character.
aDecoration Not to be drawn: the text element draws underline, overline and line-through itself, as paths, so that they sit where they sit on the outlines. Always tdNone.

GetTextFormattingOptions

function GetTextFormattingOptions: TSVGTextFormattingOptions;

No description yet.

MeasureGlyphRun

function MeasureGlyphRun(
  const aText: TSVGUnicodeString;
  aGlyphRun: ISVGGlyphRun;
  const aPosition: TSVGPoint;
  var aBounds: TSVGRect): Boolean;

No description yet.

MeasureString

function MeasureString(
  const aText: TSVGUnicodeString;
  aFontFace: ISVGFontFace;
  const aPosition: TSVGPoint;
  var aBounds: TSVGRect): Boolean;

No description yet.

SetTextFormattingOptions

procedure SetTextFormattingOptions(const aValue: TSVGTextFormattingOptions);

No description yet.

Properties

TextFormattingOptions

property TextFormattingOptions: TSVGTextFormattingOptions read GetTextFormattingOptions write SetTextFormattingOptions;

No description yet.