GdipCreateFont(3w)
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
Defined in "gdiplusflat.h".
- Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/gdiplus/font.c".