LibreOffice Module vcl (master) 1
|
#include <gtkgdi.hxx>
Public Member Functions | |
GtkSalGraphics (GtkSalFrame *pFrame, GtkWidget *pWindow) | |
void | WidgetQueueDraw () const |
virtual void | GetResolution (sal_Int32 &rDPIX, sal_Int32 &rDPIY) override |
virtual OUString | getRenderBackendName () const override |
GtkStyleContext * | createStyleContext (GtkControlPart ePart) |
GtkStyleContext * | makeContext (GtkWidgetPath *pPath, GtkStyleContext *pParent) |
![]() | |
void | setSurface (cairo_surface_t *pSurface, const basegfx::B2IVector &rSize) |
cairo_surface_t * | getSurface () const |
SvpSalGraphics () | |
virtual | ~SvpSalGraphics () override |
virtual SalGraphicsImpl * | GetImpl () const override |
std::unique_ptr< SvpGraphicsBackend > const & | getSvpBackend () |
virtual void | GetResolution (sal_Int32 &rDPIX, sal_Int32 &rDPIY) override |
virtual void | SetTextColor (Color nColor) override |
virtual void | SetFont (LogicalFontInstance *, int nFallbackLevel) override |
virtual void | GetFontMetric (FontMetricDataRef &, int nFallbackLevel) override |
virtual FontCharMapRef | GetFontCharMap () const override |
virtual bool | GetFontCapabilities (vcl::FontCapabilities &rFontCapabilities) const override |
virtual void | GetDevFontList (vcl::font::PhysicalFontCollection *) override |
virtual void | ClearDevFontCache () override |
virtual bool | AddTempDevFont (vcl::font::PhysicalFontCollection *, const OUString &rFileURL, const OUString &rFontName) override |
virtual std::unique_ptr< GenericSalLayout > | GetTextLayout (int nFallbackLevel) override |
virtual void | DrawTextLayout (const GenericSalLayout &) override |
virtual bool | ShouldDownscaleIconsAtSurface (double *pScaleOut) const override |
virtual SystemGraphicsData | GetGraphicsData () const override |
cairo_t * | getCairoContext () const |
void | clipRegion (cairo_t *cr) |
void | copySource (const SalTwoRect &rTR, cairo_surface_t *source) |
![]() | |
sal_uInt16 | GetBitCount () const override |
tools::Long | GetGraphicsWidth () const override |
void | ResetClipRegion () override |
void | setClipRegion (const vcl::Region &i_rClip) override |
void | SetLineColor () override |
void | SetLineColor (Color nColor) override |
void | SetFillColor () override |
void | SetFillColor (Color nColor) override |
void | SetROPLineColor (SalROPColor aColor) override |
void | SetROPFillColor (SalROPColor aColor) override |
void | SetXORMode (bool bSet, bool bInvertOnly) override |
void | drawPixel (tools::Long nX, tools::Long nY) override |
void | drawPixel (tools::Long nX, tools::Long nY, Color nColor) override |
void | drawLine (tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2) override |
void | drawRect (tools::Long nX, tools::Long nY, tools::Long nDX, tools::Long nDY) override |
void | drawPolyLine (sal_uInt32 nPoints, const Point *pPtAry) override |
void | drawPolygon (sal_uInt32 nPoints, const Point *pPtAry) override |
void | drawPolyPolygon (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point **pPtAry) override |
bool | drawPolyPolygon (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolyPolygon &rPolyPolygon, double fTransparency) override |
bool | drawPolyLine (const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolygon &rPolygon, double fTransparency, double fLineWidth, const std::vector< double > *pStroke, basegfx::B2DLineJoin eJoin, css::drawing::LineCap eLineCap, double fMiterMinimumAngle, bool bPixelSnapHairline) override |
bool | drawPolyLineBezier (sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry) override |
bool | drawPolygonBezier (sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry) override |
bool | drawPolyPolygonBezier (sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point *const *pPtAry, const PolyFlags *const *pFlgAry) override |
void | invert (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, SalInvert nFlags) override |
void | invert (sal_uInt32 nPoints, const Point *pPtAry, SalInvert nFlags) override |
bool | drawEPS (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, void *pPtr, sal_uInt32 nSize) override |
void | copyBits (const SalTwoRect &rPosAry, SalGraphics *pSrcGraphics) override |
void | copyArea (tools::Long nDestX, tools::Long nDestY, tools::Long nSrcX, tools::Long nSrcY, tools::Long nSrcWidth, tools::Long nSrcHeight, bool bWindowInvalidate) override |
void | drawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap) override |
void | drawBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const SalBitmap &rMaskBitmap) override |
void | drawMask (const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, Color nMaskColor) override |
std::shared_ptr< SalBitmap > | getBitmap (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override |
Color | getPixel (tools::Long nX, tools::Long nY) override |
bool | blendBitmap (const SalTwoRect &rPosAry, const SalBitmap &rBitmap) override |
Blend the bitmap with the current buffer. More... | |
bool | blendAlphaBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSourceBitmap, const SalBitmap &rMaskBitmap, const SalBitmap &rAlphaBitmap) override |
Draw the bitmap by blending using the mask and alpha channel. More... | |
bool | drawAlphaBitmap (const SalTwoRect &rPosAry, const SalBitmap &rSourceBitmap, const SalBitmap &rAlphaBitmap) override |
Render bitmap with alpha channel. More... | |
bool | drawTransformedBitmap (const basegfx::B2DPoint &rNull, const basegfx::B2DPoint &rX, const basegfx::B2DPoint &rY, const SalBitmap &rSourceBitmap, const SalBitmap *pAlphaBitmap, double fAlpha) override |
draw transformed bitmap (maybe with alpha) where Null, X, Y define the coordinate system More... | |
bool | hasFastDrawTransformedBitmap () const override |
Returns true if the drawTransformedBitmap() call is fast, and so it should be used directly without trying to optimize some calls e.g. More... | |
bool | drawAlphaRect (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt8 nTransparency) override |
Render solid rectangle with given transparency. More... | |
bool | drawGradient (const tools::PolyPolygon &rPolygon, const Gradient &rGradient) override |
bool | implDrawGradient (basegfx::B2DPolyPolygon const &rPolyPolygon, SalGradient const &rGradient) override |
bool | supportsOperation (OutDevSupportType eType) const override |
OUString | getRenderBackendName () const override |
![]() | |
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 |
Private Member Functions | |
bool | isNativeControlSupported (ControlType, ControlPart) override |
Query the platform layer for native control support. More... | |
virtual bool | drawNativeControl (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &rCaption, const Color &rBackgroundColor) override |
Draw the requested control. More... | |
virtual bool | getNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &rCaption, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) override |
Get the native control regions for the control part. More... | |
bool | updateSettings (AllSettings &) override |
void | handleDamage (const tools::Rectangle &) override |
Handle damage done by drawing with a widget draw override. More... | |
void | PaintOneSpinButton (GtkStyleContext *context, cairo_t *cr, ControlPart nPart, tools::Rectangle aAreaRect, ControlState nState) |
void | PaintSpinButton (GtkStateFlags flags, cairo_t *cr, const tools::Rectangle &rControlRectangle, ControlPart nPart, const ImplControlValue &aValue) |
Static Private Member Functions | |
static tools::Rectangle | NWGetScrollButtonRect (ControlPart nPart, tools::Rectangle aAreaRect) |
static tools::Rectangle | NWGetSpinButtonRect (ControlPart nPart, tools::Rectangle aAreaRect) |
static tools::Rectangle | NWGetComboBoxButtonRect (ControlType nType, ControlPart nPart, tools::Rectangle aAreaRect) |
static void | PaintScrollbar (GtkStyleContext *context, cairo_t *cr, const tools::Rectangle &rControlRectangle, ControlPart nPart, const ImplControlValue &aValue) |
static void | PaintCombobox (GtkStateFlags flags, cairo_t *cr, const tools::Rectangle &rControlRectangle, ControlType nType, ControlPart nPart) |
static void | PaintCheckOrRadio (cairo_t *cr, GtkStyleContext *context, const tools::Rectangle &rControlRectangle, bool bIsCheck, bool bInMenu) |
static void | PaintCheck (cairo_t *cr, GtkStyleContext *context, const tools::Rectangle &rControlRectangle, bool bInMenu) |
static void | PaintRadio (cairo_t *cr, GtkStyleContext *context, const tools::Rectangle &rControlRectangle, bool bInMenu) |
Private Attributes | |
GtkSalFrame *const | mpFrame |
GtkWidget * | mpWindow |
Static Private Attributes | |
static GtkStyleContext * | mpWindowStyle |
static GtkStyleContext * | mpButtonStyle |
static GtkStyleContext * | mpLinkButtonStyle |
static GtkStyleContext * | mpEntryStyle |
static GtkStyleContext * | mpTextViewStyle |
static GtkStyleContext * | mpVScrollbarStyle |
static GtkStyleContext * | mpVScrollbarContentsStyle |
static GtkStyleContext * | mpVScrollbarTroughStyle |
static GtkStyleContext * | mpVScrollbarSliderStyle |
static GtkStyleContext * | mpVScrollbarButtonStyle |
static GtkStyleContext * | mpHScrollbarStyle |
static GtkStyleContext * | mpHScrollbarContentsStyle |
static GtkStyleContext * | mpHScrollbarTroughStyle |
static GtkStyleContext * | mpHScrollbarSliderStyle |
static GtkStyleContext * | mpHScrollbarButtonStyle |
static GtkStyleContext * | mpToolbarStyle |
static GtkStyleContext * | mpToolButtonStyle |
static GtkStyleContext * | mpToolbarSeparatorStyle |
static GtkStyleContext * | mpCheckButtonStyle |
static GtkStyleContext * | mpCheckButtonCheckStyle |
static GtkStyleContext * | mpRadioButtonStyle |
static GtkStyleContext * | mpRadioButtonRadioStyle |
static GtkStyleContext * | mpSpinStyle |
static GtkStyleContext * | mpSpinUpStyle |
static GtkStyleContext * | mpSpinDownStyle |
static GtkStyleContext * | mpComboboxStyle |
static GtkStyleContext * | mpComboboxBoxStyle |
static GtkStyleContext * | mpComboboxEntryStyle |
static GtkStyleContext * | mpComboboxButtonStyle |
static GtkStyleContext * | mpComboboxButtonBoxStyle |
static GtkStyleContext * | mpComboboxButtonArrowStyle |
static GtkStyleContext * | mpListboxStyle |
static GtkStyleContext * | mpListboxBoxStyle |
static GtkStyleContext * | mpListboxButtonStyle |
static GtkStyleContext * | mpListboxButtonBoxStyle |
static GtkStyleContext * | mpListboxButtonArrowStyle |
static GtkStyleContext * | mpFrameInStyle |
static GtkStyleContext * | mpFrameOutStyle |
static GtkStyleContext * | mpFixedHoriLineStyle |
static GtkStyleContext * | mpFixedVertLineStyle |
static GtkStyleContext * | mpTreeHeaderButtonStyle |
static GtkStyleContext * | mpProgressBarStyle |
static GtkStyleContext * | mpProgressBarTroughStyle |
static GtkStyleContext * | mpProgressBarProgressStyle |
static GtkStyleContext * | mpNotebookStyle |
static GtkStyleContext * | mpNotebookStackStyle |
static GtkStyleContext * | mpNotebookHeaderStyle |
static GtkStyleContext * | mpNotebookHeaderTabsStyle |
static GtkStyleContext * | mpNotebookHeaderTabsTabStyle |
static GtkStyleContext * | mpNotebookHeaderTabsTabLabelStyle |
static GtkStyleContext * | mpNotebookHeaderTabsTabActiveLabelStyle |
static GtkStyleContext * | mpNotebookHeaderTabsTabHoverLabelStyle |
static GtkStyleContext * | mpMenuBarStyle |
static GtkStyleContext * | mpMenuBarItemStyle |
static GtkStyleContext * | mpMenuWindowStyle |
static GtkStyleContext * | mpMenuStyle |
static GtkStyleContext * | mpMenuItemStyle |
static GtkStyleContext * | mpMenuItemLabelStyle |
static GtkStyleContext * | mpMenuItemArrowStyle |
static GtkStyleContext * | mpCheckMenuItemStyle |
static GtkStyleContext * | mpCheckMenuItemCheckStyle |
static GtkStyleContext * | mpRadioMenuItemStyle |
static GtkStyleContext * | mpRadioMenuItemRadioStyle |
static GtkStyleContext * | mpSeparatorMenuItemStyle |
static GtkStyleContext * | mpSeparatorMenuItemSeparatorStyle |
static gint | mnVerticalSeparatorMinWidth |
static bool | style_loaded |
Additional Inherited Members | |
![]() | |
static cairo_user_data_key_t * | getDamageKey () |
![]() | |
cairo_t * | createTmpCompatibleCairoContext () const |
![]() | |
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 () |
![]() | |
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) |
![]() | |
bool | m_bAntiAlias: 1 |
flags which hold the SetAntialiasing() value from OutputDevice More... | |
std::unique_ptr< vcl::WidgetDrawInterface > | m_pWidgetDraw |
Definition at line 96 of file gtkgdi.hxx.
GtkSalGraphics::GtkSalGraphics | ( | GtkSalFrame * | pFrame, |
GtkWidget * | pWindow | ||
) |
GtkStyleContext * GtkSalGraphics::createStyleContext | ( | GtkControlPart | ePart | ) |
|
overrideprivatevirtual |
Draw the requested control.
[in] | eType | The widget type. |
[in] | ePart | The part of the widget. |
[in] | rBoundingControlRegion | The bounding rectangle of the complete control in VCL frame coordinates. |
[in] | eState | The general state of the control (enabled, focused, etc.). |
[in] | aValue | Addition control specific information. |
[in] | aCaption | A caption or title string (like button text etc.). |
[in] | rBackgroundColor | Background color for the control (may be COL_AUTO) |
Reimplemented from vcl::WidgetDrawInterface.
|
overrideprivatevirtual |
Get the native control regions for the control part.
If the return value is true, rNativeBoundingRegion contains the true bounding region covered by the control including any adornment, while rNativeContentRegion contains the area within the control that can be safely drawn into without drawing over the borders of the control.
[in] | eType | Type of the widget. |
[in] | ePart | Specification of the widget's part if it consists of more than one. |
[in] | rBoundingControlRegion | The bounding region of the control in VCL frame coordinates. |
[in] | eState | The general state of the control (enabled, focused, etc.). |
[in] | aValue | Addition control specific information. |
[in] | aCaption | A caption or title string (like button text etc.). |
[out] | rNativeBoundingRegion | The region covered by the control including any adornment. |
[out] | rNativeContentRegion | The region within the control that can be safely drawn into. |
Reimplemented from vcl::WidgetDrawInterface.
|
inlineoverridevirtual |
Reimplemented from SalGraphicsAutoDelegateToImpl.
Definition at line 131 of file gtkgdi.hxx.
|
overridevirtual |
Reimplemented from SvpSalGraphics.
|
overrideprivatevirtual |
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 from SalGraphics.
|
overrideprivatevirtual |
Query the platform layer for native control support.
[in] | eType | The widget type. |
[in] | ePart | The part of the widget. |
Reimplemented from vcl::WidgetDrawInterface.
GtkStyleContext * GtkSalGraphics::makeContext | ( | GtkWidgetPath * | pPath, |
GtkStyleContext * | pParent | ||
) |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
overrideprivatevirtual |
Reimplemented from vcl::WidgetDrawInterface.
void GtkSalGraphics::WidgetQueueDraw | ( | ) | const |
|
staticprivate |
Definition at line 204 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 140 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 158 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 157 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 199 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 198 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 165 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 169 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 168 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 167 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 166 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 164 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 142 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 177 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 178 of file gtkgdi.hxx.
|
private |
Definition at line 98 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 175 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 176 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 153 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 150 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 152 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 149 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 151 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 141 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 171 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 174 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 173 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 172 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 170 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 192 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 191 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 197 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 196 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 195 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 194 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 193 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 185 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 186 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 189 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 190 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 188 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 187 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 184 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 183 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 182 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 180 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 181 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 160 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 159 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 201 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 200 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 203 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 202 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 163 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 161 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 162 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 143 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 156 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 154 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 155 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 179 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 148 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 145 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 147 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 144 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 146 of file gtkgdi.hxx.
|
private |
Definition at line 138 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 139 of file gtkgdi.hxx.
|
staticprivate |
Definition at line 242 of file gtkgdi.hxx.