Home
last modified time | relevance | path

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

/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/main/vcl/win/source/gdi/
H A Dsalnativewidgets-luna.cxx63 …typedef HRESULT (WINAPI * DrawThemeBackground_Proc_T) ( HTHEME hTheme, HDC hdc, int iPartId, int i…
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,…
86 …HRESULT GetThemePartSize( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, RECT *prc, THEMESIZE …
137 …return (*lpfnGetThemeBackgroundContentRect) ( hTheme, hdc, iPartId, iStateId, pBoundingRect, pCont… in GetThemeBackgroundContentRect()
141 HRESULT VisualStylesAPI::DrawThemeBackground( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, co… in DrawThemeBackground() argument
144 return (*lpfnDrawThemeBackground) (hTheme, hdc, iPartId, iStateId, pRect, pClipRect); in DrawThemeBackground()
151 …return (*lpfnDrawThemeText) (hTheme, hdc, iPartId, iStateId, pszText, iCharCount, dwTextFlags, dwT… in DrawThemeText()
155 HRESULT VisualStylesAPI::GetThemePartSize( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, RECT … in GetThemePartSize() argument
[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/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/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/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/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/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/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/sal/inc/systools/win32/
H A Duser9x.h157 HDC hdc, // handle to device context
/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/graphite/
H A Dgraphite-2.3.1.patch.mingw152 // return ::SetBkColor(hdc, PALETTERGB(GetRValue(clr), GetGValue(clr), GetBValue(clr)));
/aoo41x/main/fpicker/source/win32/filepicker/
H A Ddibpreview.cxx144 HDC hdc = GetDC(m_Hwnd); in getTargetColorDepth() local
147 if (hdc) in getTargetColorDepth()
148 clrRes = GetDeviceCaps(hdc, COLORRES); in getTargetColorDepth()
H A Dhelppopupwindow.cxx196 HDC hdc = GetDC( m_hwnd ); in calcWindowRect() local
208 hdc, in calcWindowRect()
231 ReleaseDC( m_hwnd, hdc ); in calcWindowRect()
273 HDC hdc = GetDC( m_hwnd ); in adjustWindowPos() local
305 ReleaseDC( m_hwnd, hdc ); in adjustWindowPos()
334 Rectangle( hdc, in onPaint()
354 Rectangle( hdc, in onPaint()
384 hdc, in onPaint()
407 PatBlt(hdc, in onPaint()
416 PatBlt(hdc, in onPaint()
[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()
/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/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/canvas/source/directx/
H A Ddx_surfacegraphics.cxx41 GraphicsDeleter(const COMReference<surface_type>& rSurface, HDC hdc) : in GraphicsDeleter()
43 maHDC(hdc) in GraphicsDeleter()
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_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_devicehelper.hxx57 void init( HDC hdc,
/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/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/extras/l10n/source/kid/
H A Dlocalize.sdf32342 helpcontent2 source\text\shared\02\18010000.xhp 0 help par_id3166460 12 0 kid hdc-ih‖\<switchinli…

Completed in 1156 milliseconds