#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
Go to the source code of this file.
|
HDC WINAPI | WinGCreateDC (void) |
|
BOOL WINAPI | WinGRecommendDIBFormat (BITMAPINFO *bmi) |
|
HBITMAP WINAPI | WinGCreateBitmap (HDC hdc, BITMAPINFO *bmi, void **bits) |
|
void *WINAPI | WinGGetDIBPointer (HBITMAP hbmp, BITMAPINFO *bmi) |
|
UINT WINAPI | WinGSetDIBColorTable (HDC hdc, UINT start, UINT end, RGBQUAD *colors) |
|
UINT WINAPI | WinGGetDIBColorTable (HDC hdc, UINT start, UINT end, RGBQUAD *colors) |
|
HPALETTE WINAPI | WinGCreateHalftonePalette (void) |
|
HBRUSH WINAPI | WinGCreateHalftoneBrush (HDC hdc, COLORREF color, INT type) |
|
BOOL WINAPI | WinGStretchBlt (HDC hdcDst, INT xDst, INT yDst, INT widthDst, INT heightDst, HDC hdcSrc, INT xSrc, INT ySrc, INT widthSrc, INT heightSrc) |
|
BOOL WINAPI | WinGBitBlt (HDC hdcDst, INT xDst, INT yDst, INT width, INT height, HDC hdcSrc, INT xSrc, INT ySrc) |
|
◆ WinGBitBlt()
Definition at line 139 of file wing32.c.
141{
143}
static VOID BitBlt(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Width, _In_ ULONG Height, _In_reads_bytes_(Delta *Height) PUCHAR Buffer, _In_ ULONG BitsPerPixel, _In_ ULONG Delta)
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
◆ WinGCreateBitmap()
Definition at line 61 of file wing32.c.
62{
64}
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
HBITMAP WINAPI CreateDIBSection(HDC hDC, CONST BITMAPINFO *BitmapInfo, UINT Usage, VOID **Bits, HANDLE hSection, DWORD dwOffset)
◆ WinGCreateDC()
Definition at line 31 of file wing32.c.
32{
34}
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
◆ WinGCreateHalftoneBrush()
Definition at line 115 of file wing32.c.
116{
118}
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
◆ WinGCreateHalftonePalette()
HPALETTE WINAPI WinGCreateHalftonePalette |
( |
void |
| ) |
|
Definition at line 100 of file wing32.c.
101{
103 HPALETTE hpal;
104
108
109 return hpal;
110}
HPALETTE WINAPI CreateHalftonePalette(_In_opt_ HDC)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
HDC WINAPI GetDC(_In_opt_ HWND)
◆ WinGGetDIBColorTable()
Definition at line 92 of file wing32.c.
93{
95}
UINT WINAPI GetDIBColorTable(HDC hDC, UINT iStartIndex, UINT cEntries, RGBQUAD *pColors)
◆ WinGGetDIBPointer()
Definition at line 69 of file wing32.c.
70{
72
74 {
76 return ds.dsBm.bmBits;
77 }
79}
BITMAPINFOHEADER bmiHeader
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
◆ WinGRecommendDIBFormat()
Definition at line 39 of file wing32.c.
40{
41 if (!bmi)
return FALSE;
42
54
56}
◆ WinGSetDIBColorTable()
Definition at line 84 of file wing32.c.
85{
87}
UINT WINAPI SetDIBColorTable(_In_ HDC hdc, _In_ UINT iStart, _In_ UINT cEntries, _In_reads_(cEntries) const RGBQUAD *prgbq)
◆ WinGStretchBlt()
Definition at line 123 of file wing32.c.
125{
128
134}
BOOL WINAPI StretchBlt(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_opt_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD)
int WINAPI SetStretchBltMode(_In_ HDC, _In_ int)