LibreOffice Module sw (master)
1
|
#include <txtpaint.hxx>
Public Member Functions | |
SwSaveClip (OutputDevice *pOutDev) | |
~SwSaveClip () | |
void | ChgClip (const SwRect &rRect, const SwTextFrame *pFrame=nullptr, bool bEnlargeRect=false, sal_Int32 nEnlargeTop=0, sal_Int32 nEnlargeBottom=0) |
bool | IsOn () const |
bool | IsChg () const |
Private Member Functions | |
void | ChgClip_ (const SwRect &rRect, const SwTextFrame *pFrame, bool bEnlargeRect, sal_Int32 nEnlargeTop, sal_Int32 nEnlargeBottom) |
Private Attributes | |
vcl::Region | aClip |
const bool | bOn |
bool | bChg |
VclPtr< OutputDevice > | pOut |
Definition at line 27 of file txtpaint.hxx.
|
inlineexplicit |
Definition at line 39 of file txtpaint.hxx.
SwSaveClip::~SwSaveClip | ( | ) |
Definition at line 25 of file txtpaint.cxx.
References aClip, bChg, bOn, OutputDevice::GetConnectMetaFile(), OutputDevice::Pop(), pOut, and OutputDevice::SetClipRegion().
|
inline |
Definition at line 47 of file txtpaint.hxx.
References ChgClip_().
Referenced by SwTextPainter::DrawTextLine(), SwKernPortion::Paint(), and SwDropPortion::PaintDrop().
|
private |
Definition at line 43 of file txtpaint.cxx.
References aClip, tools::Rectangle::AdjustBottom(), bChg, bOn, vcl::Region::GetBoundRect(), OutputDevice::GetClipRegion(), OutputDevice::GetConnectMetaFile(), SwRect::HasArea(), SwRootFrame::HasSameRect(), OutputDevice::IsClipRegion(), SwFrame::IsRightToLeft(), SwFrame::IsVertical(), pOut, OutputDevice::Push(), OutputDevice::SetClipRegion(), SwRect::SVRect(), SwTextFrame::SwitchHorizontalToVertical(), and SwTextFrame::SwitchLTRtoRTL().
Referenced by ChgClip().
|
inline |
Definition at line 54 of file txtpaint.hxx.
References bChg.
Referenced by SwTextPainter::DrawTextLine().
|
inline |
Definition at line 53 of file txtpaint.hxx.
References bOn.
|
private |
Definition at line 29 of file txtpaint.hxx.
Referenced by ChgClip_(), and ~SwSaveClip().
|
private |
Definition at line 31 of file txtpaint.hxx.
Referenced by ChgClip_(), IsChg(), and ~SwSaveClip().
|
private |
Definition at line 30 of file txtpaint.hxx.
Referenced by ChgClip_(), IsOn(), and ~SwSaveClip().
|
private |
Definition at line 33 of file txtpaint.hxx.
Referenced by ChgClip_(), and ~SwSaveClip().