Home
last modified time | relevance | path

Searched refs:hDC (Results 1 – 25 of 38) sorted by last modified time

12

/trunk/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 …]
/trunk/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 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 …]
/trunk/main/vcl/win/source/gdi/
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 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 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 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 …]
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 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 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 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()
/trunk/main/vcl/win/source/app/
H A Dsalinfo.cxx56 HDC hDC, in ImplEnumMonitorProc() argument
62 reinterpret_cast<sal_IntPtr>(hDC), in ImplEnumMonitorProc()
/trunk/main/vcl/os2/source/window/
H A Dsalframe.cxx872 HDC hDC = WinQueryWindowDC( hWnd ); in ImplWinGetDC() local
873 if ( !hDC ) in ImplWinGetDC()
874 hDC = WinOpenWindowDC( hWnd ); in ImplWinGetDC()
875 return hDC; in ImplWinGetDC()
/trunk/main/vcl/os2/source/gdi/
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 …]
H A Dsalgdi.cxx1053 aRes.hDC = mhDC; in GetGraphicsData()
/trunk/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()
/trunk/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);
/trunk/main/vcl/inc/vcl/
H A Dsysdata.hxx110 HDC hDC; // handle to a device context member
/trunk/main/vcl/inc/os2/
H A Dsalvd.h57 HBITMAP ImplCreateVirDevBitmap( HDC hDC, HPS hPS, long nDX, long nDY,
/trunk/main/tools/inc/tools/
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 );
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 );
/trunk/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 …]

Completed in 160 milliseconds

12