LibreOffice Module drawinglayer (master) 1
|
#include <vclhelperbufferdevice.hxx>
Public Member Functions | |
impBufferDevice (OutputDevice &rOutDev, const basegfx::B2DRange &rRange) | |
~impBufferDevice () | |
void | paint (double fTrans=0.0) |
bool | isVisible () const |
VirtualDevice & | getContent () |
VirtualDevice & | getTransparence () |
Private Attributes | |
OutputDevice & | mrOutDev |
VclPtr< VirtualDevice > | mpContent |
VclPtr< VirtualDevice > | mpAlpha |
tools::Rectangle | maDestPixel |
Definition at line 94 of file vclhelperbufferdevice.hxx.
drawinglayer::impBufferDevice::impBufferDevice | ( | OutputDevice & | rOutDev, |
const basegfx::B2DRange & | rRange | ||
) |
Definition at line 390 of file vclhelperbufferdevice.cxx.
References OutputDevice::EnableMapMode(), OutputDevice::GetAntialiasing(), OutputDevice::GetMapMode(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), OutputDevice::GetOutDevType(), OutputDevice::GetOutputSizePixel(), OutputDevice::GetRasterOp(), tools::Rectangle::GetSize(), drawinglayer::getVDevBuffer(), OutputDevice::GetViewTransformation(), tools::Rectangle::Intersection(), OutputDevice::IsMapModeEnabled(), isVisible(), maDestPixel, mpContent, mrOutDev, OUTDEV_WINDOW, OutputDevice::PixelToLogic(), SAL_WARN_IF, MapMode::SetOrigin(), tools::Rectangle::TopLeft(), basegfx::B2DRange::transform(), Point::X(), and Point::Y().
drawinglayer::impBufferDevice::~impBufferDevice | ( | ) |
Definition at line 433 of file vclhelperbufferdevice.cxx.
References drawinglayer::getVDevBuffer(), mpAlpha, and mpContent.
VirtualDevice & drawinglayer::impBufferDevice::getContent | ( | ) |
Definition at line 569 of file vclhelperbufferdevice.cxx.
References mpContent, and SAL_WARN_IF.
Referenced by drawinglayer::processor2d::VclPixelProcessor2D::processPatternFillPrimitive2D(), drawinglayer::processor2d::VclProcessor2D::RenderMaskPrimitive2DPixel(), drawinglayer::processor2d::VclProcessor2D::RenderTransparencePrimitive2D(), and drawinglayer::processor2d::VclProcessor2D::RenderUnifiedTransparencePrimitive2D().
VirtualDevice & drawinglayer::impBufferDevice::getTransparence | ( | ) |
Definition at line 576 of file vclhelperbufferdevice.cxx.
References tools::Rectangle::GetSize(), drawinglayer::getVDevBuffer(), maDestPixel, mpAlpha, mpContent, mrOutDev, and SAL_WARN_IF.
Referenced by drawinglayer::processor2d::VclPixelProcessor2D::processPatternFillPrimitive2D(), drawinglayer::processor2d::VclProcessor2D::RenderMaskPrimitive2DPixel(), and drawinglayer::processor2d::VclProcessor2D::RenderTransparencePrimitive2D().
|
inline |
Definition at line 106 of file vclhelperbufferdevice.hxx.
References tools::Rectangle::IsEmpty(), and maDestPixel.
Referenced by impBufferDevice(), paint(), drawinglayer::processor2d::VclPixelProcessor2D::processPatternFillPrimitive2D(), drawinglayer::processor2d::VclProcessor2D::RenderMaskPrimitive2DPixel(), drawinglayer::processor2d::VclProcessor2D::RenderTransparencePrimitive2D(), and drawinglayer::processor2d::VclProcessor2D::RenderUnifiedTransparencePrimitive2D().
void drawinglayer::impBufferDevice::paint | ( | double | fTrans = 0.0 | ) |
Definition at line 446 of file vclhelperbufferdevice.cxx.
References basegfx::utils::createScaleTranslateB2DHomMatrix(), OutputDevice::DrawBitmapEx(), OutputDevice::DrawOutDev(), OutputDevice::DrawTransformedBitmapEx(), OutputDevice::EnableMapMode(), basegfx::fround(), AlphaMask::GetBitmap(), OutputDevice::GetRasterOp(), tools::Rectangle::GetSize(), Size::Height(), Bitmap::Invert(), OutputDevice::IsMapModeEnabled(), isVisible(), maDestPixel, mpAlpha, mpContent, mrOutDev, OutputDevice::SetRasterOp(), tools::Rectangle::TopLeft(), Size::Width(), WriteDIB(), Point::X(), and Point::Y().
Referenced by drawinglayer::processor2d::VclPixelProcessor2D::processPatternFillPrimitive2D(), drawinglayer::processor2d::VclProcessor2D::RenderMaskPrimitive2DPixel(), drawinglayer::processor2d::VclProcessor2D::RenderTransparencePrimitive2D(), and drawinglayer::processor2d::VclProcessor2D::RenderUnifiedTransparencePrimitive2D().
|
private |
Definition at line 99 of file vclhelperbufferdevice.hxx.
Referenced by getTransparence(), impBufferDevice(), isVisible(), and paint().
|
private |
Definition at line 98 of file vclhelperbufferdevice.hxx.
Referenced by getTransparence(), paint(), and ~impBufferDevice().
|
private |
Definition at line 97 of file vclhelperbufferdevice.hxx.
Referenced by getContent(), getTransparence(), impBufferDevice(), paint(), and ~impBufferDevice().
|
private |
Definition at line 96 of file vclhelperbufferdevice.hxx.
Referenced by getTransparence(), impBufferDevice(), and paint().