Searched refs:hRefDC (Results 1 – 5 of 5) sorted by relevance
/dports/graphics/leptonica/leptonica-1.76.0/src/ |
H A D | leptwin.c | 271 HDC hRefDC; in DSCreateDIBSection() local 278 hRefDC = GetDC(NULL); in DSCreateDIBSection() 279 hBitmap = CreateDIBSection(hRefDC, pbmi, DIB_RGB_COLORS, in DSCreateDIBSection() 282 ReleaseDC(NULL, hRefDC); in DSCreateDIBSection()
|
/dports/x11-toolkits/blt/blt2.5/generic/ |
H A D | bltGrPs.c | 976 HDC hRefDC, hDC; in CreateWindowsEPS() local 1004 hRefDC = TkWinGetDrawableDC(graphPtr->display, in CreateWindowsEPS() 1015 hDC = CreateEnhMetaFile(hRefDC, NULL, NULL, Tcl_DStringValue(&dString)); in CreateWindowsEPS() 1036 size = GetWinMetaFileBits(hMetaFile, 0, NULL, MM_ANISOTROPIC, hRefDC); in CreateWindowsEPS() 1044 if (!GetWinMetaFileBits(hMetaFile, size, buffer, MM_ANISOTROPIC, hRefDC)) { in CreateWindowsEPS() 1079 TkWinReleaseDrawableDC(Tk_WindowId(graphPtr->tkwin), hRefDC, &state); in CreateWindowsEPS()
|
H A D | bltWinDraw.c | 252 HDC hRefDC; in CreateRotatedFont() local 257 hRefDC = GetDC(NULL); /* Get the desktop device context */ in CreateRotatedFont() 258 oldFont = SelectFont(hRefDC, hFont); in CreateRotatedFont() 259 result = ((GetTextMetrics(hRefDC, &tm)) && in CreateRotatedFont() 261 SelectFont(hRefDC, oldFont); in CreateRotatedFont() 262 ReleaseDC(NULL, hRefDC); in CreateRotatedFont()
|
H A D | bltGraph.c | 1769 HDC hRefDC, hDC; local 1774 hRefDC = TkWinGetDrawableDC(graphPtr->display, drawable, &state); 1783 hDC = CreateEnhMetaFile(hRefDC, NULL, NULL, title); 1817 result = CreateAPMetaFile(interp, hMetaFile, hRefDC, &mfh, 1830 TkWinReleaseDrawableDC(drawable, hRefDC, &state);
|
H A D | bltCanvEps.c | 838 hRefDC = TkWinGetDrawableDC(Tk_Display(tkwin), Tk_WindowId(tkwin), &state); 839 hDC = CreateEnhMetaFile(hRefDC, NULL, NULL, NULL);
|