20 #include <com/sun/star/text/HoriOrientation.hpp>
53 Point aPt1( (bLeft ? rPt.X() - 3 : rPt.X() + 3),
54 rPt.Y() + nLineDiffHalf );
56 Point aPt2( aPt1.X(), aPt1.Y() + nHeight - nLineDiff - 1 );
58 while( aPt1.Y() <= aPt2.Y() )
63 aPt2.setX( aPt1.AdjustX(nDiff ) );
69 nHeight = (((nHeight / 4)+1) * 4) + 1;
80 Point( rPt.X(), rPt.Y() - 2 + nHeight ));
83 if( text::HoriOrientation::LEFT == nMode || text::HoriOrientation::CENTER == nMode )
85 if( text::HoriOrientation::RIGHT == nMode || text::HoriOrientation::CENTER == nMode )
102 nH = (((nH / 4)+1) * 4) + 1;
105 Size aSz( nWidth, nH );
107 if( text::HoriOrientation::RIGHT ==
m_nOldMode )
108 aPt.AdjustX( -(aSz.
Width()) );
109 else if( text::HoriOrientation::CENTER ==
m_nOldMode )
111 aPt.AdjustX( -(aSz.
Width()) );
void setWidth(tools::Long nWidth)
void Push(vcl::PushFlags nFlags=vcl::PushFlags::ALL)
void DrawTri(const Point &rPt, tools::Long nHeight, bool bLeft)
void DrawCursor(const Point &rPt, tools::Long nHeight, sal_uInt16 nMode)
VclPtr< vcl::Window > m_pWin
void SetPos(const Point &rPt, tools::Long nHeight, sal_uInt16 nMode)
constexpr tools::Long Width() const
tools::Rectangle GetRect() const
void DrawLine(const Point &rStartPt, const Point &rEndPt)
Point LogicToPixel(const Point &rLogicPt) const
Point PixelToLogic(const Point &rDevicePt) const
const ::std::vector< Color > ImpSvNumberformatScan::StandardColor COL_WHITE
::OutputDevice const * GetOutDev() const
void SetRasterOp(RasterOp eRasterOp)