MaskBlt 該函數使用特定的掩碼和光柵操作來對源和目標位元影像的顏色資料進行組合。原型:BOOL MaskBlt( HDC hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, HDC hdcSrc, int nXSrc, int nYSrc, HBITMAP hbmMask, int xMask, int yMask, DWORD
如果你做過Windows mobile Gesture開發,就會在 GesturePhysicsEngine.h 標頭檔發現如下一段定義說明:/// <summary>/// Defines a common value for a normal frame delay rate expected to be used when displaying /// output from the physics engine. We are aiming at 25fps and
AlphaBlend 該函數顯示擁有透明或半透明像素的位元影像。 SyntaxBOOL AlphaBlend( HDC hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest, HDC hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int
StretchBlt 函數從源矩形中複製一個位元影像到目標矩形,必要時按目前目標裝置設定的模式進行映像的展開或壓縮以滿足目標矩形的尺寸。原型:BOOL StretchBlt( HDC hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeighDest, HDC hdcSrc, int nXOriginSrc, int nYOriginSrc, int
TransparentImage該函數傳送一張位元影像,但是位元影像中指定顏色會被忽略。原型:BOOL TransparentImage( HDC hdcDest, LONG DstX, LONG DstY, LONG DstCx, LONG DstCy, HANDLE hSrc, LONG SrcX, LONG SrcY, LONG SrcCx, LONG SrcCy, COLORREF TransparentColor);參數:hdcDest:
SaveDC 儲存指定裝置上下文環境的目前狀態,通過拷貝資料(該資料描述選擇的對象和圖形模式,比如位元影像、畫筆、調色盤、字型、筆、地區、繪圖模式、映射模式)到上下文環境堆棧來完成。This function saves the current state of the specified device context by copying data describing selected objects and graphic modes (such as the bitmap,