Class IGDIPlus.TGPFont
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Inherits: TGPBase
Contents |
Syntax
Delphi:
type TGPFont = class( TGPBase, IGPFont )
C++ Builder:
class TGPFont : public TGPBase
Visual C++ (MFC):
class CTGPFont : public CTGPBase
C# (.NET):
public ref class TGPFont : Mitov.SignalLab.Base
Summary
Defines the characteristics, such as family, height, size, and style, of a specific font.
Description
The TGPFont class encapsulates the characteristics, such as family, height, size, and style (or combination of styles), of a specific font. A Font object is used when drawing strings.
Methods
Public
- function GetLogFontA(g : IGPGraphics) : TLogFontA
- function GetLogFontW(g : IGPGraphics) : TLogFontW
- function Clone() : TGPFont
- function IsAvailable() : Boolean
- function GetStyle() : Integer
- function GetSize() : Single
- function GetUnit() : TGPUnit
- function GetHeight(graphics : IGPGraphics) : Single
- function GetHeight(dpi : Single) : Single
- function GetFamily() : IGPFontFamily