NAME

GdipCreateFont  (GDIPLUS.@)

SYNOPSIS

 GpStatus WINGDIPAPI  GdipCreateFont
 (
  GDIPCONST GpFontFamily* fontFamily,
  REAL                    emSize,
  INT                     style,
  Unit                    unit,
  GpFont**                font
 )

DESCRIPTION

Create a new font based off of a FontFamily.

PARAMS

*fontFamily [In] Family to base the font off of.
emSize [In] Size of the font.
style [In] Bitwise OR of FontStyle enumeration.
unit [In] Unit emSize is measured in.
**font [In] the resulting Font object.

RETURNS

SUCCESS: Ok

FAILURE: InvalidParameter if fontfamily or font is NULL.

FAILURE: FontFamilyNotFound if an invalid FontFamily is given.

NOTES

UnitDisplay is unsupported. emSize is stored separately from lfHeight, to hold the fraction.

IMPLEMENTATION

Declared in "include/gdiplusflat.h". gitlab.winehq.org/wine/wine/blob/master/include/gdiplusflat.h

Implemented in "dlls/gdiplus/font.c". gitlab.winehq.org/wine/wine/blob/master/dlls/gdiplus/font.c


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.