Home
last modified time | relevance | path

Searched refs:hdc (Results 1 – 2 of 2) sorted by relevance

/petsc/src/sys/classes/draw/impls/win32/
H A Dwin32draw.c12 #define SelectPen(hdc, hpen) ((HPEN)SelectObject((hdc), (HGDIOBJ)(HPEN)(hpen))) argument
15 #define SelectFont(hdc, hfont) ((HFONT)SelectObject((hdc), (HGDIOBJ)(HFONT)(hfont))) argument
18 #define SelectBrush(hdc, hbrush) ((HBRUSH)SelectObject((hdc), (HGDIOBJ)(HBRUSH)(hbrush))) argument
50 HDC hdc = GetDC(windraw->hWnd); in PetscDrawSetDoubleBuffer_Win32() local
53 windraw->node->DoubleBuffer = CreateCompatibleDC(hdc); in PetscDrawSetDoubleBuffer_Win32()
54 windraw->node->DoubleBufferBit = CreateCompatibleBitmap(hdc, windraw->w, windraw->h); in PetscDrawSetDoubleBuffer_Win32()
62 ReleaseDC(windraw->hWnd, hdc); in PetscDrawSetDoubleBuffer_Win32()
69 HDC hdc = GetDC(windraw->hWnd); in PetscDrawFlush_Win32() local
75 BitBlt(hdc, 0, 0, windraw->w, windraw->h, windraw->node->DoubleBuffer, 0, 0, SRCCOPY); in PetscDrawFlush_Win32()
76 ReleaseDC(windraw->hWnd, hdc); in PetscDrawFlush_Win32()
[all …]
H A Dwin32draw.h39 HDC hdc; member