勇芳软件工作室.汉化:  GDI+ Flat API >

Font Functions

Previous pageReturn to chapter overviewNext page

平面功能

包装方式

备注

GpStatus WINGDIPAPI GdipCreateFontFromDC(HDC hdc,GpFont **字体)

字形

字体(IN HDC hdc)


GpStatus WINGDIPAPI GdipCreateFontFromLogfontA(HDC hdc,GDIPCONST LOGFONTA * logfont,GpFont ** font)

字形

字体(IN HDC hdc,IN const LOGFONTA * logfont)


GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC hdc,GDIPCONST LOGFONTW * logfont,GpFont ** font)

字形

字体(IN HDC hdc,IN const LOGFONTW * logfont)


GpStatus WINGDIPAPI GdipCreateFont(GDIPCONST GpFontFamily * fontFamily,REAL emSize,INT样式,单位单位,GpFont **字体)

字形

字体(IN const FontFamily * family,IN REAL emSize,IN INT style,IN Unit unit)


GpStatus WINGDIPAPI GdipCloneFont(GpFont * font,GpFont ** cloneFont)

字形

Font * Clone()const


GpStatus WINGDIPAPI GdipDeleteFont(GpFont * font)

字形

?字体()


GpStatus WINGDIPAPI GdipGetFamily(GpFont * font,GpFontFamily ** family)

字形

状态GetFamily(OUT FontFamily * family)const


GpStatus WINGDIPAPI GdipGetFontStyle(GpFont * font,INT * style)

字形

INT GetStyle()const


GpStatus WINGDIPAPI GdipGetFontSize(GpFont * font,REAL * size)

字形

REAL GetSize()const


GpStatus WINGDIPAPI GdipGetFontUnit(GpFont * font,Unit * unit)

字形

单元GetUnit()const


GpStatus WINGDIPAPI GdipGetFontHeight(GDIPCONST GpFont * font,GDIPCONST GpGraphics * graphics,REAL * height)

字形

REAL GetHeight(IN const Graphics * graphics)const


GpStatus WINGDIPAPI GdipGetFontHeightGivenDPI(GDIPCONST GpFont * font,REAL dpi,REAL * height)

字形

REAL GetHeight(IN REAL dpi)const


GpStatus WINGDIPAPI GdipGetLogFontA(GpFont * font,GpGraphics * graphics,LOGFONTA * logfontA)

字形

状态GetLogFontA(IN const Graphics * g,OUT LOGFONTA * logfontA)const


GpStatus WINGDIPAPI GdipGetLogFontW(GpFont * font,GpGraphics * graphics,LOGFONTW * logfontW)

字形

状态GetLogFontW(IN const Graphics * g,OUT LOGFONTW * logfontW)const


GpStatus WINGDIPAPI GdipNewInstalledFontCollection(GpFontCollection ** fontCollection)en

InstalledFontCollection

InstalledFontCollection()


GpStatus WINGDIPAPI GdipNewPrivateFontCollection(GpFontCollection ** fontCollection)en

PrivateFontCollection

PrivateFontCollection()


GpStatus WINGDIPAPI GdipDeletePrivateFontCollection(GpFontCollection ** fontCollection)en

PrivateFontCollection

~PrivateFontCollection()


GpStatus WINGDIPAPI GdipGetFontCollectionFamilyCount(GpFontCollection * fontCollection,INT * numFound)

FontCollection

GetFamilyCount INT()const的


GpStatus WINGDIPAPI GdipGetFontCollectionFamilyList(GpFontCollection * fontCollection,INT numSought,GpFontFamily * gpfamilies [],INT * numFound)

FontCollection

状态GetFamilies(IN INT numSought,OUT FontFamily * gpfamilies,OUT INT * numFound)const


GpStatus WINGDIPAPI GdipPrivateAddFontFile(GpFontCollection * fontCollection,GDIPCONST WCHAR * filename)

PrivateFontCollection

状态AddFontFile(IN const WCHAR * filename)


GpStatus WingDIPAPI GdipPrivateAddMemoryFont(GpFontCollection * fontCollection,GDIPCONST void * memory,INT length)

PrivateFontCollection

状态AddMemoryFont(IN const void * memory,IN INT length)