Home
last modified time | relevance | path

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

/AOO41X/main/fpicker/source/win32/filepicker/
H A Dhelppopupwindow.cxx196 HDC hdc = GetDC( m_hwnd ); in calcWindowRect() local
200 hdc, GetStockObject( DEFAULT_GUI_FONT ) ); in calcWindowRect()
208 hdc, in calcWindowRect()
229 SelectObject( hdc, oldFont ); in calcWindowRect()
231 ReleaseDC( m_hwnd, hdc ); in calcWindowRect()
273 HDC hdc = GetDC( m_hwnd ); in adjustWindowPos() local
281 int xScreen = GetDeviceCaps( hdc, HORZRES ); in adjustWindowPos()
282 int yScreen = GetDeviceCaps( hdc, VERTRES ); in adjustWindowPos()
305 ReleaseDC( m_hwnd, hdc ); in adjustWindowPos()
312 void SAL_CALL CHelpPopupWindow::onPaint( HWND hWnd, HDC hdc ) in onPaint() argument
[all …]
H A DFileOpenDlg.cxx670 HDC hdc = GetDC(m_hwndFileOpenDlg); in centerPositionToParent() local
672 int hResol = GetDeviceCaps(hdc, HORZRES); in centerPositionToParent()
673 int vResol = GetDeviceCaps(hdc, VERTRES); in centerPositionToParent()
675 ReleaseDC(m_hwndFileOpenDlg, hdc); in centerPositionToParent()
H A Ddibpreview.cxx144 HDC hdc = GetDC(m_Hwnd); in getTargetColorDepth() local
147 if (hdc) in getTargetColorDepth()
148 clrRes = GetDeviceCaps(hdc, COLORRES); in getTargetColorDepth()
/AOO41X/main/canvas/source/cairo/
H A Dcairo_win32_cairo.cxx292 HDC hdc = NULL; in ucs4toindex() local
295 hdc = CreateCompatibleDC (NULL); in ucs4toindex()
297 if (!hdc) return 0; in ucs4toindex()
298 if (!SetGraphicsMode (hdc, GM_ADVANCED)) { in ucs4toindex()
299 DeleteDC (hdc); in ucs4toindex()
303 SelectObject (hdc, hfont); in ucs4toindex()
304 SetMapMode (hdc, MM_TEXT); in ucs4toindex()
308 if (GetGlyphIndicesW (hdc, unicode, 1, &glyph_index, 0) == GDI_ERROR) { in ucs4toindex()
312 DeleteDC (hdc); in ucs4toindex()
/AOO41X/main/sal/workben/clipboardwben/testviewer/
H A Dcbvtest.cxx67 void ShowAvailableClipboardFormats( HWND hWnd, HDC hdc, PAINTSTRUCT ps, RECT rcWnd );
202 HDC hdc; in WndProc() local
235 hdc = BeginPaint (hWnd, &ps); in WndProc()
242 ShowAvailableClipboardFormats( hWnd, hdc, ps, rt ); in WndProc()
248 DrawTextW( hdc, wcString, wcslen( wcString ), &rt, DT_CENTER ); in WndProc()
312 void ShowAvailableClipboardFormats( HWND hWnd, HDC hdc, PAINTSTRUCT ps, RECT rcWnd ) in ShowAvailableClipboardFormats() argument
317 DrawTextW( hdc, szErrMsg, wcslen( szErrMsg ), &rcWnd, DT_CENTER ); in ShowAvailableClipboardFormats()
325 DrawTextW( hdc, szCBChangedMsg, wcslen( szCBChangedMsg ), &rcWnd, DT_CENTER ); in ShowAvailableClipboardFormats()
/AOO41X/main/dtrans/source/os2/clipb/
H A DOS2Bitmap.cxx131 HDC hdc; in OS2HandleToOOoBmp() local
144 HDC hdc = GpiQueryDevice(hps); in OS2HandleToOOoBmp() local
145 DevQueryCaps(hdc, CAPS_COLOR_BITCOUNT, 1L, &lBitCountScreen); in OS2HandleToOOoBmp()
166 … if ( (hdc = DevOpenDC(hab, OD_MEMORY, "*", 0L, (PDEVOPENDATA) NULL, (HDC) NULL)) == (HDC) NULL ) { in OS2HandleToOOoBmp()
172 …if ( (hps = GpiCreatePS(hab, hdc, &sizl, PU_PELS | GPIF_DEFAULT | GPIT_MICRO | GPIA_ASSOC)) == (HP… in OS2HandleToOOoBmp()
173 DevCloseDC(hdc); in OS2HandleToOOoBmp()
187 DevCloseDC(hdc); in OS2HandleToOOoBmp()
/AOO41X/main/vcl/win/source/gdi/
H A Dsalnativewidgets-luna.cxx62 …typedef HRESULT (WINAPI * GetThemeBackgroundContentRect_Proc_T) ( HTHEME hTheme, HDC hdc, int iPar…
63 …typedef HRESULT (WINAPI * DrawThemeBackground_Proc_T) ( HTHEME hTheme, HDC hdc, int iPartId, int i…
64 …typedef HRESULT (WINAPI * DrawThemeText_Proc_T) ( HTHEME hTheme, HDC hdc, int iPartId, int iStateI…
65 …typedef HRESULT (WINAPI * GetThemePartSize_Proc_T) ( HTHEME hTheme, HDC hdc, int iPartId, int iSta…
83 …HRESULT GetThemeBackgroundContentRect( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RE…
84 …HRESULT DrawThemeBackground( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect,…
85 …HRESULT DrawThemeText( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, LPCWSTR pszText, int iCh…
86 …HRESULT GetThemePartSize( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, RECT *prc, THEMESIZE …
134 HRESULT VisualStylesAPI::GetThemeBackgroundContentRect( HTHEME hTheme, HDC hdc, int iPartId, int iS… in GetThemeBackgroundContentRect() argument
137 …return (*lpfnGetThemeBackgroundContentRect) ( hTheme, hdc, iPartId, iStateId, pBoundingRect, pCont… in GetThemeBackgroundContentRect()
[all …]
H A Dsalgdi.cxx694 void ImplRenderPath( HDC hdc, sal_uLong nPoints, const SalPoint* pPtAry, const BYTE* pFlgAry ) in ImplRenderPath() argument
703 MoveToEx( hdc, pPtAry->mnX, pPtAry->mnY, NULL ); in ImplRenderPath()
710 LineTo( hdc, pPtAry->mnX, pPtAry->mnY ); in ImplRenderPath()
714 PolyBezierTo( hdc, reinterpret_cast<const POINT*>(pPtAry), 3 ); in ImplRenderPath()
/AOO41X/main/canvas/source/directx/
H A Ddx_devicehelper.cxx64 void DeviceHelper::init( HDC hdc, in init() argument
67 mnHDC = hdc; in init()
201 HDC hdc( getHDC() ); in getDeviceHandle() local
202 if( hdc ) in getDeviceHandle()
203 return uno::makeAny( reinterpret_cast< sal_Int64 >(hdc) ); in getDeviceHandle()
H A Ddx_textlayout_drawhelper.cxx117 HDC hdc = rGraphics->GetHDC(); in drawText() local
123 hdc )); in drawText()
127 aSystemGraphicsData.hDC = reinterpret_cast< ::HDC >(hdc); in drawText()
237 SetGraphicsMode(hdc, GM_ADVANCED); in drawText()
238 SetTextAlign(hdc, TA_BASELINE); in drawText()
239 SetWorldTransform(hdc, &aXForm); in drawText()
H A Ddx_surfacegraphics.cxx41 GraphicsDeleter(const COMReference<surface_type>& rSurface, HDC hdc) : in GraphicsDeleter()
43 maHDC(hdc) in GraphicsDeleter()
H A Ddx_devicehelper.hxx57 void init( HDC hdc,
/AOO41X/main/sal/workben/clipboardwben/testcopy/
H A Dcbcpytest.cxx247 HDC hdc; in WndProc() local
280 hdc = BeginPaint (hWnd, &ps); in WndProc()
287 DrawText( hdc, pTextBuff, lData, &rt, DT_CENTER ); in WndProc()
291 DrawText( hdc, szHello, strlen(szHello), &rt, DT_CENTER ); in WndProc()
/AOO41X/main/sal/workben/clipboardwben/testpaste/
H A Dcbptest.cxx259 HDC hdc; in WndProc() local
288 hdc = BeginPaint (hWnd, &ps); in WndProc()
295 DrawText( hdc, pTextBuff, lData, &rt, DT_CENTER ); in WndProc()
299 DrawText( hdc, szHello, strlen(szHello), &rt, DT_CENTER ); in WndProc()
/AOO41X/main/sal/systools/win32/uwinapi/
H A DDrawStateW.cpp28 HDC hdc, // handle to device context
65 … return DrawStateA( hdc, hbr, lpOutputFunc, (LPARAM)lpTextA, wData, x, y, cx, cy, fuFlags );
68 return DrawStateA( hdc, hbr, lpOutputFunc, lData, wData, x, y, cx, cy, fuFlags );
/AOO41X/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/windows/
H A Dnativeview.c73 HDC hdc ; in Java_NativeView_getNativeWindow() local
95 hdc = dsi_win->hdc; in Java_NativeView_getNativeWindow()
/AOO41X/main/bean/native/win32/
H A Dcom_sun_star_comp_beans_LocalOfficeWindow.c104 HDC hdc; in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow() local
130 hdc = dsi_win->hdc; in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow()
/AOO41X/main/sfx2/source/appl/
H A Dshutdowniconw32.cxx680 HDC hdc = GetDC(hwnd); in OnMeasureItem() local
692 HFONT hfntOld = (HFONT) SelectObject(hdc, (HFONT) CreateFontIndirect( &ncm.lfMenuFont )); in OnMeasureItem()
694 GetTextExtentPoint32W(hdc, reinterpret_cast<LPCWSTR>(pMyItem->text.getStr()), in OnMeasureItem()
701 DeleteObject( SelectObject(hdc, hfntOld) ); in OnMeasureItem()
702 ReleaseDC(hwnd, hdc); in OnMeasureItem()
/AOO41X/main/vcl/inc/
H A Dgraphite_layout.hxx67 GraphiteWinFont(HDC hdc) : gr::WinFont(hdc) {}; in GraphiteWinFont() argument
/AOO41X/main/shell/source/win32/shlxthandler/thumbviewer/
H A Dthumbviewer.cxx384 HDC hdc = GetDC(hwnd); in Extract() local
385 HDC memDC = CreateCompatibleDC(hdc); in Extract()
462 ReleaseDC(hwnd, hdc); in Extract()
/AOO41X/main/embedserv/source/embed/
H A Ddocholder.cxx985 HDC hdc = GetDC( NULL ); in resizeWin() local
986 SetMapMode( hdc, MM_HIMETRIC ); in resizeWin()
991 BOOL bIsOk = LPtoDP( hdc, &aOldOffset, 1 ); in resizeWin()
996 bIsOk = LPtoDP( hdc, &aNewOffset, 1 ); in resizeWin()
998 ReleaseDC( NULL, hdc ); in resizeWin()
/AOO41X/main/sal/inc/systools/win32/
H A Duser9x.h157 HDC hdc, // handle to device context
/AOO41X/main/graphite/
H A Dgraphite-2.3.1.patch.mingw152 // return ::SetBkColor(hdc, PALETTERGB(GetRValue(clr), GetGValue(clr), GetBValue(clr)));
/AOO41X/main/vcl/win/source/window/
H A Dsalframe.cxx4865 HDC hdc = GetDC( hWnd ); in ImplMeasureItem() local
4876 HFONT hfntOld = (HFONT) SelectObject(hdc, (HFONT) CreateFontIndirect( &ncm.lfMenuFont )); in ImplMeasureItem()
4885 GetTextExtentPoint32W( hdc, (LPWSTR) aStr.GetBuffer(), in ImplMeasureItem()
4900 DeleteObject( SelectObject(hdc, hfntOld) ); in ImplMeasureItem()
4901 ReleaseDC( hWnd, hdc ); in ImplMeasureItem()
/AOO41X/extras/l10n/source/kid/
H A Dlocalize.sdf32342 …xt\shared\02\18010000.xhp 0 help par_id3166460 12 0 kid hdc-ih‖\<switchinline s…