User Tools

Site Tools


api:dk11:delphi:fmx.gisrenderer.tgis_rendererfmx.canvasfontmetrics_char_integer_integer_boolean

Table of Contents

TGIS_RendererFmx.CanvasFontMetrics method

DK11 for Delphi | FMX.GisRenderer.TGIS_RendererFmx.CanvasFontMetrics | Constructors | Fields | Methods | Properties

Provide basing metric for a currently selected CanvasFont.

Overrides TGIS_RendererAbstract.CanvasFontMetrics.

Syntax

// Delphi
public
  procedure CanvasFontMetrics(
    var _break_char : Char;
    var _height : Integer;
    var _ascent : Integer;
    var _true_type : Boolean
  ); override;
// C++ Builder
public:
  virtual void CanvasFontMetrics(
    Char* &_break_char,
    int &_height,
    int &_ascent,
    bool &_true_type
  );

Parameters

Name Type Description
_break_char Char character treated as a break character (space)
_height Integer font height in pixels
_ascent Integer font ascent size in pixels
_true_type Boolean true, if font is TrueType or equivalent (scalable as vector)
2018/04/05 12:09