Home
last modified time | relevance | path

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

1234

/trunk/main/svx/source/dialog/
H A Dframelink.cxx796 void lclSetColorToOutDev( OutputDevice& rDev, const Style& rStyle, const Color* pForceColor ) in lclSetColorToOutDev() argument
798 rDev.Push( PUSH_LINECOLOR | PUSH_FILLCOLOR ); in lclSetColorToOutDev()
799 rDev.SetLineColor( pForceColor ? *pForceColor : rStyle.GetColor() ); in lclSetColorToOutDev()
800 rDev.SetFillColor( pForceColor ? *pForceColor : rStyle.GetColor() ); in lclSetColorToOutDev()
807 void lclDrawThinLine( OutputDevice& rDev, const Point& rBeg, const Point& rEnd, bool bDotted ) in lclDrawThinLine() argument
817 rDev.DrawLine( rBeg, rEnd, aLineInfo ); in lclDrawThinLine()
820 Point aBeg( rDev.LogicToPixel( rBeg ) ); in lclDrawThinLine()
821 Point aEnd( rDev.LogicToPixel( rEnd ) ); in lclDrawThinLine()
843 rDev.Push( PUSH_MAPMODE ); in lclDrawThinLine()
844 rDev.SetMapMode( MAP_PIXEL ); in lclDrawThinLine()
[all …]
H A Dfontlb.cxx64 void SvLBoxFontString::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16 nFlags, SvLBoxEntry* pEnt… in Paint() argument
67 Font aOldFont( rDev.GetFont() ); in Paint()
77 rDev.SetFont( aNewFont ); in Paint()
78 SvLBoxString::Paint( rPos, rDev, nFlags, pEntry ); in Paint()
79 rDev.SetFont( aOldFont ); in Paint()
H A Dframelinkarray.cxx1004 void Array::DrawCell( OutputDevice& rDev, size_t nCol, size_t nRow, const Color* pForceColor ) const in DrawCell() argument
1006 DrawRange( rDev, nCol, nRow, nCol, nRow, pForceColor ); in DrawCell()
1009 void Array::DrawRange( OutputDevice& rDev, in DrawRange() argument
1021 rDev.Push( PUSH_CLIPREGION ); in DrawRange()
1022 rDev.IntersectClipRegion( GetClipRangeRectangle() ); in DrawRange()
1043 DrawDiagFrameBorders( rDev, aRect, in DrawRange()
1054 rDev.Pop(); // clip region in DrawRange()
1105 DrawHorFrameBorder( rDev, aStartPos, aEndPos, *pStart, in DrawRange()
1130 DrawHorFrameBorder( rDev, aStartPos, aEndPos, *pStart, in DrawRange()
1184 DrawVerFrameBorder( rDev, aStartPos, aEndPos, *pStart, in DrawRange()
[all …]
/trunk/main/starmath/source/
H A Dnode.cxx414 void SmNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
420 pNode->Arrange(rDev, rFormat); in Arrange()
450 void SmNode::Draw(OutputDevice &rDev, const Point &rPosition) const in Draw() argument
460 pNode->Draw(rDev, rPosition + aOffset); in Draw()
468 SmRect::Draw(rDev, rPosition, nRFlags); in Draw()
742 void SmTableNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
763 { pNode->Arrange(rDev, rFormat); in Arrange()
790 SmTmpDevice aTmpDev ((OutputDevice &) rDev, sal_True); in Arrange()
833 void SmLineNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) in Arrange() argument
841 pNode->Arrange(rDev, rFormat); in Arrange()
[all …]
H A Drect.cxx138 void SmRect::BuildRect(const OutputDevice &rDev, const SmFormat *pFormat, in BuildRect() argument
143 aSize = Size(rDev.GetTextWidth(rText), rDev.GetTextHeight()); in BuildRect()
145 const FontMetric aFM (rDev.GetFontMetric()); in BuildRect()
148 const long nFontHeight = rDev.GetFont().GetSize().Height(); in BuildRect()
163 if (aFM.GetIntLeading() < 5 && rDev.GetOutDevType() == OUTDEV_PRINTER) in BuildRect()
169 pWindow->SetMapMode(rDev.GetMapMode()); in BuildRect()
170 pWindow->SetFont(rDev.GetFontMetric()); in BuildRect()
188 SmGetGlyphBoundRect(rDev, rText, aGlyphRect); in BuildRect()
205 nDist = (rDev.GetFont().GetSize().Height() in BuildRect()
233 void SmRect::Init(const OutputDevice &rDev, const SmFormat *pFormat, in Init() argument
[all …]
H A Ddocument.cxx445 void SmDocShell::Draw(OutputDevice &rDev, Point &rPosition) in Draw() argument
472 if (OUTDEV_WINDOW == rDev.GetOutDevType() && in Draw()
473 ((Window &) rDev).GetSettings().GetStyleSettings().GetHighContrastMode()) in Draw()
475 nOldDrawMode = rDev.GetDrawMode(); in Draw()
476 rDev.SetDrawMode( DRAWMODE_DEFAULT ); in Draw()
482 sal_uLong nLayoutMode = rDev.GetLayoutMode(); in Draw()
483 rDev.SetLayoutMode( TEXT_LAYOUT_BIDI_LTR ); in Draw()
484 sal_Int16 nDigitLang = rDev.GetDigitLanguage(); in Draw()
485 rDev.SetDigitLanguage( LANGUAGE_ENGLISH ); in Draw()
487 pTree->Draw(rDev, rPosition); in Draw()
[all …]
/trunk/main/starmath/inc/
H A Dnode.hxx153 virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
159 virtual void Draw(OutputDevice &rDev, const Point &rPosition) const;
171 virtual void AdaptToX(const OutputDevice &rDev, sal_uLong nWidth);
172 virtual void AdaptToY(const OutputDevice &rDev, sal_uLong nHeight);
265 virtual void AdaptToX(const OutputDevice &rDev, sal_uLong nWidth);
266 virtual void AdaptToY(const OutputDevice &rDev, sal_uLong nHeight);
268 virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
273 virtual void Draw(OutputDevice &rDev, const Point &rPosition) const;
293 virtual void AdaptToX(const OutputDevice &rDev, sal_uLong nWidth);
294 virtual void AdaptToY(const OutputDevice &rDev, sal_uLong nHeight);
[all …]
H A Drect.hxx38 sal_Bool SmGetGlyphBoundRect(const OutputDevice &rDev,
108 void BuildRect (const OutputDevice &rDev, const SmFormat *pFormat,
110 void Init(const OutputDevice &rDev, const SmFormat *pFormat,
121 SmRect(const OutputDevice &rDev, const SmFormat *pFormat,
212 void Draw(OutputDevice &rDev, const Point &rPosition, int nFlags) const;
/trunk/main/svtools/source/brwbox/
H A Ddatwin.cxx48 void ButtonFrame::Draw( OutputDevice& rDev ) in DECLARE_LIST()
50 Color aOldFillColor = rDev.GetFillColor(); in DECLARE_LIST()
51 Color aOldLineColor = rDev.GetLineColor(); in DECLARE_LIST()
53 const StyleSettings &rSettings = rDev.GetSettings().GetStyleSettings(); in DECLARE_LIST()
58 rDev.SetLineColor( aColFace ); in DECLARE_LIST()
59 rDev.SetFillColor( aColFace ); in DECLARE_LIST()
60 rDev.DrawRect( aRect ); in DECLARE_LIST()
62 if( rDev.GetOutDevType() == OUTDEV_WINDOW ) in DECLARE_LIST()
64 Window *pWin = (Window*) &rDev; in DECLARE_LIST()
70 rDev.SetLineColor( bPressed ? aColShadow : aColLight ); in DECLARE_LIST()
[all …]
H A Deditbrowsebox.cxx283 void EditBrowseBox::PaintField( OutputDevice& rDev, const Rectangle& rRect, in PaintField() argument
289 PaintStatusCell(rDev, rRect); in PaintField()
294 if (&rDev == &GetDataWindow()) in PaintField()
301 PaintCell(rDev, rRect, nColumnId); in PaintField()
360 void EditBrowseBox::PaintStatusCell(OutputDevice& rDev, const Rectangle& rRect) const in PaintStatusCell() argument
374 rDev.DrawText( rRect, GetCellText( nPaintRow, 0 ), in PaintStatusCell()
378 else if (eStatus != CLEAN && rDev.GetOutDevType() == OUTDEV_WINDOW) in PaintStatusCell()
388 rDev.SetClipRegion(rRect); in PaintStatusCell()
397 rDev.DrawImage( aPos, aImageSize, aImage, 0 ); in PaintStatusCell()
399 rDev.DrawImage( aPos, aImage, 0 ); in PaintStatusCell()
[all …]
/trunk/main/sd/source/ui/animations/
H A DCustomAnimationList.cxx216 void Paint( const Point&, SvLBox& rDev, sal_uInt16 nFlags,SvLBoxEntry* );
257 void CustomAnimationListEntryItem::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16, SvLBoxEntry*… in Paint() argument
269 rDev.DrawImage( aPos, mpParent->getImage( IMG_CUSTOMANIMATION_ON_CLICK, bHighContrast ) ); in Paint()
273rDev.DrawImage( aPos, mpParent->getImage( IMG_CUSTOMANIMATION_AFTER_PREVIOUS, bHighContrast ) ); in Paint()
303 rDev.DrawImage( aImagePos, rImage ); in Paint()
307 aPos.Y() += ( aSize.Height() - rDev.GetTextHeight()) >> 1; in Paint()
309rDev.DrawText( aPos, rDev.GetEllipsisString( maDescription, rDev.GetOutputSizePixel().Width() - aP… in Paint()
368 void Paint( const Point&, SvLBox& rDev, sal_uInt16 nFlags,SvLBoxEntry* );
418 void CustomAnimationTriggerEntryItem::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16, SvLBoxEnt… in Paint() argument
420 …Size aSize( rDev.GetOutputSizePixel().Width(), static_cast< SvTreeListBox* >(&rDev)->GetEntryHeigh… in Paint()
[all …]
/trunk/main/sc/source/ui/dbgui/
H A Dfieldwnd.cxx766 void ScPivotFieldWindow::DrawBackground( OutputDevice& rDev ) in DrawBackground() argument
768 Size aDevSize = rDev.GetOutputSizePixel(); in DrawBackground()
773 rDev.SetLineColor(); in DrawBackground()
774 rDev.SetFillColor( rStyleSett.GetFaceColor() ); in DrawBackground()
775 rDev.DrawRect( Rectangle( Point( 0, 0 ), aDevSize ) ); in DrawBackground()
779 rDev.SetLineColor( rStyleSett.GetWindowTextColor() ); in DrawBackground()
780 rDev.SetFillColor( rStyleSett.GetWindowColor() ); in DrawBackground()
781 rDev.DrawRect( Rectangle( Point( 0, 0 ), aDevSize ) ); in DrawBackground()
786 rDev.SetTextColor( rStyleSett.GetWindowTextColor() ); in DrawBackground()
788 long nY = (aDevSize.Height() - nTokenCnt * rDev.GetTextHeight()) / 2; in DrawBackground()
[all …]
/trunk/main/svtools/source/contnr/
H A Dsvlbitm.cxx233 void SvLBoxString::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16 /* nFlags */, in Paint() argument
239 sal_uInt16 nStyle = rDev.IsEnabled() ? 0 : TEXT_DRAW_DISABLE; in Paint()
240 if ( rDev.IsEntryMnemonicsEnabled() ) in Paint()
242 rDev.DrawText( Rectangle(rPos,GetSize(&rDev,_pEntry)),aStr,nStyle); in Paint()
245 rDev.DrawText( rPos, aStr); in Paint()
320 void SvLBoxBmp::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16 /* nFlags */, in Paint() argument
324 sal_uInt16 nStyle = rDev.IsEnabled() ? 0 : IMAGE_DRAW_DISABLE; in Paint()
325 rDev.DrawImage( rPos, aBmp ,nStyle); in Paint()
404 void SvLBoxButton::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16 /* nFlags */, in Paint() argument
411 rDev.IsEnabled() ? 0 : IMAGE_DRAW_DISABLE; in Paint()
[all …]
/trunk/main/vcl/source/gdi/
H A Doutdevnative.cxx140 …r< ImplControlValue > lcl_transformControlValue( const ImplControlValue& rVal, OutputDevice& rDev ) in lcl_transformControlValue() argument
150 pNew->maThumbRect = rDev.ImplLogicToDevicePixel( pSlVal->maThumbRect ); in lcl_transformControlValue()
158 pNew->maThumbRect = rDev.ImplLogicToDevicePixel( pScVal->maThumbRect ); in lcl_transformControlValue()
159 pNew->maButton1Rect = rDev.ImplLogicToDevicePixel( pScVal->maButton1Rect ); in lcl_transformControlValue()
160 pNew->maButton2Rect = rDev.ImplLogicToDevicePixel( pScVal->maButton2Rect ); in lcl_transformControlValue()
168 pNew->maUpperRect = rDev.ImplLogicToDevicePixel( pSpVal->maUpperRect ); in lcl_transformControlValue()
169 pNew->maLowerRect = rDev.ImplLogicToDevicePixel( pSpVal->maLowerRect ); in lcl_transformControlValue()
177 pNew->maGripRect = rDev.ImplLogicToDevicePixel( pTVal->maGripRect ); in lcl_transformControlValue()
208 pNew->maItemRect = rDev.ImplLogicToDevicePixel( pMVal->maItemRect ); in lcl_transformControlValue()
/trunk/main/dbaccess/source/ui/control/
H A Dlistviewitems.cxx61 …void OBoldListboxString::Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 nFlags, SvLBoxEntry* pE… in Paint() argument
65 rDev.Push(PUSH_ALL); in Paint()
66 Font aFont( rDev.GetFont()); in Paint()
68 rDev.SetFont( aFont ); in Paint()
70 rDev.DrawText( aPos, GetText() ); in Paint()
71 rDev.Pop(); in Paint()
74 SvLBoxString::Paint(rPos, rDev, nFlags, pEntry); in Paint()
H A DTableGrantCtrl.cxx442 void OTableGrantControl::PaintCell( OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColumnI… in PaintCell() argument
450 …PaintTristate(rDev, rRect, isAllowed(nColumnId,aFind->second.nRights) ? STATE_CHECK : STATE_NOCHEC… in PaintCell()
452 PaintTristate(rDev, rRect, STATE_NOCHECK,sal_False); in PaintCell()
463 rDev.SetClipRegion( rRect ); in PaintCell()
465 rDev.DrawText( aPos, aText ); in PaintCell()
468 if( rDev.IsClipRegion() ) in PaintCell()
469 rDev.SetClipRegion(); in PaintCell()
/trunk/main/cui/source/options/
H A DoptHeaderTabListbox.cxx42 virtual void Paint( const Point& rPos, SvLBox& rDev, sal_uInt16 nFlags, SvLBoxEntry* pEntry );
47 void OptLBoxString_Impl::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16, SvLBoxEntry* pEntry ) in Paint() argument
49 Font aOldFont( rDev.GetFont() ); in Paint()
52 if(pEntry && !(!((OptHeaderTabListBox&)rDev).GetCollapsedEntryBmp(pEntry))) in Paint()
54 rDev.SetFont( aFont ); in Paint()
55 rDev.DrawText( rPos, GetText() ); in Paint()
56 rDev.SetFont( aOldFont ); in Paint()
/trunk/main/svx/inc/svx/
H A Dframelink.hxx483 OutputDevice& rDev, /// The output device used to draw the frame border.
515 OutputDevice& rDev, /// The output device used to draw the frame border.
543 OutputDevice& rDev, /// The output device used to draw the frame border.
600 OutputDevice& rDev, /// The output device used to draw the frame border.
632 OutputDevice& rDev, /// The output device used to draw the frame border.
660 OutputDevice& rDev, /// The output device used to draw the frame border.
679 OutputDevice& rDev, /// The output device used to draw the frame border.
695 OutputDevice& rDev, /// The output device used to draw the frame border.
/trunk/main/sc/source/ui/miscdlgs/
H A Dsolveroptions.cxx90 virtual void Paint( const Point& rPos, SvLBox& rDev, sal_uInt16 nFlags, SvLBoxEntry* pEntry );
111 void ScSolverOptionsString::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16, SvLBoxEntry* /* pEn… in Paint() argument
116 rDev.DrawText( rPos, aNormalStr ); in Paint()
119 aNewPos.X() += rDev.GetTextWidth( aNormalStr ); in Paint()
120 Font aOldFont( rDev.GetFont() ); in Paint()
131 rDev.SetFont( aFont ); in Paint()
132 rDev.DrawText( aNewPos, sTxt ); in Paint()
134 rDev.SetFont( aOldFont ); in Paint()
/trunk/main/svx/source/gallery2/
H A Dgalctrl.cxx708 void GalleryListView::PaintField( OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColumnId … in PaintField() argument
710 rDev.Push( PUSH_CLIPREGION ); in PaintField()
711 rDev.IntersectClipRegion( rRect ); in PaintField()
755 const long nTextPosY(rRect.Top() + ((rRect.GetHeight() - rDev.GetTextHeight()) >> 1)); in PaintField()
769 drawTransparenceBackground(rDev, aPos, aBitmapExSizePixel); in PaintField()
772 rDev.DrawBitmapEx(aPos, aBitmapEx); in PaintField()
775 rDev.DrawText(Point(rRect.Left() + rRect.GetHeight() + 6, nTextPosY), aItemTextTitle); in PaintField()
779 rDev.DrawText(Point(rRect.Left(), nTextPosY), aItemTextPath); in PaintField()
882 rDev.Pop(); in PaintField()
/trunk/main/svx/source/form/
H A Dfiltnav.cxx1052 virtual void Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 nFlags, SvLBoxEntry* pEntry);
1058 void FmFilterItemsString::Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 /*nFlags*/, SvLBoxEntry… in Paint() argument
1067 rDev.Push( PUSH_LINECOLOR ); in Paint()
1069 rDev.SetLineColor( rDev.GetTextColor() ); in Paint()
1071 Rectangle aRect( rPos, GetSize( &rDev, pEntry ) ); in Paint()
1075 rDev.DrawLine( aFirst, aSecond ); in Paint()
1082 rDev.DrawLine( aFirst, aSecond ); in Paint()
1084 rDev.Pop(); in Paint()
1087 rDev.DrawText( Point(rPos.X() + nxDBmp, rPos.Y()), GetText() ); in Paint()
1116 virtual void Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 nFlags, SvLBoxEntry* pEntry);
[all …]
/trunk/main/vcl/win/source/app/
H A Dsalinfo.cxx172 const rtl::OUString& rDev( m_aMonitors[i].m_aName ); in initMonitors() local
173 if( aDeviceStringCount[ rDev ] > 1 ) in initMonitors()
175 int nInstance = aDeviceStringCount[ rDev ] - (-- aDevCount[ rDev ] ); in initMonitors()
176 rtl::OUStringBuffer aBuf( rDev.getLength() + 8 ); in initMonitors()
177 aBuf.append( rDev ); in initMonitors()
/trunk/main/vcl/source/control/
H A Dimgctrl.cxx94 void ImageControl::ImplDraw( OutputDevice& rDev, sal_uLong nDrawFlags, const Point& rPos, const Siz… in ImplDraw() argument
123 rDev.DrawText( aDrawRect, sText, nTextStyle ); in ImplDraw()
133 rDev.DrawImage( lcl_centerWithin( aDrawRect, rBitmapSize ), *pImage, nStyle ); in ImplDraw()
140 rDev.DrawImage( in ImplDraw()
149 rDev.DrawImage( in ImplDraw()
/trunk/main/dbaccess/source/ui/misc/
H A DWNameMatch.cxx374 virtual void Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 nFlags, SvLBoxEntry* pEntry);
388 void OColumnString::Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 /*nFlags*/, SvLBoxEntry* /*pE… in Paint() argument
392 const StyleSettings& rStyleSettings = rDev.GetSettings().GetStyleSettings(); in Paint()
393 rDev.SetTextColor( rStyleSettings.GetDisableColor() ); in Paint()
394 rDev.SetTextFillColor( rStyleSettings.GetFieldColor() ); in Paint()
396 rDev.DrawText( rPos, GetText() ); in Paint()
/trunk/main/svx/source/fmcomp/
H A Dgridcell.cxx458 void DbGridColumn::Paint(OutputDevice& rDev, in Paint() argument
463 bool bEnabled = ( rDev.GetOutDevType() != OUTDEV_WINDOW ) in Paint()
464 || ( static_cast< Window& >( rDev ).IsEnabled() ); in Paint()
475 rDev.DrawText(rRect, INVALIDTEXT, nStyle); in Paint()
496 rDev.DrawText(rRect, aAutoText , nStyle); in Paint()
500 … pDataCell->PaintFieldToCell(rDev, rRect, pRow->GetField( m_nFieldPos ).getColumn(), xFormatter); in Paint()
511 rDev.DrawText(rRect, INVALIDTEXT, nStyle); in Paint()
518 rDev.DrawText(rRect, OBJECTTEXT, nStyle); in Paint()
522 static_cast< FmXFilterCell* >( m_pCell )->PaintCell( rDev, rRect ); in Paint()
1734 void DbCheckBox::PaintFieldToCell(OutputDevice& rDev, const Rectangle& rRect, in PaintFieldToCell() argument
[all …]

1234