LibreOffice Module vcl (master) 1
|
#include <salgdi.hxx>
Public Member Functions | |
SalGraphics () | |
~SalGraphics () COVERITY_NOEXCEPT_FALSE override | |
virtual SalGraphicsImpl * | GetImpl () const =0 |
void | setAntiAlias (bool bNew) |
bool | getAntiAlias () const |
virtual void | GetResolution (sal_Int32 &rDPIX, sal_Int32 &rDPIY)=0 |
virtual sal_uInt16 | GetBitCount () const =0 |
virtual tools::Long | GetGraphicsWidth () const =0 |
virtual void | ResetClipRegion ()=0 |
virtual void | SetLineColor ()=0 |
virtual void | SetLineColor (Color nColor)=0 |
virtual void | SetFillColor ()=0 |
virtual void | SetFillColor (Color nColor)=0 |
virtual void | SetXORMode (bool bSet, bool bInvertOnly)=0 |
virtual void | SetROPLineColor (SalROPColor nROPColor)=0 |
virtual void | SetROPFillColor (SalROPColor nROPColor)=0 |
virtual void | SetTextColor (Color nColor)=0 |
virtual void | SetFont (LogicalFontInstance *, int nFallbackLevel)=0 |
void | ReleaseFonts () |
virtual void | GetFontMetric (FontMetricDataRef &, int nFallbackLevel)=0 |
virtual FontCharMapRef | GetFontCharMap () const =0 |
virtual bool | GetFontCapabilities (vcl::FontCapabilities &rFontCapabilities) const =0 |
virtual void | GetDevFontList (vcl::font::PhysicalFontCollection *)=0 |
virtual void | ClearDevFontCache ()=0 |
virtual bool | AddTempDevFont (vcl::font::PhysicalFontCollection *, const OUString &rFileURL, const OUString &rFontName)=0 |
virtual std::unique_ptr< GenericSalLayout > | GetTextLayout (int nFallbackLevel)=0 |
virtual void | DrawTextLayout (const GenericSalLayout &)=0 |
virtual bool | supportsOperation (OutDevSupportType) const =0 |
SalLayoutFlags | GetLayout () const |
void | SetLayout (SalLayoutFlags aLayout) |
void | mirror (tools::Long &nX, const OutputDevice &rOutDev) const |
tools::Long | mirror2 (tools::Long nX, const OutputDevice &rOutDev) const |
void | mirror (tools::Long &nX, tools::Long nWidth, const OutputDevice &rOutDev, bool bBack=false) const |
bool | mirror (sal_uInt32 nPoints, const Point *pPtAry, Point *pPtAry2, const OutputDevice &rOutDev) const |
void | mirror (tools::Rectangle &rRect, const OutputDevice &, bool bBack=false) const |
void | mirror (vcl::Region &rRgn, const OutputDevice &rOutDev) const |
void | mirror (ImplControlValue &, const OutputDevice &) const |
basegfx::B2DPolyPolygon | mirror (const basegfx::B2DPolyPolygon &i_rPoly, const OutputDevice &rOutDev) const |
const basegfx::B2DHomMatrix & | getMirror (const OutputDevice &rOutDev) const |
void | SetClipRegion (const vcl::Region &, const OutputDevice &rOutDev) |
void | DrawPixel (tools::Long nX, tools::Long nY, const OutputDevice &rOutDev) |
void | DrawPixel (tools::Long nX, tools::Long nY, Color nColor, const OutputDevice &rOutDev) |
void | DrawLine (tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2, const OutputDevice &rOutDev) |
void | DrawRect (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, const OutputDevice &rOutDev) |
void | DrawPolyLine (sal_uInt32 nPoints, Point const *pPtAry, const OutputDevice &rOutDev) |
void | DrawPolygon (sal_uInt32 nPoints, const Point *pPtAry, const OutputDevice &rOutDev) |
void | DrawPolyPolygon (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point **pPtAry, const OutputDevice &rOutDev) |
bool | DrawPolyPolygon (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolyPolygon &i_rPolyPolygon, double i_fTransparency, const OutputDevice &i_rOutDev) |
bool | DrawPolyLine (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolygon &i_rPolygon, double i_fTransparency, double i_fLineWidth, const std::vector< double > *i_pStroke, basegfx::B2DLineJoin i_eLineJoin, css::drawing::LineCap i_eLineCap, double i_fMiterMinimumAngle, bool bPixelSnapHairline, const OutputDevice &i_rOutDev) |
bool | DrawPolyLineBezier (sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry, const OutputDevice &rOutDev) |
bool | DrawPolygonBezier (sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry, const OutputDevice &rOutDev) |
bool | DrawPolyPolygonBezier (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point *const *pPtAry, const PolyFlags *const *pFlgAry, const OutputDevice &rOutDev) |
bool | DrawGradient (const tools::PolyPolygon &rPolyPoly, const Gradient &rGradient, const OutputDevice &rOutDev) |
void | CopyArea (tools::Long nDestX, tools::Long nDestY, tools::Long nSrcX, tools::Long nSrcY, tools::Long nSrcWidth, tools::Long nSrcHeight, const OutputDevice &rOutDev) |
void | CopyBits (const SalTwoRect &rPosAry, const OutputDevice &rOutDev) |
void | CopyBits (const SalTwoRect &rPosAry, SalGraphics &rSrcGraphics, const OutputDevice &rOutDev, const OutputDevice &rSrcOutDev) |
void | DrawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const OutputDevice &rOutDev) |
void | DrawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const SalBitmap &rTransparentBitmap, const OutputDevice &rOutDev) |
void | DrawMask (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, Color nMaskColor, const OutputDevice &rOutDev) |
std::shared_ptr< SalBitmap > | GetBitmap (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, const OutputDevice &rOutDev) |
Color | GetPixel (tools::Long nX, tools::Long nY, const OutputDevice &rOutDev) |
void | Invert (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, SalInvert nFlags, const OutputDevice &rOutDev) |
void | Invert (sal_uInt32 nPoints, const Point *pPtAry, SalInvert nFlags, const OutputDevice &rOutDev) |
bool | DrawEPS (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, void *pPtr, sal_uInt32 nSize, const OutputDevice &rOutDev) |
bool | IsNativeControlSupported (ControlType, ControlPart) |
bool | HitTestNativeScrollbar (ControlPart nPart, const tools::Rectangle &rControlRegion, const Point &aPos, bool &rIsInside, const OutputDevice &rOutDev) |
bool | DrawNativeControl (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption, const OutputDevice &rOutDev, const Color &rBackgroundColor=COL_AUTO) |
bool | GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion, const OutputDevice &rOutDev) |
bool | UpdateSettings (AllSettings &) |
bool | BlendBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const OutputDevice &rOutDev) |
bool | BlendAlphaBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalSrcBitmap, const SalBitmap &rSalMaskBitmap, const SalBitmap &rSalAlphaBitmap, const OutputDevice &rOutDev) |
bool | DrawAlphaBitmap (const SalTwoRect &, const SalBitmap &rSourceBitmap, const SalBitmap &rAlphaBitmap, const OutputDevice &rOutDev) |
bool | DrawTransformedBitmap (const basegfx::B2DPoint &rNull, const basegfx::B2DPoint &rX, const basegfx::B2DPoint &rY, const SalBitmap &rSourceBitmap, const SalBitmap *pAlphaBitmap, double fAlpha, const OutputDevice &rOutDev) |
bool | HasFastDrawTransformedBitmap () const |
bool | DrawAlphaRect (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt8 nTransparency, const OutputDevice &rOutDev) |
virtual OUString | getRenderBackendName () const |
virtual SystemGraphicsData | GetGraphicsData () const =0 |
virtual bool | ShouldDownscaleIconsAtSurface (double *pScaleOut) const |
Protected Member Functions | |
virtual void | setClipRegion (const vcl::Region &)=0 |
virtual void | drawPixel (tools::Long nX, tools::Long nY)=0 |
virtual void | drawPixel (tools::Long nX, tools::Long nY, Color nColor)=0 |
virtual void | drawLine (tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2)=0 |
virtual void | drawRect (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight)=0 |
virtual void | drawPolyLine (sal_uInt32 nPoints, const Point *pPtAry)=0 |
virtual void | drawPolygon (sal_uInt32 nPoints, const Point *pPtAry)=0 |
virtual void | drawPolyPolygon (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point **pPtAry)=0 |
virtual bool | drawPolyPolygon (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolyPolygon &, double fTransparency)=0 |
virtual bool | drawPolyLine (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolygon &, double fTransparency, double fLineWidth, const std::vector< double > *pStroke, basegfx::B2DLineJoin, css::drawing::LineCap, double fMiterMinimumAngle, bool bPixelSnapHairline)=0 |
virtual bool | drawPolyLineBezier (sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry)=0 |
virtual bool | drawPolygonBezier (sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry)=0 |
virtual bool | drawPolyPolygonBezier (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point *const *pPtAry, const PolyFlags *const *pFlgAry)=0 |
virtual bool | drawGradient (const tools::PolyPolygon &rPolyPoly, const Gradient &rGradient)=0 |
virtual bool | implDrawGradient (basegfx::B2DPolyPolygon const &, SalGradient const &) |
virtual void | copyArea (tools::Long nDestX, tools::Long nDestY, tools::Long nSrcX, tools::Long nSrcY, tools::Long nSrcWidth, tools::Long nSrcHeight, bool bWindowInvalidate)=0 |
virtual void | copyBits (const SalTwoRect &rPosAry, SalGraphics *pSrcGraphics)=0 |
virtual void | drawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap)=0 |
virtual void | drawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const SalBitmap &rMaskBitmap)=0 |
virtual void | drawMask (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, Color nMaskColor)=0 |
virtual std::shared_ptr< SalBitmap > | getBitmap (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight)=0 |
virtual Color | getPixel (tools::Long nX, tools::Long nY)=0 |
virtual void | invert (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, SalInvert nFlags)=0 |
virtual void | invert (sal_uInt32 nPoints, const Point *pPtAry, SalInvert nFlags)=0 |
virtual bool | drawEPS (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, void *pPtr, sal_uInt32 nSize)=0 |
virtual bool | blendBitmap (const SalTwoRect &, const SalBitmap &rBitmap)=0 |
Blend the bitmap with the current buffer. More... | |
virtual bool | blendAlphaBitmap (const SalTwoRect &, const SalBitmap &rSrcBitmap, const SalBitmap &rMaskBitmap, const SalBitmap &rAlphaBitmap)=0 |
Draw the bitmap by blending using the mask and alpha channel. More... | |
virtual bool | drawAlphaBitmap (const SalTwoRect &, const SalBitmap &rSourceBitmap, const SalBitmap &rAlphaBitmap)=0 |
Render bitmap with alpha channel. More... | |
virtual bool | drawTransformedBitmap (const basegfx::B2DPoint &rNull, const basegfx::B2DPoint &rX, const basegfx::B2DPoint &rY, const SalBitmap &rSourceBitmap, const SalBitmap *pAlphaBitmap, double fAlpha)=0 |
draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system More... | |
virtual bool | hasFastDrawTransformedBitmap () const =0 |
Returns true if the drawTransformedBitmap() call is fast, and so it should be used directly without trying to optimize some calls e.g. More... | |
virtual bool | drawAlphaRect (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt8 nTransparency)=0 |
Render solid rectangle with given transparency. More... | |
tools::Long | GetDeviceWidth (const OutputDevice &rOutDev) const |
virtual void | handleDamage (const tools::Rectangle &rDamagedRegion) |
Handle damage done by drawing with a widget draw override. More... | |
bool | initWidgetDrawBackends (bool bForce=false) |
vcl::WidgetDrawInterface * | forWidget () |
Protected Member Functions inherited from vcl::WidgetDrawInterface | |
virtual | ~WidgetDrawInterface () COVERITY_NOEXCEPT_FALSE |
virtual bool | isNativeControlSupported (ControlType eType, ControlPart ePart) |
Query the platform layer for native control support. More... | |
virtual bool | hitTestNativeControl (ControlType eType, ControlPart ePart, const tools::Rectangle &rBoundingControlRegion, const Point &aPos, bool &rIsInside) |
Query if a position is inside the native widget part. More... | |
virtual bool | drawNativeControl (ControlType eType, ControlPart ePart, const tools::Rectangle &rBoundingControlRegion, ControlState eState, const ImplControlValue &aValue, const OUString &aCaptions, const Color &rBackgroundColor) |
Draw the requested control. More... | |
virtual bool | getNativeControlRegion (ControlType eType, ControlPart ePart, const tools::Rectangle &rBoundingControlRegion, ControlState eState, const ImplControlValue &aValue, const OUString &aCaption, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) |
Get the native control regions for the control part. More... | |
virtual bool | updateSettings (AllSettings &rSettings) |
Protected Attributes | |
bool | m_bAntiAlias: 1 |
flags which hold the SetAntialiasing() value from OutputDevice More... | |
std::unique_ptr< vcl::WidgetDrawInterface > | m_pWidgetDraw |
Private Types | |
enum class | MirrorMode { NONE , Antiparallel , AntiparallelBiDi , BiDi } |
Private Member Functions | |
MirrorMode | GetMirrorMode (const OutputDevice &rOutDev) const |
Private Attributes | |
SalLayoutFlags | m_nLayout |
MirrorMode | m_eLastMirrorMode |
tools::Long | m_nLastMirrorTranslation |
basegfx::B2DHomMatrix | m_aLastMirror |
Friends | |
class | vcl::FileDefinitionWidgetDraw |
Definition at line 75 of file salgdi.hxx.
|
strongprivate |
Enumerator | |
---|---|
NONE | |
Antiparallel | |
AntiparallelBiDi | |
BiDi |
Definition at line 597 of file salgdi.hxx.
SalGraphics::SalGraphics | ( | ) |
Definition at line 52 of file salgdilayout.cxx.
References BiDiRtl, AllSettings::GetLayoutRTL(), m_nLayout, and NONE.
|
override |
Definition at line 81 of file salgdilayout.cxx.
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, AquaSalGraphics, GenPspGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by OutputDevice::AddTempDevFont().
|
protectedpure virtual |
Draw the bitmap by blending using the mask and alpha channel.
Implemented in WinSalGraphics, and SalGraphicsAutoDelegateToImpl.
Referenced by BlendAlphaBitmap().
bool SalGraphics::BlendAlphaBitmap | ( | const SalTwoRect & | rPosAry, |
const SalBitmap & | rSalSrcBitmap, | ||
const SalBitmap & | rSalMaskBitmap, | ||
const SalBitmap & | rSalAlphaBitmap, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 850 of file salgdilayout.cxx.
References BiDiRtl, blendAlphaBitmap(), OutputDevice::IsRTLEnabled(), m_nLayout, mirror(), SalTwoRect::mnDestWidth, and SalTwoRect::mnDestX.
Referenced by OutputDevice::DrawDeviceAlphaBitmap().
|
protectedpure virtual |
Blend the bitmap with the current buffer.
Implemented in WinSalGraphics, and SalGraphicsAutoDelegateToImpl.
Referenced by BlendBitmap().
bool SalGraphics::BlendBitmap | ( | const SalTwoRect & | rPosAry, |
const SalBitmap & | rSalBitmap, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 836 of file salgdilayout.cxx.
References BiDiRtl, blendBitmap(), OutputDevice::IsRTLEnabled(), m_nLayout, mirror(), SalTwoRect::mnDestWidth, and SalTwoRect::mnDestX.
Referenced by OutputDevice::BlendBitmap().
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, AquaSalGraphics, GenPspGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by OutputDevice::ImplClearAllFontData().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by CopyArea().
void SalGraphics::CopyArea | ( | tools::Long | nDestX, |
tools::Long | nDestY, | ||
tools::Long | nSrcX, | ||
tools::Long | nSrcY, | ||
tools::Long | nSrcWidth, | ||
tools::Long | nSrcHeight, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 612 of file salgdilayout.cxx.
References BiDiRtl, copyArea(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by vcl::WindowOutputDevice::CopyDeviceArea(), vcl::Window::ImplPosSizeWindow(), and vcl::Window::ImplScroll().
void SalGraphics::CopyBits | ( | const SalTwoRect & | rPosAry, |
const OutputDevice & | rOutDev | ||
) |
Definition at line 625 of file salgdilayout.cxx.
References BiDiRtl, copyBits(), OutputDevice::IsRTLEnabled(), m_nLayout, mirror(), SalTwoRect::mnDestWidth, and SalTwoRect::mnDestX.
Referenced by OutputDevice::CopyDeviceArea(), OutputDevice::DrawOutDev(), OutputDevice::DrawOutDevDirectProcess(), vcl::WindowOutputDevice::DrawOutDevDirectProcess(), and VirtualDevice::InnerImplSetOutputSizePixel().
void SalGraphics::CopyBits | ( | const SalTwoRect & | rPosAry, |
SalGraphics & | rSrcGraphics, | ||
const OutputDevice & | rOutDev, | ||
const OutputDevice & | rSrcOutDev | ||
) |
Definition at line 637 of file salgdilayout.cxx.
References BiDiRtl, copyBits(), GetLayout(), OutputDevice::IsRTLEnabled(), m_nLayout, mirror(), SalTwoRect::mnDestWidth, SalTwoRect::mnDestX, SalTwoRect::mnSrcWidth, and SalTwoRect::mnSrcX.
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by CopyBits().
|
protectedpure virtual |
Render bitmap with alpha channel.
rSourceBitmap | Source bitmap to blit |
rAlphaBitmap | Alpha channel to use for blitting |
Implemented in WinSalGraphics, and SalGraphicsAutoDelegateToImpl.
Referenced by DrawAlphaBitmap().
bool SalGraphics::DrawAlphaBitmap | ( | const SalTwoRect & | rPosAry, |
const SalBitmap & | rSourceBitmap, | ||
const SalBitmap & | rAlphaBitmap, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 866 of file salgdilayout.cxx.
References BiDiRtl, drawAlphaBitmap(), OutputDevice::IsRTLEnabled(), m_nLayout, mirror(), SalTwoRect::mnDestWidth, and SalTwoRect::mnDestX.
Referenced by OutputDevice::DrawDeviceAlphaBitmap(), and OutputDevice::DrawDeviceBitmapEx().
|
protectedpure virtual |
Render solid rectangle with given transparency.
nX | Top left coordinate of rectangle |
nY | Bottom right coordinate of rectangle |
nWidth | Width of rectangle |
nHeight | Height of rectangle |
nTransparency | Transparency value (0-255) to use. 0 blits and opaque, 255 a fully transparent rectangle |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawAlphaRect().
bool SalGraphics::DrawAlphaRect | ( | tools::Long | nX, |
tools::Long | nY, | ||
tools::Long | nWidth, | ||
tools::Long | nHeight, | ||
sal_uInt8 | nTransparency, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 916 of file salgdilayout.cxx.
References BiDiRtl, drawAlphaRect(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::EmulateDrawTransparent().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawBitmap(), and vcl::FileDefinitionWidgetDraw::drawBitmap().
void SalGraphics::DrawBitmap | ( | const SalTwoRect & | rPosAry, |
const SalBitmap & | rSalBitmap, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 654 of file salgdilayout.cxx.
References BiDiRtl, drawBitmap(), OutputDevice::IsRTLEnabled(), m_nLayout, mirror(), SalTwoRect::mnDestWidth, and SalTwoRect::mnDestX.
Referenced by OutputDevice::DrawBitmap(), and OutputDevice::DrawDeviceBitmapEx().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
void SalGraphics::DrawBitmap | ( | const SalTwoRect & | rPosAry, |
const SalBitmap & | rSalBitmap, | ||
const SalBitmap & | rTransparentBitmap, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 667 of file salgdilayout.cxx.
References BiDiRtl, drawBitmap(), OutputDevice::IsRTLEnabled(), m_nLayout, mirror(), SalTwoRect::mnDestWidth, and SalTwoRect::mnDestX.
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawEPS().
bool SalGraphics::DrawEPS | ( | tools::Long | nX, |
tools::Long | nY, | ||
tools::Long | nWidth, | ||
tools::Long | nHeight, | ||
void * | pPtr, | ||
sal_uInt32 | nSize, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 728 of file salgdilayout.cxx.
References BiDiRtl, drawEPS(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::DrawEPS().
|
protectedpure virtual |
Implemented in WinSalGraphics, and SalGraphicsAutoDelegateToImpl.
Referenced by DrawGradient().
bool SalGraphics::DrawGradient | ( | const tools::PolyPolygon & | rPolyPoly, |
const Gradient & | rGradient, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 601 of file salgdilayout.cxx.
References BiDiRtl, drawGradient(), tools::PolyPolygon::getB2DPolyPolygon(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::DrawGradient().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawLine().
void SalGraphics::DrawLine | ( | tools::Long | nX1, |
tools::Long | nY1, | ||
tools::Long | nX2, | ||
tools::Long | nY2, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 404 of file salgdilayout.cxx.
References BiDiRtl, drawLine(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::DrawGrid(), OutputDevice::DrawHatchLine_DrawLine(), OutputDevice::DrawLine(), and OutputDevice::ImplDrawWaveLine().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawMask().
void SalGraphics::DrawMask | ( | const SalTwoRect & | rPosAry, |
const SalBitmap & | rSalBitmap, | ||
Color | nMaskColor, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 681 of file salgdilayout.cxx.
References BiDiRtl, drawMask(), OutputDevice::IsRTLEnabled(), m_nLayout, mirror(), SalTwoRect::mnDestWidth, and SalTwoRect::mnDestX.
Referenced by OutputDevice::DrawDeviceMask().
bool SalGraphics::DrawNativeControl | ( | ControlType | nType, |
ControlPart | nPart, | ||
const tools::Rectangle & | rControlRegion, | ||
ControlState | nState, | ||
const ImplControlValue & | aValue, | ||
const OUString & | aCaption, | ||
const OutputDevice & | rOutDev, | ||
const Color & | rBackgroundColor = COL_AUTO |
||
) |
Definition at line 786 of file salgdilayout.cxx.
References BiDiRtl, ImplControlValue::clone(), vcl::WidgetDrawInterface::drawNativeControl(), forWidget(), tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), handleDamage(), comphelper::LibreOfficeKit::isActive(), tools::Rectangle::IsEmpty(), OutputDevice::IsRTLEnabled(), m_nLayout, m_pWidgetDraw, mirror(), nState, and nType.
Referenced by OutputDevice::DrawNativeControl().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawPixel().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
void SalGraphics::DrawPixel | ( | tools::Long | nX, |
tools::Long | nY, | ||
Color | nColor, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 397 of file salgdilayout.cxx.
References BiDiRtl, drawPixel(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
void SalGraphics::DrawPixel | ( | tools::Long | nX, |
tools::Long | nY, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 390 of file salgdilayout.cxx.
References BiDiRtl, drawPixel(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::DrawGrid(), OutputDevice::DrawPixel(), and OutputDevice::ImplDrawWavePixel().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawPolygon().
void SalGraphics::DrawPolygon | ( | sal_uInt32 | nPoints, |
const Point * | pPtAry, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 433 of file salgdilayout.cxx.
References BiDiRtl, drawPolygon(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::DrawChord(), OutputDevice::DrawEllipse(), OutputDevice::drawLine(), OutputDevice::DrawPie(), OutputDevice::DrawPolygon(), OutputDevice::DrawRect(), OutputDevice::ImplDrawPolygon(), and OutputDevice::ImplDrawPolyPolygon().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawPolygonBezier().
bool SalGraphics::DrawPolygonBezier | ( | sal_uInt32 | nPoints, |
const Point * | pPtAry, | ||
const PolyFlags * | pFlgAry, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 517 of file salgdilayout.cxx.
References BiDiRtl, drawPolygonBezier(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::DrawPolygon(), and OutputDevice::ImplDrawPolyPolygon().
|
protectedpure virtual |
Implemented in WinSalGraphics, and SalGraphicsAutoDelegateToImpl.
bool SalGraphics::DrawPolyLine | ( | const basegfx::B2DHomMatrix & | rObjectToDevice, |
const basegfx::B2DPolygon & | i_rPolygon, | ||
double | i_fTransparency, | ||
double | i_fLineWidth, | ||
const std::vector< double > * | i_pStroke, | ||
basegfx::B2DLineJoin | i_eLineJoin, | ||
css::drawing::LineCap | i_eLineCap, | ||
double | i_fMiterMinimumAngle, | ||
bool | bPixelSnapHairline, | ||
const OutputDevice & | i_rOutDev | ||
) |
Definition at line 557 of file salgdilayout.cxx.
References BiDiRtl, drawPolyLine(), getMirror(), basegfx::B2DHomMatrix::isIdentity(), OutputDevice::IsRTLEnabled(), and m_nLayout.
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawPolyLine(), and vcl::FileDefinitionWidgetDraw::drawPolyLine().
void SalGraphics::DrawPolyLine | ( | sal_uInt32 | nPoints, |
Point const * | pPtAry, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 421 of file salgdilayout.cxx.
References BiDiRtl, drawPolyLine(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::DrawArc(), OutputDevice::DrawChord(), OutputDevice::DrawEllipse(), OutputDevice::drawLine(), OutputDevice::DrawLine(), OutputDevice::DrawPie(), OutputDevice::DrawPolygon(), OutputDevice::DrawPolyLine(), OutputDevice::drawPolyLine(), OutputDevice::DrawPolyLineDirectInternal(), OutputDevice::DrawPolyPolygon(), OutputDevice::DrawRect(), OutputDevice::DrawTransparent(), OutputDevice::DrawTransparentNatively(), OutputDevice::ImplDrawPolyPolygonWithB2DPolyPolygon(), and OutputDevice::ImplDrawWaveLineBezier().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawPolyLineBezier().
bool SalGraphics::DrawPolyLineBezier | ( | sal_uInt32 | nPoints, |
const Point * | pPtAry, | ||
const PolyFlags * | pFlgAry, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 503 of file salgdilayout.cxx.
References BiDiRtl, drawPolyLineBezier(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::DrawPolyLine().
|
protectedpure virtual |
Implemented in WinSalGraphics, and SalGraphicsAutoDelegateToImpl.
bool SalGraphics::DrawPolyPolygon | ( | const basegfx::B2DHomMatrix & | rObjectToDevice, |
const basegfx::B2DPolyPolygon & | i_rPolyPolygon, | ||
double | i_fTransparency, | ||
const OutputDevice & | i_rOutDev | ||
) |
Definition at line 478 of file salgdilayout.cxx.
References BiDiRtl, drawPolyPolygon(), getMirror(), basegfx::B2DHomMatrix::isIdentity(), OutputDevice::IsRTLEnabled(), and m_nLayout.
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawPolyPolygon(), and vcl::FileDefinitionWidgetDraw::drawPolyPolygon().
void SalGraphics::DrawPolyPolygon | ( | sal_uInt32 | nPoly, |
const sal_uInt32 * | pPoints, | ||
const Point ** | pPtAry, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 445 of file salgdilayout.cxx.
References BiDiRtl, drawPolyPolygon(), i, OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::drawLine(), OutputDevice::DrawPolygon(), OutputDevice::DrawPolyPolygon(), OutputDevice::DrawTransparent(), OutputDevice::DrawTransparentNatively(), OutputDevice::ImplDrawPolyPolygon(), and OutputDevice::ImplDrawPolyPolygonWithB2DPolyPolygon().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawPolyPolygonBezier().
bool SalGraphics::DrawPolyPolygonBezier | ( | sal_uInt32 | nPoly, |
const sal_uInt32 * | pPoints, | ||
const Point *const * | pPtAry, | ||
const PolyFlags *const * | pFlgAry, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 531 of file salgdilayout.cxx.
References BiDiRtl, drawPolyPolygonBezier(), i, OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::ImplDrawPolyPolygon().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by DrawRect().
void SalGraphics::DrawRect | ( | tools::Long | nX, |
tools::Long | nY, | ||
tools::Long | nWidth, | ||
tools::Long | nHeight, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 414 of file salgdilayout.cxx.
References BiDiRtl, drawRect(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::DrawRect(), OutputDevice::ImplDrawTextRect(), and OutputDevice::ImplDrawWavePixel().
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, AquaSalGraphics, GenPspGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by GenericSalLayout::DrawText().
|
protectedpure virtual |
draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system
fAlpha | additional alpha (0 to 1) to apply while drawing |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Definition at line 86 of file salgdilayout.cxx.
Referenced by DrawTransformedBitmap().
bool SalGraphics::DrawTransformedBitmap | ( | const basegfx::B2DPoint & | rNull, |
const basegfx::B2DPoint & | rX, | ||
const basegfx::B2DPoint & | rY, | ||
const SalBitmap & | rSourceBitmap, | ||
const SalBitmap * | pAlphaBitmap, | ||
double | fAlpha, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 881 of file salgdilayout.cxx.
References BiDiRtl, drawTransformedBitmap(), getMirror(), basegfx::B2DHomMatrix::isIdentity(), OutputDevice::IsRTLEnabled(), and m_nLayout.
Referenced by OutputDevice::DrawTransformBitmapExDirect().
|
inlineprotected |
Definition at line 630 of file salgdi.hxx.
Referenced by DrawNativeControl(), GetNativeControlRegion(), HitTestNativeScrollbar(), IsNativeControlSupported(), and UpdateSettings().
|
inline |
Definition at line 92 of file salgdi.hxx.
Referenced by SvpSalGraphics::copySource(), vcl::FileDefinitionWidgetDraw::drawNativeControl(), and SvpSalGraphics::getCairoContext().
|
pure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by OutputDevice::GetBitCount().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by GetBitmap().
std::shared_ptr< SalBitmap > SalGraphics::GetBitmap | ( | tools::Long | nX, |
tools::Long | nY, | ||
tools::Long | nWidth, | ||
tools::Long | nHeight, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 695 of file salgdilayout.cxx.
References BiDiRtl, getBitmap(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::GetBitmap().
|
pure virtual |
|
inlineprotected |
Definition at line 104 of file salgdilayout.cxx.
References GetGraphicsWidth(), OutputDevice::GetOutputWidthPixel(), and OutputDevice::IsVirtual().
Referenced by X11SalGraphics::GetPixel(), and mirror().
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, AquaSalGraphics, GenPspGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by OutputDevice::GetFontCapabilities().
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, AquaSalGraphics, GenPspGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by OutputDevice::GetFontCharMap().
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, AquaSalGraphics, GenPspGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by OutputDevice::ImplNewFont().
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, AquaSalGraphics, GenPspGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by OutputDevice::GetSystemGfxData().
|
pure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by GetDeviceWidth(), and OutputDevice::ImplDrawTextDirect().
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, AquaSalGraphics, GenPspGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by SalGraphicsAutoDelegateToImpl::blendAlphaBitmap(), SalGraphicsAutoDelegateToImpl::blendBitmap(), SalGraphicsAutoDelegateToImpl::copyArea(), SalGraphicsAutoDelegateToImpl::copyBits(), SalGraphicsAutoDelegateToImpl::drawAlphaBitmap(), SalGraphicsAutoDelegateToImpl::drawAlphaRect(), SalGraphicsAutoDelegateToImpl::drawBitmap(), SalGraphicsAutoDelegateToImpl::drawEPS(), SalGraphicsAutoDelegateToImpl::drawGradient(), SalGraphicsAutoDelegateToImpl::drawLine(), SalGraphicsAutoDelegateToImpl::drawMask(), SalGraphicsAutoDelegateToImpl::drawPixel(), SalGraphicsAutoDelegateToImpl::drawPolygon(), SalGraphicsAutoDelegateToImpl::drawPolygonBezier(), SalGraphicsAutoDelegateToImpl::drawPolyLine(), SalGraphicsAutoDelegateToImpl::drawPolyLineBezier(), SalGraphicsAutoDelegateToImpl::drawPolyPolygon(), SalGraphicsAutoDelegateToImpl::drawPolyPolygonBezier(), SalGraphicsAutoDelegateToImpl::drawRect(), SalGraphicsAutoDelegateToImpl::drawTransformedBitmap(), SalGraphicsAutoDelegateToImpl::GetBitCount(), SalGraphicsAutoDelegateToImpl::getBitmap(), SalGraphicsAutoDelegateToImpl::GetGraphicsWidth(), SalGraphicsAutoDelegateToImpl::getPixel(), getRenderBackendName(), SalGraphicsAutoDelegateToImpl::getRenderBackendName(), SalGraphicsAutoDelegateToImpl::hasFastDrawTransformedBitmap(), SalGraphicsAutoDelegateToImpl::implDrawGradient(), SalGraphicsAutoDelegateToImpl::invert(), SalGraphicsAutoDelegateToImpl::ResetClipRegion(), SalGraphicsAutoDelegateToImpl::setClipRegion(), SalGraphicsAutoDelegateToImpl::SetFillColor(), SalGraphicsAutoDelegateToImpl::SetLineColor(), SalGraphicsAutoDelegateToImpl::SetROPFillColor(), SalGraphicsAutoDelegateToImpl::SetROPLineColor(), SalGraphicsAutoDelegateToImpl::SetXORMode(), and SalGraphicsAutoDelegateToImpl::supportsOperation().
|
inline |
Definition at line 170 of file salgdi.hxx.
Referenced by CopyBits(), OutputDevice::DrawOutDevDirectProcess(), OutputDevice::HasMirroredGraphics(), and OutputDevice::ImplIsAntiparallel().
const basegfx::B2DHomMatrix & SalGraphics::getMirror | ( | const OutputDevice & | rOutDev | ) | const |
Definition at line 284 of file salgdilayout.cxx.
References GetMirrorMode().
Referenced by DrawPolyLine(), DrawPolyPolygon(), DrawTransformedBitmap(), and mirror().
|
private |
Definition at line 270 of file salgdilayout.cxx.
References Antiparallel, AntiparallelBiDi, BiDi, BiDiRtl, OutputDevice::ImplIsAntiparallel(), m_nLayout, and NONE.
Referenced by getMirror().
bool SalGraphics::GetNativeControlRegion | ( | ControlType | nType, |
ControlPart | nPart, | ||
const tools::Rectangle & | rControlRegion, | ||
ControlState | nState, | ||
const ImplControlValue & | aValue, | ||
tools::Rectangle & | rNativeBoundingRegion, | ||
tools::Rectangle & | rNativeContentRegion, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 814 of file salgdilayout.cxx.
References BiDiRtl, ImplControlValue::clone(), forWidget(), vcl::WidgetDrawInterface::getNativeControlRegion(), OutputDevice::IsRTLEnabled(), m_nLayout, mirror(), nState, and nType.
Referenced by OutputDevice::GetNativeControlRegion().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by GetPixel().
Color SalGraphics::GetPixel | ( | tools::Long | nX, |
tools::Long | nY, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 702 of file salgdilayout.cxx.
References BiDiRtl, getPixel(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::GetPixel().
|
virtual |
Reimplemented in QtGraphics, QtSvpGraphics, SalGraphicsAutoDelegateToImpl, and GtkSalGraphics.
Definition at line 925 of file salgdilayout.cxx.
References GetImpl(), and SalGraphicsImpl::getRenderBackendName().
Referenced by OutputDevice::GetRenderBackendName().
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, QtSvpGraphics, AquaSalGraphics, GenPspGraphics, GtkSalGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by Printer::ImplUpdatePageData().
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, AquaSalGraphics, GenPspGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by OutputDevice::getFallbackLayout(), and OutputDevice::ImplLayout().
|
inlineprotectedvirtual |
Handle damage done by drawing with a widget draw override.
If a m_pWidgetDraw is set and successfully draws using drawNativeControl, this function is called to handle the damage done to the graphics buffer.
rDamagedRegion | the region damaged by drawNativeControl. |
Reimplemented in QtGraphics, QtSvpGraphics, and GtkSalGraphics.
Definition at line 643 of file salgdi.hxx.
Referenced by DrawNativeControl().
bool SalGraphics::HasFastDrawTransformedBitmap | ( | ) | const |
Definition at line 911 of file salgdilayout.cxx.
References hasFastDrawTransformedBitmap().
Referenced by OutputDevice::DrawTransformedBitmapEx(), and OutputDevice::HasFastDrawTransformedBitmap().
|
protectedpure virtual |
Returns true if the drawTransformedBitmap() call is fast, and so it should be used directly without trying to optimize some calls e.g.
by calling drawBitmap() instead (which is faster for most VCL backends). These optimizations are not done unconditionally because they may be counter-productive for some fast VCL backends (for example, some OutputDevice optimizations could try access the pixels, which would make performance worse for GPU-backed backends). See also tdf#138068.
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by HasFastDrawTransformedBitmap().
bool SalGraphics::HitTestNativeScrollbar | ( | ControlPart | nPart, |
const tools::Rectangle & | rControlRegion, | ||
const Point & | aPos, | ||
bool & | rIsInside, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 735 of file salgdilayout.cxx.
References BiDiRtl, forWidget(), vcl::WidgetDrawInterface::hitTestNativeControl(), OutputDevice::IsRTLEnabled(), m_nLayout, mirror(), mirror2(), pt, and Scrollbar.
Referenced by OutputDevice::HitTestNativeScrollbar().
|
inlineprotectedvirtual |
Reimplemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Definition at line 481 of file salgdi.hxx.
Referenced by vcl::FileDefinitionWidgetDraw::implDrawGradient().
|
protected |
Definition at line 63 of file salgdilayout.cxx.
References m_pWidgetDraw.
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
void SalGraphics::Invert | ( | sal_uInt32 | nPoints, |
const Point * | pPtAry, | ||
SalInvert | nFlags, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 716 of file salgdilayout.cxx.
References BiDiRtl, invert(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
|
protectedpure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by Invert().
void SalGraphics::Invert | ( | tools::Long | nX, |
tools::Long | nY, | ||
tools::Long | nWidth, | ||
tools::Long | nHeight, | ||
SalInvert | nFlags, | ||
const OutputDevice & | rOutDev | ||
) |
Definition at line 709 of file salgdilayout.cxx.
References BiDiRtl, invert(), OutputDevice::IsRTLEnabled(), m_nLayout, and mirror().
Referenced by OutputDevice::Invert(), and vcl::Window::InvertTracking().
|
inline |
Definition at line 633 of file salgdi.hxx.
References eType, forWidget(), and vcl::WidgetDrawInterface::isNativeControlSupported().
Referenced by OutputDevice::IsNativeControlSupported().
basegfx::B2DPolyPolygon SalGraphics::mirror | ( | const basegfx::B2DPolyPolygon & | i_rPoly, |
const OutputDevice & | rOutDev | ||
) | const |
Definition at line 253 of file salgdilayout.cxx.
References basegfx::B2DPolyPolygon::flip(), getMirror(), basegfx::B2DHomMatrix::isIdentity(), and basegfx::B2DPolyPolygon::transform().
void SalGraphics::mirror | ( | ImplControlValue & | rVal, |
const OutputDevice & | rOutDev | ||
) | const |
Definition at line 750 of file salgdilayout.cxx.
References ImplControlValue::getType(), ScrollbarValue::maButton1Rect, ScrollbarValue::maButton2Rect, ToolbarValue::maGripRect, SpinbuttonValue::maLowerRect, ScrollbarValue::maThumbRect, SliderValue::maThumbRect, SpinbuttonValue::maUpperRect, mirror(), Scrollbar, Slider, Spinbox, SpinButtons, and Toolbar.
bool SalGraphics::mirror | ( | sal_uInt32 | nPoints, |
const Point * | pPtAry, | ||
Point * | pPtAry2, | ||
const OutputDevice & | rOutDev | ||
) | const |
Definition at line 163 of file salgdilayout.cxx.
References BiDiRtl, GetDeviceWidth(), OutputDevice::GetOutOffXPixel(), OutputDevice::GetOutputWidthPixel(), Point::getX(), i, OutputDevice::ImplIsAntiparallel(), m_nLayout, Point::setX(), Point::setY(), and w.
void SalGraphics::mirror | ( | tools::Long & | nX, |
const OutputDevice & | rOutDev | ||
) | const |
Definition at line 109 of file salgdilayout.cxx.
References BiDiRtl, GetDeviceWidth(), OutputDevice::GetOutOffXPixel(), OutputDevice::GetOutputWidthPixel(), OutputDevice::ImplIsAntiparallel(), m_nLayout, w, and x.
Referenced by BlendAlphaBitmap(), BlendBitmap(), CopyArea(), CopyBits(), DrawAlphaBitmap(), DrawAlphaRect(), DrawBitmap(), DrawEPS(), DrawGradient(), DrawLine(), DrawMask(), DrawNativeControl(), OutputDevice::DrawOutDevDirectProcess(), DrawPixel(), DrawPolygon(), DrawPolygonBezier(), DrawPolyLine(), DrawPolyLineBezier(), DrawPolyPolygon(), DrawPolyPolygonBezier(), DrawRect(), GetBitmap(), GetNativeControlRegion(), GetPixel(), HitTestNativeScrollbar(), Invert(), mirror(), mirror2(), and SetClipRegion().
void SalGraphics::mirror | ( | tools::Long & | nX, |
tools::Long | nWidth, | ||
const OutputDevice & | rOutDev, | ||
bool | bBack = false |
||
) | const |
Definition at line 133 of file salgdilayout.cxx.
References BiDiRtl, GetDeviceWidth(), OutputDevice::GetOutOffXPixel(), OutputDevice::GetOutputWidthPixel(), OutputDevice::ImplIsAntiparallel(), m_nLayout, w, and x.
void SalGraphics::mirror | ( | tools::Rectangle & | rRect, |
const OutputDevice & | rOutDev, | ||
bool | bBack = false |
||
) | const |
Definition at line 243 of file salgdilayout.cxx.
References tools::Rectangle::GetWidth(), tools::Rectangle::Left(), mirror(), tools::Rectangle::Move(), and x.
void SalGraphics::mirror | ( | vcl::Region & | rRgn, |
const OutputDevice & | rOutDev | ||
) | const |
Definition at line 206 of file salgdilayout.cxx.
References vcl::Region::GetAsB2DPolyPolygon(), vcl::Region::GetRegionRectangles(), vcl::Region::HasPolyPolygonOrB2DPolyPolygon(), mirror(), rectangle(), vcl::Region::SetEmpty(), and vcl::Region::Union().
tools::Long SalGraphics::mirror2 | ( | tools::Long | nX, |
const OutputDevice & | rOutDev | ||
) | const |
Definition at line 98 of file salgdilayout.cxx.
Referenced by HitTestNativeScrollbar().
|
inline |
Definition at line 141 of file salgdi.hxx.
Referenced by OutputDevice::ImplClearFontData(), OutputDevice::ImplReleaseFonts(), and Printer::ImplReleaseFonts().
|
pure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by OutputDevice::InitClipRegion().
|
inline |
Definition at line 83 of file salgdi.hxx.
Referenced by Printer::AcquireGraphics(), VirtualDevice::AcquireGraphics(), vcl::WindowOutputDevice::AcquireGraphics(), vcl::FileDefinitionWidgetDraw::drawNativeControl(), and OutputDevice::SetAntialiasing().
|
protectedpure virtual |
Implemented in WinSalGraphics, and SalGraphicsAutoDelegateToImpl.
Referenced by SetClipRegion().
void SalGraphics::SetClipRegion | ( | const vcl::Region & | i_rClip, |
const OutputDevice & | rOutDev | ||
) |
Definition at line 376 of file salgdilayout.cxx.
References BiDiRtl, OutputDevice::IsRTLEnabled(), m_nLayout, mirror(), and setClipRegion().
Referenced by OutputDevice::SelectClipRegion().
|
pure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by OutputDevice::DrawComplexGradient(), OutputDevice::DrawLinearGradient(), OutputDevice::DrawTransparentNatively(), OutputDevice::ImplDrawStraightTextLine(), OutputDevice::ImplDrawStrikeoutLine(), OutputDevice::ImplDrawTextBackground(), OutputDevice::InitFillColor(), OutputDevice::SetWaveLineColors(), and Printer::SetWaveLineColors().
|
pure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, AquaSalGraphics, GenPspGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by OutputDevice::getFallbackLayout(), and OutputDevice::InitFont().
|
inline |
Definition at line 171 of file salgdi.hxx.
Referenced by VirtualDevice::EnableRTL().
|
pure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by OutputDevice::DrawGradient(), OutputDevice::ImplDrawStraightTextLine(), OutputDevice::ImplDrawStrikeoutLine(), OutputDevice::ImplDrawTextBackground(), OutputDevice::ImplDrawWaveLine(), OutputDevice::ImplDrawWaveLineBezier(), OutputDevice::InitLineColor(), OutputDevice::SetWaveLineColors(), and Printer::SetWaveLineColors().
|
pure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
|
pure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by OutputDevice::InitFillColor().
|
pure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by OutputDevice::InitLineColor().
|
pure virtual |
Implemented in SvpSalGraphics, QtGraphics, AquaSalGraphics, GenPspGraphics, X11SalGraphics, and WinSalGraphics.
Referenced by OutputDevice::ImplInitTextColor().
|
pure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by Printer::AcquireGraphics(), VirtualDevice::AcquireGraphics(), vcl::WindowOutputDevice::AcquireGraphics(), and OutputDevice::SetRasterOp().
|
virtual |
Reimplemented in SvpSalGraphics.
Definition at line 932 of file salgdilayout.cxx.
References comphelper::LibreOfficeKit::getDPIScale(), and comphelper::LibreOfficeKit::isActive().
Referenced by OutputDevice::DrawBitmap(), ImplImage::getBitmapExForHiDPI(), and ImplImage::loadStockAtScale().
|
pure virtual |
Implemented in SalGraphicsAutoDelegateToImpl, and WinSalGraphics.
Referenced by OutputDevice::drawLine(), OutputDevice::DrawLine(), OutputDevice::DrawPolygon(), OutputDevice::DrawPolyLineDirectInternal(), OutputDevice::DrawPolyPolygon(), OutputDevice::DrawTransparent(), OutputDevice::DrawTransparentNatively(), OutputDevice::ImplDrawPolyPolygonWithB2DPolyPolygon(), and OutputDevice::SupportsOperation().
|
inline |
Definition at line 638 of file salgdi.hxx.
References forWidget(), and vcl::WidgetDrawInterface::updateSettings().
|
friend |
Definition at line 427 of file salgdi.hxx.
|
private |
Definition at line 606 of file salgdi.hxx.
|
protected |
flags which hold the SetAntialiasing() value from OutputDevice
Definition at line 612 of file salgdi.hxx.
|
private |
Definition at line 604 of file salgdi.hxx.
|
private |
Definition at line 605 of file salgdi.hxx.
|
private |
Definition at line 594 of file salgdi.hxx.
Referenced by BlendAlphaBitmap(), BlendBitmap(), CopyArea(), CopyBits(), DrawAlphaBitmap(), DrawAlphaRect(), DrawBitmap(), DrawEPS(), DrawGradient(), DrawLine(), DrawMask(), DrawNativeControl(), DrawPixel(), DrawPolygon(), DrawPolygonBezier(), DrawPolyLine(), DrawPolyLineBezier(), DrawPolyPolygon(), DrawPolyPolygonBezier(), DrawRect(), DrawTransformedBitmap(), GetBitmap(), GetMirrorMode(), GetNativeControlRegion(), GetPixel(), HitTestNativeScrollbar(), Invert(), mirror(), SalGraphics(), and SetClipRegion().
|
protected |
Definition at line 629 of file salgdi.hxx.
Referenced by DrawNativeControl(), and initWidgetDrawBackends().