Searched refs:hdc (Results 1 - 25 of 43) sorted by relevance

12

/macosx-10.10.1/vim-55/src/
H A Dxpm_w32.c47 HDC hdc = CreateCompatibleDC(NULL); local
50 res = XpmReadFileToImage(&hdc, filename, &img, &shp, &attr);
51 DeleteDC(hdc);
H A Dgui_w16.c1120 HDC hdc; local
1191 hdc = GetWindowDC(hwnd);
1192 oldFont = SelectFont(hdc, GetStockObject(SYSTEM_FONT));
1196 GetTextMetrics(hdc, &fontInfo);
1200 minButtonWidth = GetTextWidth(hdc, "Cancel", 6);
1219 textWidth = GetTextWidth(hdc, pstart, pend - pstart);
1247 textWidth = GetTextWidth(hdc, pstart, pend - pstart);
1272 textWidth = GetTextWidth(hdc, pstart, pend - pstart);
1408 SelectFont(hdc, oldFont);
1409 ReleaseDC(hwnd, hdc);
[all...]
H A Dgui_w32.c72 # define SelectFont(hdc, hfont) ((HFONT)SelectObject((hdc), (HGDIOBJ)(HFONT)(hfont)))
638 HDC hdc; local
653 hdc = GetWindowDC(hwnd);
654 hfntOld = SelectFont(hdc, font);
656 GetTextMetrics(hdc, &tm);
658 SelectFont(hdc, hfntOld);
659 ReleaseDC(hwnd, hdc);
3023 HDC hdc; local
3096 hdc
3670 HDC hdc; local
3744 HDC hdc; local
[all...]
H A Dgui_w48.c1289 HDC hdc = GetWindowDC(hwnd); local
1290 HFONT hfntOld = SelectFont(hdc, (HFONT)font);
1293 GetTextMetrics(hdc, &tm);
1302 SelectFont(hdc, hfntOld);
1304 ReleaseDC(hwnd, hdc);
1336 HDC hdc; local
1339 hdc = GetWindowDC(hwnd);
1342 GetDeviceCaps(hdc, vertical ? LOGPIXELSY : LOGPIXELSX));
1344 ReleaseDC(hwnd, hdc);
2171 GetTextWidth(HDC hdc, char_ argument
2185 GetTextWidthEnc(HDC hdc, char_u *str, int len) argument
2224 HDC hdc; local
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/samples/layout/
H A Dgdiglue.h26 rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc);
27 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc);
H A DGDIFontInstance.cpp113 HDC hdc = surface->getHDC(); local
119 SaveDC(hdc);
121 SetGraphicsMode(hdc, GM_ADVANCED);
122 ModifyWorldTransform(hdc, NULL, MWT_IDENTITY);
123 SetViewportOrgEx(hdc, 0, 0, NULL);
124 SetWindowOrgEx(hdc, 0, 0, NULL);
126 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX);
127 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY);
133 DPtoLP(hdc, &pt, 1);
161 SelectObject(hdc, fFon
198 HDC hdc = surface->getHDC(); local
344 HDC hdc = fSurface->getHDC(); local
370 HDC hdc = fSurface->getHDC(); local
[all...]
H A Dgdiglue.cpp37 rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc) argument
39 return (rs_surface *) new GDISurface(hdc);
42 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc) argument
46 rs->setHDC(hdc);
H A Dclayout.c120 HDC hdc; local
133 hdc = GetDC(hwnd);
135 surface = rs_gdiRenderingSurfaceOpen(hdc);
141 ReleaseDC(hwnd, hdc);
154 ReleaseDC(hwnd, hdc);
235 hdc = BeginPaint(hwnd, &ps);
236 SetBkMode(hdc, TRANSPARENT);
247 rs_gdiRenderingSurfaceSetHDC(surface, hdc);
296 hdc = GetDC(hwnd);
297 rs_gdiRenderingSurfaceSetHDC(surface, hdc);
[all...]
H A Dlayout.cpp119 HDC hdc; local
132 hdc = GetDC(hwnd);
133 surface = new GDISurface(hdc);
139 ReleaseDC(hwnd, hdc);
152 ReleaseDC(hwnd, hdc);
233 hdc = BeginPaint(hwnd, &ps);
234 SetBkMode(hdc, TRANSPARENT);
245 surface->setHDC(hdc);
292 hdc = GetDC(hwnd);
293 surface->setHDC(hdc);
[all...]
/macosx-10.10.1/tcl-105/tk/tk/win/
H A DttkWinTheme.c168 HDC hdc = TkWinGetDrawableDC(Tk_Display(tkwin), d, &dcState); local
170 DrawFrameControl(hdc, &rc,
173 TkWinReleaseDrawableDC(d, hdc, &dcState);
213 HDC hdc; local
219 hdc = TkWinGetDrawableDC(Tk_Display(tkwin), d, &dcState);
220 DrawEdge(hdc, &rc, ReliefToEdge(relief), BF_RECT | xFlags);
221 TkWinReleaseDrawableDC(d, hdc, &dcState);
264 HDC hdc; local
269 hdc = TkWinGetDrawableDC(Tk_Display(tkwin), d, &dcState);
270 DrawEdge(hdc,
339 HDC hdc; local
399 HDC hdc = TkWinGetDrawableDC(Tk_Display(tkwin), d, &dcState); local
438 HDC hdc; local
508 HDC hdc = TkWinGetDrawableDC(Tk_Display(tkwin), d, &dcState); local
574 HDC hdc; local
631 HDC hdc; local
664 HDC hdc = TkWinGetDrawableDC(Tk_Display(tkwin), d, &dcState); local
[all...]
H A DtkWinFont.c147 HDC hdc; member in struct:CanUse
192 static FontFamily * AllocFontFamily(HDC hdc, HFONT hFont, int base);
193 static SubFont * CanUseFallback(HDC hdc, WinFont *fontPtr,
196 static SubFont * CanUseFallbackWithAliases(HDC hdc, WinFont *fontPtr,
199 static int FamilyExists(HDC hdc, CONST char *faceName);
200 static char * FamilyOrAliasExists(HDC hdc, CONST char *faceName);
211 static void InitSubFont(HDC hdc, HFONT hFont, int base,
218 static int LoadFontRanges(HDC hdc, HFONT hFont,
221 static void MultiFontTextOut(HDC hdc, WinFont *fontPtr,
459 HDC hdc
454 HDC hdc = GetDC(NULL); local
514 HDC hdc; local
631 HDC hdc; local
749 HDC hdc = GetDC(fontPtr->hwnd); local
825 HDC hdc; local
1286 MultiFontTextOut( HDC hdc, WinFont *fontPtr, CONST char *source, int numBytes, int x, int y) argument
1380 HDC hdc; local
1507 InitSubFont( HDC hdc, HFONT hFont, int base, SubFont *subFontPtr) argument
1573 AllocFontFamily( HDC hdc, HFONT hFont, int base) argument
1761 HDC hdc; local
1888 HDC hdc; local
2105 CanUseFallbackWithAliases( HDC hdc, WinFont *fontPtr, char *faceName, int ch, Tcl_DString *nameTriedPtr, SubFont **subFontPtrPtr) argument
2208 CanUseFallback( HDC hdc, WinFont *fontPtr, char *faceName, int ch, SubFont **subFontPtrPtr) argument
2376 FamilyExists( HDC hdc, CONST char *faceName) argument
2420 FamilyOrAliasExists( HDC hdc, CONST char *faceName) argument
2579 LoadFontRanges( HDC hdc, HFONT hFont, USHORT **startCountPtr, USHORT **endCountPtr, int *symbolPtr) argument
[all...]
H A DtkWinImage.c299 HDC hdc, hdcMem;
317 hdc = TkWinGetDrawableDC(display, d, &state);
323 hbmp = CreateCompatibleBitmap(hdc, (int) width, (int) height);
324 hdcMem = CreateCompatibleDC(hdc);
333 hPalPrev2 = SelectPalette(hdc, hPal, FALSE);
334 n = RealizePalette(hdc);
336 UpdateColors(hdc);
340 ret = BitBlt(hdcMem, 0, 0, (int) width, (int) height, hdc, x, y, SRCCOPY);
342 SelectPalette(hdc, hPalPrev2, FALSE);
345 TkWinReleaseDrawableDC(d, hdc,
294 HDC hdc, hdcMem; local
[all...]
H A DtkWinInt.h81 HDC hdc; member in struct:__anon13423
99 #define TkWinGetHDC(w) (((TkWinDrawable *) w)->winDC.hdc)
/macosx-10.10.1/emacs-93/emacs/src/
H A Dw32xfns.c86 select_palette (FRAME_PTR f, HDC hdc) argument
98 SelectPalette (hdc, display_info->palette, FALSE);
102 if (RealizePalette (hdc))
113 deselect_palette (FRAME_PTR f, HDC hdc) argument
116 SelectPalette (hdc, f->output_data.w32->old_palette, FALSE);
124 HDC hdc; local
131 hdc = GetDC (f->output_data.w32->window_desc);
135 if (hdc)
136 select_palette (f, hdc);
138 return hdc;
142 release_frame_dc(FRAME_PTR f, HDC hdc) argument
[all...]
H A Dw32term.c333 w32_set_clip_rectangle (HDC hdc, RECT *rect)
338 SelectClipRgn (hdc, clip_region);
342 SelectClipRgn (hdc, NULL);
348 w32_draw_rectangle (HDC hdc, XGCValues *gc, int x, int y,
356 oldhb = SelectObject (hdc, hb);
357 oldhp = SelectObject (hdc, hp);
359 Rectangle (hdc, x, y, x + width, y + height);
361 SelectObject (hdc, oldhb);
362 SelectObject (hdc, oldhp);
369 w32_fill_rect (f, hdc, pi
329 w32_set_clip_rectangle(HDC hdc, RECT *rect) argument
344 w32_draw_rectangle(HDC hdc, XGCValues *gc, int x, int y, int width, int height) argument
383 HDC hdc = get_frame_dc (f); local
497 HDC hdc; local
657 HDC hdc = get_frame_dc (f); local
680 HDC hdc; local
874 HDC hdc = GetDC (NULL); local
1452 HDC hdc = get_frame_dc (f); local
1838 HDC hdc = get_frame_dc (f); local
2131 HDC hdc = CreateCompatibleDC (s->hdc); local
2394 HDC hdc = s->hdc; local
2597 HDC hdc; local
3730 HDC hdc; local
3762 HDC hdc; local
4107 HDC hdc = GetDC (window); local
4224 HDC hdc = get_frame_dc (f); local
4828 HDC hdc; local
4839 ReleaseDC (FRAME_W32_WINDOW (f), hdc); local
4924 HDC hdc; local
4970 HDC hdc; local
5051 HDC hdc; local
6187 HDC hdc; local
6220 ReleaseDC (GetDesktopWindow (), hdc); local
[all...]
H A Dw32term.h584 #define w32_fill_area(f,hdc,pix,x,y,nx,ny) \
591 w32_fill_rect (f,hdc,pix,&rect); \
594 #define w32_clear_rect(f,hdc,lprect) \
595 w32_fill_rect (f,hdc,f->output_data.x->background_pixel,lprect)
597 #define w32_clear_area(f,hdc,px,py,nx,ny) \
598 w32_fill_area (f,hdc,f->output_data.x->background_pixel,px,py,nx,ny)
679 extern void select_palette (struct frame * f, HDC hdc);
680 extern void deselect_palette (struct frame * f, HDC hdc);
H A Dw32bdf.h122 int w32_BDF_TextOut (bdffont *fontp, HDC hdc, int left,
H A Dw32bdf.c591 create_offscreen_bitmap(HDC hdc, int width, int height, unsigned char **bitsp) argument
607 return CreateDIBSection(hdc, (LPBITMAPINFO)&info,
630 w32_BDF_TextOut(bdffont *fontp, HDC hdc, int left, argument
648 hCompatDC = CreateCompatibleDC(hdc);
652 textalign = GetTextAlign(hdc);
654 hFgBrush = CreateSolidBrush(GetTextColor(hdc));
655 hOrgBrush = SelectObject(hdc, hFgBrush);
685 && (DIBsection_hdc == hdc)
690 hBMP = create_offscreen_bitmap(hdc, width, height, &bits);
691 DIBsection_hdc = hdc;
[all...]
H A Dw32fns.c1844 HDC hdc = get_frame_dc (f);
1845 w32_clear_area (f, hdc, 0, y, width, height);
1846 release_frame_dc (f, hdc);
2850 HDC hdc = get_frame_dc (f);
2852 w32_clear_rect (f, hdc, &wmsg.rect);
2853 release_frame_dc (f, hdc);
3529 HDC hdc = GetDC (hwnd);
3530 HFONT menu_font = GetCurrentObject (hdc, OBJ_FONT);
3538 old_font = SelectObject (hdc, menu_font);
3544 GetTextExtentPoint32W (hdc, (WCHA
1836 HDC hdc = get_frame_dc (f); local
2839 HDC hdc = get_frame_dc (f); local
3518 HDC hdc = GetDC (hwnd); local
3566 HDC hdc = pDis->hDC; local
4578 HDC hdc; local
5752 HDC hdc; member in struct:enumfont_t
6134 HDC hdc; local
6442 HDC hdc; variable
6525 HDC hdc; variable
6547 HDC hdc; variable
7994 HDC hdc; variable
8028 ReleaseDC (FRAME_W32_WINDOW (f), hdc); variable
[all...]
/macosx-10.10.1/tcl-105/tk84/tk/win/
H A DtkWinFont.c147 HDC hdc; member in struct:CanUse
190 static FontFamily * AllocFontFamily(HDC hdc, HFONT hFont, int base);
191 static SubFont * CanUseFallback(HDC hdc, WinFont *fontPtr,
194 static SubFont * CanUseFallbackWithAliases(HDC hdc, WinFont *fontPtr,
197 static int FamilyExists(HDC hdc, CONST char *faceName);
198 static char * FamilyOrAliasExists(HDC hdc, CONST char *faceName);
209 static void InitSubFont(HDC hdc, HFONT hFont, int base,
211 static int LoadFontRanges(HDC hdc, HFONT hFont,
214 static void MultiFontTextOut(HDC hdc, WinFont *fontPtr,
356 HDC hdc;
353 HDC hdc; local
469 HDC hdc; local
608 HDC hdc; local
978 MultiFontTextOut( HDC hdc, WinFont *fontPtr, CONST char *source, int numBytes, int x, int y) argument
1072 HDC hdc; local
1198 InitSubFont( HDC hdc, HFONT hFont, int base, SubFont *subFontPtr) argument
1266 AllocFontFamily( HDC hdc, HFONT hFont, int base) argument
1456 HDC hdc; local
1583 HDC hdc; local
1804 CanUseFallbackWithAliases( HDC hdc, WinFont *fontPtr, char *faceName, int ch, Tcl_DString *nameTriedPtr, SubFont **subFontPtrPtr) argument
1907 CanUseFallback( HDC hdc, WinFont *fontPtr, char *faceName, int ch, SubFont **subFontPtrPtr) argument
2073 FamilyExists( HDC hdc, CONST char *faceName) argument
2117 FamilyOrAliasExists( HDC hdc, CONST char *faceName) argument
2276 LoadFontRanges( HDC hdc, HFONT hFont, USHORT **startCountPtr, USHORT **endCountPtr, int *symbolPtr) argument
[all...]
H A DtkWinInt.h80 HDC hdc; member in struct:__anon13625
98 #define TkWinGetHDC(w) (((TkWinDrawable *) w)->winDC.hdc)
H A DtkWinImage.c300 HDC hdc, hdcMem;
318 hdc = TkWinGetDrawableDC(display, d, &state);
321 hbmp = CreateCompatibleBitmap(hdc, width, height);
322 hdcMem = CreateCompatibleDC(hdc);
331 hPalPrev2 = SelectPalette(hdc, hPal, FALSE);
332 n = RealizePalette(hdc);
334 UpdateColors (hdc);
338 ret = BitBlt(hdcMem, 0, 0, width, height, hdc, x, y, SRCCOPY);
340 SelectPalette(hdc, hPalPrev2, FALSE);
343 TkWinReleaseDrawableDC(d, hdc,
295 HDC hdc, hdcMem; local
[all...]
/macosx-10.10.1/OpenSSL098-52/src/apps/
H A Dwinrand.c118 HDC hdc; local
126 hdc = BeginPaint(hwnd, &ps);
128 DrawText(hdc, "Seeding the PRNG. Please move the mouse!", -1,
/macosx-10.10.1/WTF-7600.1.24/wtf/win/
H A DGDIObject.h120 template<> inline void deleteObject<HDC>(HDC hdc) argument
122 if (hdc)
123 ::DeleteDC(hdc);
/macosx-10.10.1/WebKit-7600.1.25/win/
H A DWebNodeHighlight.cpp144 auto hdc = adoptGDIObject(::CreateCompatibleDC(HWndDC(m_overlay))); local
145 if (!hdc)
161 auto hbmp = adoptGDIObject(::CreateDIBSection(hdc.get(), &bitmapInfo, DIB_RGB_COLORS, &pixels, 0, 0));
164 ::SelectObject(hdc.get(), hbmp.get());
166 GraphicsContext context(hdc.get());
185 ::UpdateLayeredWindow(m_overlay, HWndDC(0), &dstPoint, &size, hdc.get(), &srcPoint, 0, &bf, ULW_ALPHA);

Completed in 229 milliseconds

12