/aoo41x/main/canvas/source/cairo/ |
H A D | cairo_win32_cairo.cxx | 82 Win32Surface::Win32Surface( HDC hDC, int x, int y) : in Win32Surface() argument 84 cairo_win32_surface_create(hDC), in Win32Surface() 113 HDC hDC = CreateCompatibleDC(NULL); in Win32Surface() local 115 OSL_TRACE ("Surface::Surface(): Selecting bitmap %p into DC %p", rBmpData.pDDB, hDC); in Win32Surface() 116 hOrigBitmap = SelectObject( hDC, (HANDLE)rBmpData.pDDB ); in Win32Surface() 120 cairo_win32_surface_create(hDC), in Win32Surface() 205 aSystemGraphicsData.hDC = cairo_win32_surface_get_dc( mpSurface.get() ); in createVirtualDevice() 250 if (aSysData.hDC) in createSurface() 251 surf = SurfaceSharedPtr(new Win32Surface((HDC) aSysData.hDC, x, y)); in createSurface()
|
H A D | cairo_win32_cairo.hxx | 45 Win32Surface( HDC hDC, int x, int y );
|
/aoo41x/main/canvas/source/directx/ |
H A D | dx_canvas.cxx | 104 if( !pSysData || !pSysData->hDC ) in initialize() 111 maDeviceHelper.init( pSysData->hDC, in initialize() 117 Gdiplus::Graphics::FromHDC(pSysData->hDC)))); in initialize() 164 if( !pSysData || !pSysData->hDC ) in initialize() 171 maDeviceHelper.init( pSysData->hDC, in initialize() 179 hBmp=(HBITMAP)GetCurrentObject(pSysData->hDC, OBJ_BITMAP); in initialize() 180 if( !hBmp || GetObjectType(pSysData->hDC) != OBJ_MEMDC ) in initialize()
|
H A D | dx_devicehelper.cxx | 83 HDC hDC = getHDC(); in getPhysicalResolution() local 84 ENSURE_OR_THROW( hDC, in getPhysicalResolution() 87 const int nHorzRes( GetDeviceCaps( hDC, in getPhysicalResolution() 89 const int nVertRes( GetDeviceCaps( hDC, in getPhysicalResolution() 101 HDC hDC=getHDC(); in getPhysicalSize() local 102 ENSURE_OR_THROW( hDC, in getPhysicalSize() 105 const int nHorzSize( GetDeviceCaps( hDC, in getPhysicalSize() 107 const int nVertSize( GetDeviceCaps( hDC, in getPhysicalSize()
|
H A D | dx_textlayout_drawhelper.cxx | 127 aSystemGraphicsData.hDC = reinterpret_cast< ::HDC >(hdc); in drawText() 286 aSystemGraphicsData.hDC = reinterpret_cast< ::HDC >(GetDC( NULL )); in queryTextBounds()
|
/aoo41x/main/embedserv/source/embed/ |
H A D | syswinwrapper.cxx | 56 void DrawShading(LPRECT prc, HDC hDC, UINT cWidth); 402 HDC hDC; in HatchWndProc() local 415 hDC=BeginPaint(hWnd,&ps); in HatchWndProc() 417 phw->m_aTracker.Draw(hDC); in HatchWndProc()
|
H A D | tracker.cxx | 152 SelectClipRgn(hDC,rgnLast); in DrawDragRect() 153 GetClipBox(hDC,&rect); in DrawDragRect() 162 SelectClipRgn(hDC,rgnUpdate); in DrawDragRect() 164 GetClipBox(hDC,&rect); in DrawDragRect() 171 SelectClipRgn(hDC,NULL); in DrawDragRect() 563 void Tracker::Draw(HDC hDC) const in Draw() 566 SetMapMode(hDC,MM_TEXT); in Draw() 590 SetROP2(hDC,nOldROP); in Draw() 609 SetROP2(hDC,nOldROP); in Draw() 618 SetBkMode(hDC,OPAQUE); in Draw() [all …]
|
/aoo41x/main/embedserv/source/inc/ |
H A D | syswinwrapper.hxx | 96 void Draw(HDC hDC) const; 108 HDC hDC, HWND hWnd);
|
/aoo41x/main/fpicker/source/win32/filepicker/ |
H A D | PreviewCtrl.cxx | 93 sal_Int32 Himetric2Pixel( HDC hDC, sal_Int32 hmSize, sal_Int32 nIndex ) in Himetric2Pixel() argument 95 return MulDiv( hmSize, GetDeviceCaps( hDC, nIndex), HIMETRIC_INCH ); in Himetric2Pixel() 449 void SAL_CALL CFilePreview::onPaint( HWND hWnd, HDC hDC ) in onPaint() argument 465 int cxPicPIXEL = Himetric2Pixel( hDC, cxPicHIMETRIC, LOGPIXELSX ); in onPaint() 466 int cyPicPIXEL = Himetric2Pixel( hDC, cyPicHIMETRIC, LOGPIXELSY ); in onPaint() 481 hDC, in onPaint() 584 HDC hDC; in WndProc() local 587 hDC = BeginPaint( hWnd, &ps ); in WndProc() 588 s_FilePreviewInst->onPaint( hWnd, hDC ); in WndProc()
|
H A D | PreviewCtrl.hxx | 171 virtual void SAL_CALL onPaint( HWND hWnd, HDC hDC );
|
H A D | dibpreview.cxx | 243 void SAL_CALL CDIBPreview::onPaint(HWND hWnd, HDC hDC) in onPaint() argument 266 SetStretchBltMode(hDC, COLORONCOLOR); in onPaint() 276 hDC, nX, nY, cxDib, cyDib, in onPaint() 292 FillRect(hDC,&rc,(HBRUSH)(COLOR_INACTIVEBORDER + 1)); in onPaint() 299 FillRect(hDC,&rc,(HBRUSH)(COLOR_INACTIVEBORDER + 1)); in onPaint() 309 FillRect(hDC,&rc,(HBRUSH)(COLOR_INACTIVEBORDER + 1)); in onPaint() 316 FillRect(hDC,&rc,(HBRUSH)(COLOR_INACTIVEBORDER + 1)); in onPaint() 323 FillRect(hDC,&rc,(HBRUSH)(COLOR_INACTIVEBORDER + 1)); in onPaint() 378 HDC hDC; in WndProc() local 381 hDC = BeginPaint(hWnd,&ps); in WndProc() [all …]
|
H A D | dibpreview.hxx | 85 virtual void SAL_CALL onPaint( HWND hWnd, HDC hDC );
|
/aoo41x/main/sal/inc/systools/win32/ |
H A D | user9x.h | 149 HDC hDC, // handle to DC
|
/aoo41x/main/sfx2/source/appl/ |
H A D | shutdowniconw32.cxx | 719 clrPrevBkgnd = SetBkColor( lpdis->hDC, GetSysColor(COLOR_MENU) ); in OnDrawItem() 722 clrPrevText = SetTextColor( lpdis->hDC, GetSysColor( COLOR_GRAYTEXT ) ); in OnDrawItem() 727 clrPrevBkgnd = SetBkColor( lpdis->hDC, GetSysColor(COLOR_HIGHLIGHT) ); in OnDrawItem() 729 clrPrevBkgnd = SetBkColor( lpdis->hDC, GetSysColor(COLOR_MENU) ); in OnDrawItem() 731 hbrOld = (HBRUSH)SelectObject( lpdis->hDC, CreateSolidBrush( GetBkColor( lpdis->hDC ) ) ); in OnDrawItem() 734 …PatBlt(lpdis->hDC, aRect.left, aRect.top, aRect.right-aRect.left, aRect.bottom-aRect.top, PATCOPY); in OnDrawItem() 782 hfntOld = (HFONT) SelectObject(lpdis->hDC, (HFONT) CreateFontIndirect( &ncm.lfMenuFont )); in OnDrawItem() 791 DeleteObject( SelectObject( lpdis->hDC, hbrOld ) ); in OnDrawItem() 792 DeleteObject( SelectObject( lpdis->hDC, hfntOld) ); in OnDrawItem() 793 SetTextColor(lpdis->hDC, clrPrevText); in OnDrawItem() [all …]
|
/aoo41x/main/slideshow/source/engine/OGLTrans/ |
H A D | OGLTrans_TransitionerImpl.cxx | 216 HDC hDC; member 604 GLWin.hDC = GetDC(GLWin.hWnd); in createWindow() 639 SetPixelFormat(GLWin.hDC,WindowPix,&PixelFormatFront); in createWindow() 640 GLWin.hRC = wglCreateContext(GLWin.hDC); in createWindow() 641 wglMakeCurrent(GLWin.hDC,GLWin.hRC); in createWindow() 694 SwapBuffers(GLWin.hDC); in createWindow() 1133 wglMakeCurrent(GLWin.hDC,GLWin.hRC); in createWindow() 1149 SwapBuffers(GLWin.hDC); in createWindow() 1190 wglMakeCurrent( GLWin.hDC, 0 ); // kill Device Context in createWindow() 1192 ReleaseDC( GLWin.hWnd, GLWin.hDC ); // Release Window in createWindow() [all …]
|
/aoo41x/main/tools/inc/tools/ |
H A D | postsys.h | 231 BOOL WINAPI WIN_Rectangle( HDC hDC, int X1, int Y1, int X2, int Y2 ); 232 BOOL WINAPI WIN_Polygon( HDC hDC, CONST POINT * ppt, int ncnt ); 233 BOOL WINAPI WIN_PolyPolygon( HDC hDC, CONST POINT * ppt, LPINT npcnt, int ncnt );
|
H A D | postwin.h | 246 BOOL WINAPI WIN_Rectangle( HDC hDC, int X1, int Y1, int X2, int Y2 ); 247 BOOL WINAPI WIN_Polygon( HDC hDC, CONST POINT * ppt, int ncnt ); 248 BOOL WINAPI WIN_PolyPolygon( HDC hDC, CONST POINT * ppt, LPINT npcnt, int ncnt );
|
/aoo41x/main/vcl/inc/os2/ |
H A D | salvd.h | 57 HBITMAP ImplCreateVirDevBitmap( HDC hDC, HPS hPS, long nDX, long nDY,
|
/aoo41x/main/vcl/inc/vcl/ |
H A D | sysdata.hxx | 110 HDC hDC; // handle to a device context member
|
/aoo41x/main/vcl/inc/win/ |
H A D | saldata.hxx | 242 void ImplSalLogFontToFontA( HDC hDC, const LOGFONTA& rLogFont, Font& rFont ); 243 void ImplSalLogFontToFontW( HDC hDC, const LOGFONTW& rLogFont, Font& rFont ); 244 bool ImplIsFontAvailable( HDC hDC, const UniString& rName );
|
H A D | wincomp.hxx | 37 inline HPEN SelectPen( HDC hDC, HPEN hPen ) in SelectPen() argument 39 return (HPEN)SelectObject( hDC, (HGDIOBJ)hPen ); in SelectPen() 52 inline HBRUSH SelectBrush( HDC hDC, HBRUSH hBrush ) in SelectBrush() argument 54 return (HBRUSH)SelectObject( hDC, (HGDIOBJ)hBrush ); in SelectBrush() 67 inline HFONT SelectFont( HDC hDC, HFONT hFont ) in SelectFont() argument 69 return (HFONT)SelectObject( hDC, (HGDIOBJ)hFont ); in SelectFont() 82 inline HBITMAP SelectBitmap( HDC hDC, HBITMAP hBitmap ) in SelectBitmap() argument 84 return (HBITMAP)SelectObject( hDC, (HGDIOBJ)hBitmap ); in SelectBitmap()
|
/aoo41x/main/vcl/os2/source/app/ |
H A D | salinfo.cxx | 80 HDC hDC; 81 if( hDC = WinQueryWindowDC(HWND_DESKTOP) ) 84 DevQueryCaps(hDC, CAPS_COLOR_BITCOUNT, CAPS_COLOR_BITCOUNT, &bitCount);
|
/aoo41x/main/vcl/os2/source/gdi/ |
H A D | salgdi.cxx | 1053 aRes.hDC = mhDC; in GetGraphicsData()
|
H A D | salprn.cxx | 480 rc = DevEscape( hDC, in ImplIsDriverDJPEnabled() 1047 if ( !hDC ) in ImplSalCreateInfoPrn() 1057 DevCloseDC( hDC ); in ImplSalCreateInfoPrn() 1061 rDC = hDC; in ImplSalCreateInfoPrn() 1260 HDC hDC; in Setup() local 1269 mhDC = hDC; in Setup() 1308 HDC hDC; in SetPrinterData() local 1317 mhDC = hDC; in SetPrinterData() 1445 HDC hDC; in SetData() local 1453 mhDC = hDC; in SetData() [all …]
|
H A D | salvd.cxx | 52 HBITMAP ImplCreateVirDevBitmap( HDC hDC, HPS hPS, long nDX, long nDY, in ImplCreateVirDevBitmap() argument 58 DevQueryCaps( hDC, CAPS_COLOR_BITCOUNT, 1, &nDevBitCount ); in ImplCreateVirDevBitmap() 63 DevQueryCaps( hDC, CAPS_COLOR_PLANES, 1, &nPlanes ); in ImplCreateVirDevBitmap() 91 HDC hDC = DevOpenDC( hAB, OD_MEMORY, (PSZ)"*", 5, (PDEVOPENDATA)&aDevOpenStruc, 0 ); in CreateVirtualDevice() local 92 if ( !hDC ) in CreateVirtualDevice() 98 HPS hPS = Ft2CreatePS( hAB, hDC, &size, GPIT_MICRO | GPIA_ASSOC | PU_PELS ); in CreateVirtualDevice() 101 DevCloseDC( hDC ); in CreateVirtualDevice() 106 HBITMAP hBmp = ImplCreateVirDevBitmap( hDC, hPS, nDX, nDY, nBitCount ); in CreateVirtualDevice() 110 DevCloseDC( hDC ); in CreateVirtualDevice() 118 pVirGraphics->mhDC = hDC; in CreateVirtualDevice() [all …]
|