Changeset 160 for Include/api_gdi.sbp


Ignore:
Timestamp:
Mar 13, 2007, 1:13:06 AM (17 years ago)
Author:
イグトランス (egtra)
Message:

API宣言の追加(主にフォーラムに投稿されたものより)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/api_gdi.sbp

    r141 r160  
    1616Const _FuncName_GetEnhMetaFileDescription = "GetEnhMetaFileDescriptionW"
    1717Const _FuncName_GetObject = "GetObjectW"
     18Const _FuncName_GetTextFace = "GetTextFaceW"
    1819Const _FuncName_GetTextMetrics = "GetTextMetricsW"
    1920Const _FuncName_ResetDC = "ResetDCW"
     
    3233Const _FuncName_GetEnhMetaFileDescription = "GetEnhMetaFileDescriptionA"
    3334Const _FuncName_GetObject = "GetObjectA"
     35Const _FuncName_GetTextFace = "GetTextFaceA"
    3436Const _FuncName_GetTextMetrics = "GetTextMetricsA"
    3537Const _FuncName_ResetDC = "ResetDCA"
     
    428430Const DMCOLLATE_TRUE =  1
    429431
    430 Const CCHDEVICENAME = 32
    431432Const CCHFORMNAME = 32
    432433Type DEVMODEW
     
    571572
    572573Declare Function AbortPath Lib "gdi32" (hdc As HDC) As BOOL
     574Type BLENDFUNCTION
     575    BlendOp As Byte
     576    BlendFlags As Byte
     577    SourceConstantAlpha As Byte
     578    AlphaFormat As Byte
     579End Type
     580Declare Function AlphaBlend Lib "msimg32" (hdcDest As HDC, nXDest As Long, nYDest As Long, nDestWidth As Long, nDestHeight As Long, hdcSrc As HDC, XSrc As Long, YSrc As Long, nSrcWidth As Long, nSrcHeight As Long, ByRef blendfunc As BLENDFUNCTION) As Long
    573581Declare Function Arc Lib "gdi32" (hdc As HDC, nLeftRect As Long, nTopRect As Long, nRightRect As Long, nBottomRect As Long, nXStartArc As Long, nYStartArc As Long, nXEndArc As Long, nYEndArc As Long) As BOOL
    574582Declare Function BeginPath Lib "gdi32" (hdc As HDC) As BOOL
     
    10141022Declare Function GetTextExtentPoint32 Lib "gdi32" Alias "GetTextExtentPoint32A" (hdc As HDC, pString As PCSTR, cbString As Long, ByRef Size As SIZE) As Long
    10151023#endif
     1024Declare Function GetTextFace Lib "gdi32" Alias _FuncName_GetTextFace (hdc As HDC, nCount As Long, lpFacename As LPTSTR)As Long
    10161025
    10171026Const TMPF_FIXED_PITCH = &H01
     
    11611170Declare Function TextOut Lib "gdi32" Alias "TextOutA" (hdc As HDC, nXStart As Long, nYStart As Long, pString As PCSTR, cbString As Long) As Long
    11621171#endif
     1172 Declare Function TransparentBlt Lib "msimg32" (hdcDest As HDC, nXDest As Long, nYDest As Long, nDestWidth As Long, nDestHeight As Long, hdcSrc As HDC, XSrc As Long, YSrc As Long, nSrcWidth As Long, nSrcHeight As Long, dwRop As DWord) As Long
    11631173
    11641174/* Pixel Format */
Note: See TracChangeset for help on using the changeset viewer.