Home
last modified time | relevance | path

Searched refs:hDC (Results 1 – 25 of 37) sorted by path

12

/aoo41x/main/canvas/source/cairo/
H A Dcairo_win32_cairo.cxx82 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 Dcairo_win32_cairo.hxx45 Win32Surface( HDC hDC, int x, int y );
/aoo41x/main/canvas/source/directx/
H A Ddx_canvas.cxx104 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 Ddx_devicehelper.cxx83 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 Ddx_textlayout_drawhelper.cxx127 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 Dsyswinwrapper.cxx56 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 Dtracker.cxx152 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 Dsyswinwrapper.hxx96 void Draw(HDC hDC) const;
108 HDC hDC, HWND hWnd);
/aoo41x/main/fpicker/source/win32/filepicker/
H A DPreviewCtrl.cxx93 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 DPreviewCtrl.hxx171 virtual void SAL_CALL onPaint( HWND hWnd, HDC hDC );
H A Ddibpreview.cxx243 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 Ddibpreview.hxx85 virtual void SAL_CALL onPaint( HWND hWnd, HDC hDC );
/aoo41x/main/sal/inc/systools/win32/
H A Duser9x.h149 HDC hDC, // handle to DC
/aoo41x/main/sfx2/source/appl/
H A Dshutdowniconw32.cxx719 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 DOGLTrans_TransitionerImpl.cxx216 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 Dpostsys.h231 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 Dpostwin.h246 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 Dsalvd.h57 HBITMAP ImplCreateVirDevBitmap( HDC hDC, HPS hPS, long nDX, long nDY,
/aoo41x/main/vcl/inc/vcl/
H A Dsysdata.hxx110 HDC hDC; // handle to a device context member
/aoo41x/main/vcl/inc/win/
H A Dsaldata.hxx242 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 Dwincomp.hxx37 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 Dsalinfo.cxx80 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 Dsalgdi.cxx1053 aRes.hDC = mhDC; in GetGraphicsData()
H A Dsalprn.cxx480 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 Dsalvd.cxx52 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 …]

Completed in 122 milliseconds

12