21 #include <osl/diagnose.h>
32 const Point& rPos,
const Size& rSize,
const Size& rBackgroundSize)
const
86 bool bClipRegion = pGraphics->
SetClipRegion( rRegion, *
this );
87 OSL_ENSURE( bClipRegion,
"OutputDevice::SelectClipRegion() - can't create region" );
vcl::Region GetClipRegion() const
bool SetClipRegion(const vcl::Region &, const OutputDevice &rOutDev)
virtual void ClipToPaintRegion(tools::Rectangle &rDstRect)
void Move(tools::Long nHorzMove, tools::Long nVertMove)
SAL_DLLPRIVATE void SetDeviceClipRegion(const vcl::Region *pRegion)
tools::Long mnOutOffY
Output offset for device output in pixel (pseudo window offset within window system's frames) ...
void IntersectClipRegion(const tools::Rectangle &rRect)
bool SelectClipRegion(const vcl::Region &, SalGraphics *pGraphics=nullptr)
SalGraphics * mpGraphics
Graphics context to draw on.
tools::Long GetOutputHeightPixel() const
virtual bool AcquireGraphics() const =0
Acquire a graphics device that the output device uses to draw on.
SAL_DLLPRIVATE tools::Long ImplLogicWidthToDevicePixel(tools::Long nWidth) const
Convert a logical width to a width in units of device pixels.
void Intersect(const tools::Rectangle &rRegion)
void MoveClipRegion(tools::Long nHorzMove, tools::Long nVertMove)
virtual void SaveBackground(VirtualDevice &rSaveDevice, const Point &rPos, const Size &rSize, const Size &rBackgroundSize) const
Point PixelToLogic(const Point &rDevicePt) const
Point LogicToPixel(const Point &rLogicPt) const
VclPtr< VirtualDevice > mpAlphaVDev
SAL_DLLPRIVATE vcl::Region ImplPixelToDevicePixel(const vcl::Region &rRegion) const
Convert a region in pixel units to a region in device pixel units and coords.
virtual vcl::Region GetActiveClipRegion() const
virtual void InitClipRegion()
virtual void DrawOutDev(const Point &rDestPt, const Size &rDestSize, const Point &rSrcPt, const Size &rSrcSize)
virtual vcl::Region ClipToDeviceBounds(vcl::Region aRegion) const
Perform actual rect clip against outdev dimensions, to generate empty clips whenever one of the value...
tools::Long mnOutOffX
Output offset for device output in pixel (pseudo window offset within window system's frames) ...
#define DBG_TESTSOLARMUTEX()
virtual void ResetClipRegion()=0
SAL_DLLPRIVATE tools::Long ImplLogicHeightToDevicePixel(tools::Long nHeight) const
Convert a logical height to a height in units of device pixels.
tools::Long GetOutputWidthPixel() const