Changeset 119 for Include/api_gdi.sbp
- Timestamp:
- Feb 23, 2007, 11:00:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/api_gdi.sbp
r1 r119 484 484 lfFaceName[ELM(LF_FACESIZE)] As WCHAR 485 485 End Type 486 #ifdef UNICODE 487 TypeDef LOGFONT = LOGFONTW 488 #else 486 489 TypeDef LOGFONT = LOGFONTA 490 #endif 487 491 Declare Function CreateFontIndirect Lib "gdi32" Alias "CreateFontIndirectA" (ByRef lplf As LOGFONT) As HFONT 488 492 … … 730 734 731 735 Declare Function GetTextColor Lib "gdi32" (hdc As HDC) As DWord 732 Declare Function GetTextExtentPoint32 Lib "gdi32" Alias "GetTextExtentPoint32A" (hdc As HDC, lpString As BytePtr, cbString As Long, ByRef lpSize As SIZE) As Long 736 Declare Function GetTextExtentPoint32A Lib "gdi32" (hdc As HDC, pString As PCSTR, cbString As Long, ByRef Size As SIZE) As Long 737 Declare Function GetTextExtentPoint32W Lib "gdi32" (hdc As HDC, pString As PCWSTR, cbString As Long, ByRef Size As SIZE) As Long 738 #ifdef UNICODE 739 Declare Function GetTextExtentPoint32 Lib "gdi32" Alias "GetTextExtentPoint32W" (hdc As HDC, pString As PCTSTR, cbString As Long, ByRef Size As SIZE) As Long 740 #else 741 Declare Function GetTextExtentPoint32 Lib "gdi32" Alias "GetTextExtentPoint32A" (hdc As HDC, pString As PCTSTR, cbString As Long, ByRef Size As SIZE) As Long 742 #endif 733 743 734 744 Const TMPF_FIXED_PITCH = &H01 … … 836 846 Declare Function StrokeAndFillPath Lib "gdi32" (hdc As HDC) As Long 837 847 Declare Function StrokePath Lib "gdi32" (DC As DWord) As Long 838 Declare Function TextOut Lib "gdi32" Alias "TextOutA" (hdc As HDC, nXStart As Long, nYStart As Long, lpString As BytePtr, cbString As Long) As Long 839 848 Declare Function TextOutA Lib "gdi32" (hdc As HDC, nXStart As Long, nYStart As Long, pString As PCSTR, cbString As Long) As Long 849 Declare Function TextOutW Lib "gdi32" (hdc As HDC, nXStart As Long, nYStart As Long, pString As PCWSTR, cbString As Long) As Long 850 #ifdef UNICODE 851 Declare Function TextOut Lib "gdi32" Alias "TextOutW" (hdc As HDC, nXStart As Long, nYStart As Long, pString As PCTSTR, cbString As Long) As Long 852 #else 853 Declare Function TextOut Lib "gdi32" Alias "TextOutA" (hdc As HDC, nXStart As Long, nYStart As Long, pString As PCTSTR, cbString As Long) As Long 854 #endif 840 855 841 856 /* Pixel Format */
Note:
See TracChangeset
for help on using the changeset viewer.