Home
last modified time | relevance | path

Searched refs:hDC (Results 1 – 25 of 38) sorted by relevance

12

/aoo42x/main/vcl/win/source/gdi/
H A Dsalnativewidgets-luna.cxx350 hr = vsAPI.DrawThemeText( hTheme, hDC, iPart, iState, in ImplDrawTheme()
437 sal_Bool ImplDrawNativeControl( HDC hDC, HTHEME hTheme, RECT rc, in ImplDrawNativeControl() argument
698 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
718 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
746 return ImplDrawTheme( hTheme, hDC, iPart, iState, rc, aCaption); in ImplDrawNativeControl()
945 ImplDrawTheme( hTheme, hDC, iPart, iState, aTRect, aCaption ); in ImplDrawNativeControl()
1032 Rectangle aRect( ImplGetThemeRect( hTheme, hDC, in ImplDrawNativeControl()
1222 HDC hDC = GetDC( mhWnd ); in getNativeControlRegion() local
1268 Rectangle aRect( ImplGetThemeRect( hTheme, hDC, PP_BAR, in getNativeControlRegion()
1338 Rectangle aRect( ImplGetThemeRect( hTheme, hDC, in getNativeControlRegion()
[all …]
H A Dsalprn.cxx1362 HDC hDC = 0; in ImplCreateICW_WithCatch() local
1366 return hDC; in ImplCreateICW_WithCatch()
1373 HDC hDC = 0; in ImplCreateICA_WithCatch() local
1377 return hDC; in ImplCreateICA_WithCatch()
1438 return hDC; in ImplCreateSalPrnIC()
1496 if ( !hDC ) in CreateInfoPrinter()
1904 if ( hDC ) in ~WinSalPrinter()
2031 if ( !hDC ) in StartJob()
2038 mhDC = hDC; in StartJob()
2225 if ( hDC ) in AbortJob()
[all …]
H A Dsalvd.cxx68 hBitmap = CreateDIBSection( hDC, &aBitmapInfo, in ImplCreateVirDevBitmap()
85 HDC hDC = NULL; in CreateVirtualDevice() local
91 hDC = pData->hDC; in CreateVirtualDevice()
93 bOk = (hDC != NULL); in CreateVirtualDevice()
98 if( !hDC ) in CreateVirtualDevice()
111 bOk = (hDC != NULL); in CreateVirtualDevice()
120 pVirGraphics->setHDC(hDC); in CreateVirtualDevice()
129 RealizePalette( hDC ); in CreateVirtualDevice()
133 pVDev->setHDC(hDC); in CreateVirtualDevice()
152 if ( hDC && !pData ) in CreateVirtualDevice()
[all …]
H A Dsalgdi2.cxx344 void ImplDrawBitmap( HDC hDC, in ImplDrawBitmap() argument
348 if( hDC ) in ImplDrawBitmap()
372 StretchDIBits( hDC, in ImplDrawBitmap()
398 BitBlt( hDC, in ImplDrawBitmap()
409 StretchBlt( hDC, in ImplDrawBitmap()
422 SetBkColor( hDC, nOldBkColor ); in ImplDrawBitmap()
423 ::SetTextColor( hDC, nOldTextColor ); in ImplDrawBitmap()
553 HDC hDC = getHDC(); in drawBitmap() local
658 HDC hDC = getHDC(); in drawMask() local
675 SelectBrush( hDC, hOldBrush ); in drawMask()
[all …]
H A Dsalgdi3.cxx267 RawFontData::RawFontData( HDC hDC, DWORD nTableTag ) in RawFontData() argument
492 : mhDC( hDC ) in WinGlyphFallbackSubstititution()
1167 ReadCmapTable( hDC ); in UpdateFromHDC()
1168 ReadOs2Table( hDC ); in UpdateFromHDC()
1180 if( ::GetTextMetricsA( hDC, &aTextMetric ) ) in UpdateFromHDC()
1187 DWORD nFLI = GetFontLanguageInfo( hDC ); in UpdateFromHDC()
1198 ReadGsubTable( hDC ); in HasGSUBstitutions()
1270 const RawFontData aRawFontData( hDC ); in ReadGsubTable()
1389 void ImplGetLogFontFromFontSelect( HDC hDC, in ImplGetLogFontFromFontSelect() argument
2431 HDC hDC = getHDC(); in GetGlyphBoundRect() local
[all …]
H A Dwntgdi.cxx39 BOOL WINAPI WIN_Rectangle( HDC hDC, int X1, int Y1, int X2, int Y2 ) in WIN_Rectangle() argument
41 return Rectangle( hDC, X1, Y1, X2, Y2 ); in WIN_Rectangle()
49 BOOL WINAPI WIN_Polygon( HDC hDC, CONST POINT * ppt, int ncnt ) in WIN_Polygon() argument
51 return Polygon( hDC, ppt, ncnt ); in WIN_Polygon()
59 BOOL WINAPI WIN_PolyPolygon( HDC hDC, CONST POINT * ppt, LPINT npcnt, int ncnt ) in WIN_PolyPolygon() argument
61 return PolyPolygon( hDC, ppt, npcnt, ncnt ); in WIN_PolyPolygon()
H A Dsalbmp.cxx639 HDC hDC = pGraphics->getHDC(); in Create() local
650 SetDIBits( hDC, hNewDDB, 0, pBIH->biHeight, pBits, pBI, DIB_RGB_COLORS ); in Create()
653 hNewDDB = CreateDIBitmap( hDC, (PBITMAPINFOHEADER) pBI, CBM_INIT, pBits, pBI, DIB_RGB_COLORS ); in Create()
688 HDC hDC = GetDC( 0 ); in Create() local
696 hOldPal = SelectPalette( hDC, pSalData->mhDitherPal, TRUE ); in Create()
697 RealizePalette( hDC ); in Create()
700 if( GetDIBits( hDC, rSalBmp.mhDDB, 0, nLines, pBits, pBI, DIB_RGB_COLORS ) == nLines ) in Create()
715 SelectPalette( hDC, hOldPal, TRUE ); in Create()
717 ReleaseDC( 0, hDC ); in Create()
H A Dsalgdi.cxx176 HDC hDC = GetDC( 0 ); in ImplInitSalGDI() local
177 int nBitsPixel = GetDeviceCaps( hDC, BITSPIXEL ); in ImplInitSalGDI()
178 int nPlanes = GetDeviceCaps( hDC, PLANES ); in ImplInitSalGDI()
179 int nRasterCaps = GetDeviceCaps( hDC, RASTERCAPS ); in ImplInitSalGDI()
185 HDC hMemDC = ::CreateCompatibleDC( hDC ); in ImplInitSalGDI()
186 HBITMAP hMemBmp = ::CreateCompatibleBitmap( hDC, 8, 8 ); in ImplInitSalGDI()
317 ReleaseDC( 0, hDC ); in ImplInitSalGDI()
561 HDC hDC = GetDC( 0 ); in ImplGetCachedDC() local
564 pC->mhDC = CreateCompatibleDC( hDC ); in ImplGetCachedDC()
575 ReleaseDC( 0, hDC ); in ImplGetCachedDC()
[all …]
H A Dwinlayout.cxx215 : mhDC( hDC ), in WinLayout()
216 mhFont( (HFONT)::GetCurrentObject(hDC,OBJ_FONT) ), in WinLayout()
256 SimpleWinLayout::SimpleWinLayout( HDC hDC, BYTE nCharSet, in SimpleWinLayout() argument
258 : WinLayout( hDC, rWinFontData, rWinFontEntry ), in SimpleWinLayout()
1235 UniscribeLayout::UniscribeLayout( HDC hDC, argument
1237 : WinLayout( hDC, rWinFontData, rWinFontEntry ),
2818 static bool IsGraphiteEnabledFont(HDC hDC) throw();
2846 bool GraphiteWinLayout::IsGraphiteEnabledFont(HDC hDC) throw() argument
2848 return gr::WinFont::FontHasGraphiteTables(hDC);
2852 : WinLayout(hDC, rWFD, rWFE), mpFont(hDC),
[all …]
/aoo42x/main/embedserv/source/embed/
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 …]
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()
/aoo42x/main/vcl/os2/source/gdi/
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 …]
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 …]
/aoo42x/main/fpicker/source/win32/filepicker/
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 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()
/aoo42x/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_os2_cairo.cxx121 HDC hDC = CreateCompatibleDC(NULL); in Os2Surface()
123 OSL_TRACE ("Surface::Surface(): Selecting bitmap %p into DC %p", rBmpData.pDDB, hDC); in Os2Surface()
124 hOrigBitmap = SelectObject( hDC, (HANDLE)rBmpData.pDDB ); in Os2Surface()
128 cairo_win32_surface_create(hDC), in Os2Surface()
/aoo42x/main/vcl/win/source/window/
H A Dsalframe.cxx1134 if ( hDC ) in GetGraphics()
1136 mpGraphics2->setHDC(hDC); in GetGraphics()
1156 if ( hDC ) in GetGraphics()
1737 if ( hDC ) in ImplSetParentFrame()
3036 HDC hDC = GetDC( 0 ); in UpdateSettings() local
3058 ReleaseDC( 0, hDC ); in UpdateSettings()
4577 HDC hDC; in ImplHandlePalette() local
4622 hDC = GetDC( hWnd ); in ImplHandlePalette()
4627 nCols = RealizePalette( hDC ); in ImplHandlePalette()
4632 ReleaseDC( hWnd, hDC ); in ImplHandlePalette()
[all …]
/aoo42x/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 …]
/aoo42x/main/vcl/inc/win/
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()
/aoo42x/main/canvas/source/directx/
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_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()
/aoo42x/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 …]
/aoo42x/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);
/aoo42x/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 );

Completed in 275 milliseconds

12