LibreOffice Module vcl (master)  1
salgdi.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #pragma once
21 
22 #include <sal/config.h>
23 
24 #include <vcl/outdev.hxx>
25 
26 #include "impfontmetricdata.hxx"
27 #include "salgdiimpl.hxx"
28 #include "sallayout.hxx"
29 #include "SalGradient.hxx"
31 #include "WidgetDrawInterface.hxx"
32 
33 #include <config_cairo_canvas.h>
34 
35 #include <map>
36 #include <vector>
37 
38 class SalBitmap;
39 class FontAttributes;
40 namespace vcl::font {
41  class FontSelectPattern;
42  class PhysicalFontFace;
43  class PhysicalFontCollection;
44 }
45 class SalLayout;
46 namespace tools { class Rectangle; }
47 class FontSubsetInfo;
48 class OutputDevice;
49 class FreetypeFont;
50 struct SystemGraphicsData;
51 
52 namespace basegfx {
53  class B2DVector;
54  class B2DPolygon;
55  class B2DPolyPolygon;
56 }
57 
58 namespace vcl
59 {
60 class AbstractTrueTypeFont;
61 class FileDefinitionWidgetDraw;
63 }
64 
65 typedef sal_Unicode sal_Ucs; // TODO: use sal_UCS4 instead of sal_Unicode
66 typedef std::map< sal_Ucs, sal_uInt32 > Ucs2UIntMap;
67 
68 // note: if you add any new methods to class SalGraphics using coordinates
69 // make sure they have a corresponding protected pure virtual method
70 // which has to be implemented by the platform dependent part.
71 // Add a method that performs coordinate mirroring if required, (see
72 // existing methods as sample) and then calls the equivalent pure method.
73 
74 // note: all positions are in pixel and relative to
75 // the top/left-position of the virtual output area
76 
78 {
79 public:
80  SalGraphics();
81  ~SalGraphics() COVERITY_NOEXCEPT_FALSE override;
82 
83  virtual SalGraphicsImpl* GetImpl() const = 0;
84 
85  void setAntiAlias(bool bNew)
86  {
87  m_bAntiAlias = bNew;
88 
89  // Temporary store in both
90  if (GetImpl())
91  GetImpl()->setAntiAlias(bNew);
92  }
93 
94  bool getAntiAlias() const
95  {
96  return m_bAntiAlias;
97  }
98 
100  {
101  m_bTextRenderModeForResolutionIndependentLayout = bNew;
102  }
103 
105  {
106  return m_bTextRenderModeForResolutionIndependentLayout;
107  }
108 
109  // public SalGraphics methods, the interface to the independent vcl part
110 
111  // get device resolution
112  virtual void GetResolution( sal_Int32& rDPIX, sal_Int32& rDPIY ) = 0;
113 
114  // get the depth of the device
115  virtual sal_uInt16 GetBitCount() const = 0;
116 
117  // get the width of the device
118  virtual tools::Long GetGraphicsWidth() const = 0;
119 
120  // set the clip region to empty
121  virtual void ResetClipRegion() = 0;
122 
123  // set the line color to transparent (= don't draw lines)
124 
125  virtual void SetLineColor() = 0;
126 
127  // set the line color to a specific color
128  virtual void SetLineColor( Color nColor ) = 0;
129 
130  // set the fill color to transparent (= don't fill)
131  virtual void SetFillColor() = 0;
132 
133  // set the fill color to a specific color, shapes will be
134  // filled accordingly
135  virtual void SetFillColor( Color nColor ) = 0;
136 
137  // enable/disable XOR drawing
138  virtual void SetXORMode( bool bSet, bool bInvertOnly ) = 0;
139 
140  // set line color for raster operations
141  virtual void SetROPLineColor( SalROPColor nROPColor ) = 0;
142 
143  // set fill color for raster operations
144  virtual void SetROPFillColor( SalROPColor nROPColor ) = 0;
145 
146  // set the text color to a specific color
147  virtual void SetTextColor( Color nColor ) = 0;
148 
149  // set the font
150  virtual void SetFont(LogicalFontInstance*, int nFallbackLevel) = 0;
151 
152  // release the fonts
153  void ReleaseFonts() { SetFont( nullptr, 0 ); }
154 
155  // get the current font's metrics
156  virtual void GetFontMetric( ImplFontMetricDataRef&, int nFallbackLevel ) = 0;
157 
158  // get the repertoire of the current font
159  virtual FontCharMapRef GetFontCharMap() const = 0;
160 
161  // get the layout capabilities of the current font
162  virtual bool GetFontCapabilities(vcl::FontCapabilities &rFontCapabilities) const = 0;
163 
164  // graphics must fill supplied font list
165  virtual void GetDevFontList( vcl::font::PhysicalFontCollection* ) = 0;
166 
167  // graphics must drop any cached font info
168  virtual void ClearDevFontCache() = 0;
169 
170  virtual bool AddTempDevFont(
172  const OUString& rFileURL,
173  const OUString& rFontName ) = 0;
174 
175  // CreateFontSubset: a method to get a subset of glyhps of a font
176  // inside a new valid font file
177  // returns true if creation of subset was successful
178  // parameters: rToFile: contains an osl file URL to write the subset to
179  // pFont: describes from which font to create a subset
180  // pGlyphIDs: the glyph ids to be extracted
181  // pEncoding: the character code corresponding to each glyph
182  // pWidths: the advance widths of the corresponding glyphs (in PS font units)
183  // nGlyphs: the number of glyphs
184  // rInfo: additional outgoing information
185  // implementation note: encoding 0 with glyph id 0 should be added implicitly
186  // as "undefined character"
187  virtual bool CreateFontSubset(
188  const OUString& rToFile,
189  const vcl::font::PhysicalFontFace* pFont,
190  const sal_GlyphId* pGlyphIDs,
191  const sal_uInt8* pEncoding,
192  sal_Int32* pWidths,
193  int nGlyphs,
194  FontSubsetInfo& rInfo ) = 0;
195 
196  // GetEmbedFontData: gets the font data for a font marked
197  // embeddable by GetDevFontList or NULL in case of error
198  // parameters: pFont: describes the font in question
199  // pDataLen: out parameter, contains the byte length of the returned buffer
200  virtual const void* GetEmbedFontData(const vcl::font::PhysicalFontFace* pFont, tools::Long* pDataLen) = 0;
201 
202  // free the font data again
203  virtual void FreeEmbedFontData( const void* pData, tools::Long nDataLen ) = 0;
204 
205  // get the same widths as in CreateFontSubset
206  // in case of an embeddable font also fill the mapping
207  // between unicode and glyph id
208  // leave widths vector and mapping untouched in case of failure
209  virtual void GetGlyphWidths(
210  const vcl::font::PhysicalFontFace* pFont,
211  bool bVertical,
212  std::vector< sal_Int32 >& rWidths,
213  Ucs2UIntMap& rUnicodeEnc ) = 0;
214 
215  virtual std::unique_ptr<GenericSalLayout>
216  GetTextLayout(int nFallbackLevel) = 0;
217  virtual void DrawTextLayout( const GenericSalLayout& ) = 0;
218 
219  virtual bool supportsOperation( OutDevSupportType ) const = 0;
220 
221  // mirroring specifics
222  SalLayoutFlags GetLayout() const { return m_nLayout; }
223  void SetLayout( SalLayoutFlags aLayout ) { m_nLayout = aLayout;}
224 
225  void mirror( tools::Long& nX, const OutputDevice& rOutDev ) const;
226  // only called mirror2 to avoid ambiguity
227  [[nodiscard]] tools::Long mirror2( tools::Long nX, const OutputDevice& rOutDev ) const;
228  void mirror( tools::Long& nX, tools::Long nWidth, const OutputDevice& rOutDev, bool bBack = false ) const;
229  bool mirror( sal_uInt32 nPoints, const Point *pPtAry, Point *pPtAry2, const OutputDevice& rOutDev ) const;
230  void mirror( tools::Rectangle& rRect, const OutputDevice&, bool bBack = false ) const;
231  void mirror( vcl::Region& rRgn, const OutputDevice& rOutDev ) const;
232  void mirror( ImplControlValue&, const OutputDevice& ) const;
233  basegfx::B2DPolyPolygon mirror( const basegfx::B2DPolyPolygon& i_rPoly, const OutputDevice& rOutDev ) const;
234  const basegfx::B2DHomMatrix& getMirror( const OutputDevice& rOutDev ) const;
235 
236  // non virtual methods; these do possible coordinate mirroring and
237  // then delegate to protected virtual methods
238  bool SetClipRegion( const vcl::Region&, const OutputDevice& rOutDev );
239 
240  // draw --> LineColor and FillColor and RasterOp and ClipRegion
241  void DrawPixel( tools::Long nX, tools::Long nY, const OutputDevice& rOutDev );
242  void DrawPixel( tools::Long nX, tools::Long nY, Color nColor, const OutputDevice& rOutDev );
243 
244  void DrawLine( tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2, const OutputDevice& rOutDev );
245 
246  void DrawRect( tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, const OutputDevice& rOutDev );
247 
248  void DrawPolyLine( sal_uInt32 nPoints, Point const * pPtAry, const OutputDevice& rOutDev );
249 
250  void DrawPolygon( sal_uInt32 nPoints, const Point* pPtAry, const OutputDevice& rOutDev );
251 
252  void DrawPolyPolygon(
253  sal_uInt32 nPoly,
254  const sal_uInt32* pPoints,
255  const Point** pPtAry,
256  const OutputDevice& rOutDev );
257 
258  bool DrawPolyPolygon(
259  const basegfx::B2DHomMatrix& rObjectToDevice,
260  const basegfx::B2DPolyPolygon &i_rPolyPolygon,
261  double i_fTransparency,
262  const OutputDevice& i_rOutDev);
263 
264  bool DrawPolyLine(
265  const basegfx::B2DHomMatrix& rObjectToDevice,
266  const basegfx::B2DPolygon& i_rPolygon,
267  double i_fTransparency,
268  double i_fLineWidth,
269  const std::vector< double >* i_pStroke, // MM01
270  basegfx::B2DLineJoin i_eLineJoin,
271  css::drawing::LineCap i_eLineCap,
272  double i_fMiterMinimumAngle,
273  bool bPixelSnapHairline,
274  const OutputDevice& i_rOutDev);
275 
276  bool DrawPolyLineBezier(
277  sal_uInt32 nPoints,
278  const Point* pPtAry,
279  const PolyFlags* pFlgAry,
280  const OutputDevice& rOutDev );
281 
282  bool DrawPolygonBezier(
283  sal_uInt32 nPoints,
284  const Point* pPtAry,
285  const PolyFlags* pFlgAry,
286  const OutputDevice& rOutDev );
287 
288  bool DrawPolyPolygonBezier(
289  sal_uInt32 nPoly,
290  const sal_uInt32* pPoints,
291  const Point* const* pPtAry,
292  const PolyFlags* const* pFlgAry,
293  const OutputDevice& rOutDev );
294 
295  bool DrawGradient(
296  const tools::PolyPolygon& rPolyPoly,
297  const Gradient& rGradient,
298  const OutputDevice& rOutDev);
299 
300  // CopyArea --> No RasterOp, but ClipRegion
301  void CopyArea(
302  tools::Long nDestX, tools::Long nDestY,
303  tools::Long nSrcX, tools::Long nSrcY,
304  tools::Long nSrcWidth, tools::Long nSrcHeight,
305  const OutputDevice& rOutDev );
306 
307  // CopyBits --> RasterOp and ClipRegion
308  // CopyBits() CopyBits on same Graphics
309  void CopyBits(
310  const SalTwoRect& rPosAry,
311  const OutputDevice& rOutDev);
312 
313  // CopyBits --> RasterOp and ClipRegion
314  // CopyBits() CopyBits on different Graphics
315  void CopyBits(
316  const SalTwoRect& rPosAry,
317  SalGraphics& rSrcGraphics,
318  const OutputDevice& rOutDev,
319  const OutputDevice& rSrcOutDev );
320 
321 
322  void DrawBitmap(
323  const SalTwoRect& rPosAry,
324  const SalBitmap& rSalBitmap,
325  const OutputDevice& rOutDev );
326 
327  void DrawBitmap(
328  const SalTwoRect& rPosAry,
329  const SalBitmap& rSalBitmap,
330  const SalBitmap& rTransparentBitmap,
331  const OutputDevice& rOutDev );
332 
333  void DrawMask(
334  const SalTwoRect& rPosAry,
335  const SalBitmap& rSalBitmap,
336  Color nMaskColor,
337  const OutputDevice& rOutDev );
338 
339  std::shared_ptr<SalBitmap> GetBitmap(
340  tools::Long nX, tools::Long nY,
341  tools::Long nWidth, tools::Long nHeight,
342  const OutputDevice& rOutDev );
343 
344  Color GetPixel(
345  tools::Long nX, tools::Long nY,
346  const OutputDevice& rOutDev );
347 
348  // invert --> ClipRegion (only Windows)
349  void Invert(
350  tools::Long nX, tools::Long nY,
351  tools::Long nWidth, tools::Long nHeight,
352  SalInvert nFlags,
353  const OutputDevice& rOutDev );
354 
355  void Invert(
356  sal_uInt32 nPoints,
357  const Point* pPtAry,
358  SalInvert nFlags,
359  const OutputDevice& rOutDev );
360 
361  bool DrawEPS(
362  tools::Long nX, tools::Long nY,
363  tools::Long nWidth, tools::Long nHeight,
364  void* pPtr,
365  sal_uInt32 nSize,
366  const OutputDevice& rOutDev );
367 
368  // native widget rendering functions
369 
373  inline bool IsNativeControlSupported(ControlType, ControlPart);
374 
378  bool HitTestNativeScrollbar(
379  ControlPart nPart,
380  const tools::Rectangle& rControlRegion,
381  const Point& aPos,
382  bool& rIsInside,
383  const OutputDevice& rOutDev);
384 
388  bool DrawNativeControl(
389  ControlType nType,
390  ControlPart nPart,
391  const tools::Rectangle& rControlRegion,
392  ControlState nState,
393  const ImplControlValue& aValue,
394  const OUString& aCaption,
395  const OutputDevice& rOutDev,
396  const Color& rBackgroundColor = COL_AUTO );
397 
401  bool GetNativeControlRegion(
402  ControlType nType,
403  ControlPart nPart,
404  const tools::Rectangle& rControlRegion,
405  ControlState nState,
406  const ImplControlValue& aValue,
407  tools::Rectangle &rNativeBoundingRegion,
408  tools::Rectangle &rNativeContentRegion,
409  const OutputDevice& rOutDev );
410 
414  inline bool UpdateSettings(AllSettings&);
415 
416  bool BlendBitmap(
417  const SalTwoRect& rPosAry,
418  const SalBitmap& rSalBitmap,
419  const OutputDevice& rOutDev );
420 
421  bool BlendAlphaBitmap(
422  const SalTwoRect& rPosAry,
423  const SalBitmap& rSalSrcBitmap,
424  const SalBitmap& rSalMaskBitmap,
425  const SalBitmap& rSalAlphaBitmap,
426  const OutputDevice& rOutDev );
427 
428  bool DrawAlphaBitmap(
429  const SalTwoRect&,
430  const SalBitmap& rSourceBitmap,
431  const SalBitmap& rAlphaBitmap,
432  const OutputDevice& rOutDev );
433 
434  bool DrawTransformedBitmap(
435  const basegfx::B2DPoint& rNull,
436  const basegfx::B2DPoint& rX,
437  const basegfx::B2DPoint& rY,
438  const SalBitmap& rSourceBitmap,
439  const SalBitmap* pAlphaBitmap,
440  double fAlpha,
441  const OutputDevice& rOutDev );
442 
443  bool HasFastDrawTransformedBitmap() const;
444 
445  bool DrawAlphaRect(
446  tools::Long nX, tools::Long nY,
447  tools::Long nWidth, tools::Long nHeight,
448  sal_uInt8 nTransparency,
449  const OutputDevice& rOutDev );
450 
451  virtual OUString getRenderBackendName() const;
452 
453  virtual SystemGraphicsData GetGraphicsData() const = 0;
454 
455 #if ENABLE_CAIRO_CANVAS
456 
458  virtual bool SupportsCairo() const = 0;
460  virtual cairo::SurfaceSharedPtr CreateSurface(const cairo::CairoSurfaceSharedPtr& rSurface) const = 0;
462  virtual cairo::SurfaceSharedPtr CreateSurface(const OutputDevice& rRefDevice, int x, int y, int width, int height) const = 0;
464  virtual cairo::SurfaceSharedPtr CreateBitmapSurface(const OutputDevice& rRefDevice, const BitmapSystemData& rData, const Size& rSize) const = 0;
465  virtual css::uno::Any GetNativeSurfaceHandle(cairo::SurfaceSharedPtr& rSurface, const basegfx::B2ISize& rSize) const = 0;
466 
467 #endif // ENABLE_CAIRO_CANVAS
468 
469 protected:
470 
472 
473  virtual bool setClipRegion( const vcl::Region& ) = 0;
474 
475  // draw --> LineColor and FillColor and RasterOp and ClipRegion
476  virtual void drawPixel( tools::Long nX, tools::Long nY ) = 0;
477  virtual void drawPixel( tools::Long nX, tools::Long nY, Color nColor ) = 0;
478 
479  virtual void drawLine( tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2 ) = 0;
480 
481  virtual void drawRect( tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight ) = 0;
482 
483  virtual void drawPolyLine( sal_uInt32 nPoints, const Point* pPtAry ) = 0;
484 
485  virtual void drawPolygon( sal_uInt32 nPoints, const Point* pPtAry ) = 0;
486 
487  virtual void drawPolyPolygon( sal_uInt32 nPoly, const sal_uInt32* pPoints, const Point** pPtAry ) = 0;
488 
489  virtual bool drawPolyPolygon(
490  const basegfx::B2DHomMatrix& rObjectToDevice,
492  double fTransparency) = 0;
493 
494  virtual bool drawPolyLine(
495  const basegfx::B2DHomMatrix& rObjectToDevice,
496  const basegfx::B2DPolygon&,
497  double fTransparency,
498  double fLineWidth,
499  const std::vector< double >* pStroke, // MM01
501  css::drawing::LineCap,
502  double fMiterMinimumAngle,
503  bool bPixelSnapHairline) = 0;
504 
505  virtual bool drawPolyLineBezier(
506  sal_uInt32 nPoints,
507  const Point* pPtAry,
508  const PolyFlags* pFlgAry ) = 0;
509 
510  virtual bool drawPolygonBezier(
511  sal_uInt32 nPoints,
512  const Point* pPtAry,
513  const PolyFlags* pFlgAry ) = 0;
514 
515  virtual bool drawPolyPolygonBezier(
516  sal_uInt32 nPoly,
517  const sal_uInt32* pPoints,
518  const Point* const* pPtAry,
519  const PolyFlags* const* pFlgAry ) = 0;
520 
521  virtual bool drawGradient(
522  const tools::PolyPolygon& rPolyPoly,
523  const Gradient& rGradient ) = 0;
524 
525  virtual bool implDrawGradient(basegfx::B2DPolyPolygon const & /*rPolyPolygon*/,
526  SalGradient const & /*rGradient*/)
527  {
528  return false;
529  }
530 
531  // CopyArea --> No RasterOp, but ClipRegion
532  virtual void copyArea(
533  tools::Long nDestX, tools::Long nDestY,
534  tools::Long nSrcX, tools::Long nSrcY,
535  tools::Long nSrcWidth, tools::Long nSrcHeight,
536  bool bWindowInvalidate ) = 0;
537 
538  // CopyBits and DrawBitmap --> RasterOp and ClipRegion
539  // CopyBits() --> pSrcGraphics == NULL, then CopyBits on same Graphics
540  virtual void copyBits( const SalTwoRect& rPosAry, SalGraphics* pSrcGraphics ) = 0;
541 
542  virtual void drawBitmap( const SalTwoRect& rPosAry, const SalBitmap& rSalBitmap ) = 0;
543 
544  virtual void drawBitmap(
545  const SalTwoRect& rPosAry,
546  const SalBitmap& rSalBitmap,
547  const SalBitmap& rMaskBitmap ) = 0;
548 
549  virtual void drawMask(
550  const SalTwoRect& rPosAry,
551  const SalBitmap& rSalBitmap,
552  Color nMaskColor ) = 0;
553 
554  virtual std::shared_ptr<SalBitmap> getBitmap( tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight ) = 0;
555 
556  virtual Color getPixel( tools::Long nX, tools::Long nY ) = 0;
557 
558  // invert --> ClipRegion (only Windows or VirDevs)
559  virtual void invert(
560  tools::Long nX, tools::Long nY,
561  tools::Long nWidth, tools::Long nHeight,
562  SalInvert nFlags) = 0;
563 
564  virtual void invert( sal_uInt32 nPoints, const Point* pPtAry, SalInvert nFlags ) = 0;
565 
566  virtual bool drawEPS(
567  tools::Long nX, tools::Long nY,
568  tools::Long nWidth, tools::Long nHeight,
569  void* pPtr,
570  sal_uInt32 nSize ) = 0;
571 
573  virtual bool blendBitmap(
574  const SalTwoRect&,
575  const SalBitmap& rBitmap ) = 0;
576 
578  virtual bool blendAlphaBitmap(
579  const SalTwoRect&,
580  const SalBitmap& rSrcBitmap,
581  const SalBitmap& rMaskBitmap,
582  const SalBitmap& rAlphaBitmap ) = 0;
583 
596  virtual bool drawAlphaBitmap(
597  const SalTwoRect&,
598  const SalBitmap& rSourceBitmap,
599  const SalBitmap& rAlphaBitmap ) = 0;
600 
605  virtual bool drawTransformedBitmap(
606  const basegfx::B2DPoint& rNull,
607  const basegfx::B2DPoint& rX,
608  const basegfx::B2DPoint& rY,
609  const SalBitmap& rSourceBitmap,
610  const SalBitmap* pAlphaBitmap,
611  double fAlpha) = 0;
612 
620  virtual bool hasFastDrawTransformedBitmap() const = 0;
621 
632  virtual bool drawAlphaRect(
633  tools::Long nX, tools::Long nY,
634  tools::Long nWidth, tools::Long nHeight,
635  sal_uInt8 nTransparency ) = 0;
636 
637 private:
638  SalLayoutFlags m_nLayout; //< 0: mirroring off, 1: mirror x-axis
639 
640  // for buffering the Mirror-Matrix, see ::getMirror
641  enum class MirrorMode
642  {
643  NONE,
644  Antiparallel,
645  AntiparallelBiDi,
646  BiDi
647  };
651 
652  MirrorMode GetMirrorMode(const OutputDevice& rOutDev) const;
653 
654 protected:
656  bool m_bAntiAlias : 1;
657  bool m_bTextRenderModeForResolutionIndependentLayout : 1;
658 
659  inline tools::Long GetDeviceWidth(const OutputDevice& rOutDev) const;
660 
669  virtual inline void handleDamage(const tools::Rectangle& rDamagedRegion);
670 
671  // native controls
672  bool initWidgetDrawBackends(bool bForce = false);
673 
674  std::unique_ptr<vcl::WidgetDrawInterface> m_pWidgetDraw;
675  vcl::WidgetDrawInterface* forWidget() { return m_pWidgetDraw ? m_pWidgetDraw.get() : this; }
676 
677  static void GetGlyphWidths(const vcl::AbstractTrueTypeFont& rTTF,
678  const vcl::font::PhysicalFontFace& rFontFace, bool bVertical,
679  std::vector<sal_Int32>& rWidths, Ucs2UIntMap& rUnicodeEnc);
680 
681  static bool CreateTTFfontSubset(vcl::AbstractTrueTypeFont& aTTF, const OString& rSysPath,
682  const bool bVertical, const sal_GlyphId* pGlyphIds,
683  const sal_uInt8* pEncoding, sal_Int32* pGlyphWidths,
684  int nGlyphCount);
685 
686  static bool CreateCFFfontSubset(const unsigned char* pFontBytes, int nByteLength,
687  const OString& rSysPath, const sal_GlyphId* pGlyphIds,
688  const sal_uInt8* pEncoding, sal_Int32* pGlyphWidths,
689  int nGlyphCount, FontSubsetInfo& rInfo);
690 
691  static void FillFontSubsetInfo(const vcl::TTGlobalFontInfo& rTTInfo, const OUString& pPSName,
692  FontSubsetInfo& rInfo);
693 };
694 
696 {
697  return forWidget()->isNativeControlSupported(eType, ePart);
698 }
699 
701 {
702  return forWidget()->updateSettings(rSettings);
703 }
704 
706 
707 
709 {
710 public:
711  sal_uInt16 GetBitCount() const override
712  {
713  return GetImpl()->GetBitCount();
714  }
715 
716  tools::Long GetGraphicsWidth() const override
717  {
718  return GetImpl()->GetGraphicsWidth();
719  }
720 
721  void ResetClipRegion() override
722  {
724  }
725 
726  bool setClipRegion( const vcl::Region& i_rClip ) override
727  {
728  return GetImpl()->setClipRegion(i_rClip);
729  }
730 
731  void SetLineColor() override
732  {
733  GetImpl()->SetLineColor();
734  }
735 
736  void SetLineColor( Color nColor ) override
737  {
738  GetImpl()->SetLineColor(nColor);
739  }
740 
741  void SetFillColor() override
742  {
743  GetImpl()->SetFillColor();
744  }
745 
746  void SetFillColor( Color nColor ) override
747  {
748  GetImpl()->SetFillColor (nColor);
749  }
750 
751  void SetROPLineColor(SalROPColor aColor) override
752  {
753  GetImpl()->SetROPLineColor(aColor);
754  }
755 
756  void SetROPFillColor( SalROPColor aColor) override
757  {
758  GetImpl()->SetROPFillColor(aColor);
759  }
760 
761  void SetXORMode(bool bSet, bool bInvertOnly) override
762  {
763  GetImpl()->SetXORMode(bSet, bInvertOnly);
764  }
765 
766  void drawPixel( tools::Long nX, tools::Long nY ) override
767  {
768  GetImpl()->drawPixel(nX, nY);
769  }
770 
771  void drawPixel( tools::Long nX, tools::Long nY, Color nColor ) override
772  {
773  GetImpl()->drawPixel(nX, nY, nColor);
774  }
775 
776  void drawLine( tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2 ) override
777  {
778  GetImpl()->drawLine(nX1, nY1, nX2, nY2);
779  }
780 
781  void drawRect( tools::Long nX, tools::Long nY, tools::Long nDX, tools::Long nDY ) override
782  {
783  GetImpl()->drawRect(nX, nY, nDX, nDY);
784  }
785 
786  void drawPolyLine( sal_uInt32 nPoints, const Point *pPtAry ) override
787  {
788  GetImpl()->drawPolyLine(nPoints, pPtAry);
789  }
790 
791  void drawPolygon( sal_uInt32 nPoints, const Point* pPtAry ) override
792  {
793  GetImpl()->drawPolygon(nPoints, pPtAry);
794  }
795 
796  void drawPolyPolygon(sal_uInt32 nPoly, const sal_uInt32* pPoints, const Point** pPtAry) override
797  {
798  GetImpl()->drawPolyPolygon (nPoly, pPoints, pPtAry);
799  }
800 
802  const basegfx::B2DHomMatrix& rObjectToDevice,
803  const basegfx::B2DPolyPolygon& rPolyPolygon,
804  double fTransparency) override
805  {
806  return GetImpl()->drawPolyPolygon(rObjectToDevice, rPolyPolygon, fTransparency);
807  }
808 
810  const basegfx::B2DHomMatrix& rObjectToDevice,
811  const basegfx::B2DPolygon& rPolygon,
812  double fTransparency,
813  double fLineWidth,
814  const std::vector< double >* pStroke,
815  basegfx::B2DLineJoin eJoin,
816  css::drawing::LineCap eLineCap,
817  double fMiterMinimumAngle,
818  bool bPixelSnapHairline) override
819  {
820  return GetImpl()->drawPolyLine(rObjectToDevice, rPolygon, fTransparency, fLineWidth, pStroke, eJoin, eLineCap, fMiterMinimumAngle, bPixelSnapHairline);
821  }
822 
823  bool drawPolyLineBezier( sal_uInt32 nPoints, const Point* pPtAry, const PolyFlags* pFlgAry ) override
824  {
825  return GetImpl()->drawPolyLineBezier(nPoints, pPtAry, pFlgAry);
826  }
827 
828  bool drawPolygonBezier( sal_uInt32 nPoints, const Point* pPtAry, const PolyFlags* pFlgAry ) override
829  {
830  return GetImpl()->drawPolygonBezier(nPoints, pPtAry, pFlgAry);
831  }
832 
833  bool drawPolyPolygonBezier( sal_uInt32 nPoly,
834  const sal_uInt32* pPoints,
835  const Point* const* pPtAry,
836  const PolyFlags* const* pFlgAry) override
837  {
838  return GetImpl()->drawPolyPolygonBezier(nPoly, pPoints, pPtAry, pFlgAry);
839  }
840 
841  void invert(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight,
842  SalInvert nFlags) override
843  {
844  GetImpl()->invert(nX, nY, nWidth, nHeight, nFlags);
845  }
846 
847  void invert(sal_uInt32 nPoints, const Point* pPtAry, SalInvert nFlags) override
848  {
849  GetImpl()->invert(nPoints, pPtAry, nFlags);
850  }
851 
853  tools::Long nHeight, void* pPtr, sal_uInt32 nSize) override
854  {
855  return GetImpl()->drawEPS(nX, nY, nWidth, nHeight, pPtr, nSize);
856  }
857 
858  void copyBits(const SalTwoRect& rPosAry, SalGraphics* pSrcGraphics) override
859  {
860  GetImpl()->copyBits(rPosAry, pSrcGraphics);
861  }
862 
863  void copyArea (tools::Long nDestX, tools::Long nDestY, tools::Long nSrcX,
864  tools::Long nSrcY, tools::Long nSrcWidth, tools::Long nSrcHeight,
865  bool bWindowInvalidate) override
866  {
867  GetImpl()->copyArea(nDestX, nDestY, nSrcX, nSrcY, nSrcWidth, nSrcHeight, bWindowInvalidate);
868  }
869 
870  void drawBitmap(const SalTwoRect& rPosAry, const SalBitmap& rSalBitmap) override
871  {
872  GetImpl()->drawBitmap(rPosAry, rSalBitmap);
873  }
874 
875  void drawBitmap(const SalTwoRect& rPosAry, const SalBitmap& rSalBitmap, const SalBitmap& rMaskBitmap) override
876  {
877  GetImpl()->drawBitmap(rPosAry, rSalBitmap, rMaskBitmap);
878  }
879 
880  void drawMask(const SalTwoRect& rPosAry, const SalBitmap& rSalBitmap, Color nMaskColor) override
881  {
882  GetImpl()->drawMask(rPosAry, rSalBitmap, nMaskColor);
883  }
884 
885  std::shared_ptr<SalBitmap> getBitmap(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override
886  {
887  return GetImpl()->getBitmap(nX, nY, nWidth, nHeight);
888  }
889 
891  {
892  return GetImpl()->getPixel(nX, nY);
893  }
894 
895  bool blendBitmap(const SalTwoRect& rPosAry, const SalBitmap& rBitmap) override
896  {
897  return GetImpl()->blendBitmap(rPosAry, rBitmap);
898  }
899 
900  bool blendAlphaBitmap(const SalTwoRect& rPosAry, const SalBitmap& rSourceBitmap,
901  const SalBitmap& rMaskBitmap, const SalBitmap& rAlphaBitmap) override
902  {
903  return GetImpl()->blendAlphaBitmap(rPosAry, rSourceBitmap, rMaskBitmap, rAlphaBitmap);
904  }
905 
906  bool drawAlphaBitmap(const SalTwoRect& rPosAry, const SalBitmap& rSourceBitmap,
907  const SalBitmap& rAlphaBitmap) override
908  {
909  return GetImpl()->drawAlphaBitmap(rPosAry, rSourceBitmap, rAlphaBitmap);
910  }
911 
913  const basegfx::B2DPoint& rX,
914  const basegfx::B2DPoint& rY,
915  const SalBitmap& rSourceBitmap,
916  const SalBitmap* pAlphaBitmap, double fAlpha) override
917  {
918  return GetImpl()->drawTransformedBitmap(rNull, rX, rY, rSourceBitmap, pAlphaBitmap, fAlpha);
919  }
920 
921  bool hasFastDrawTransformedBitmap() const override
922  {
924  }
925 
927  tools::Long nHeight, sal_uInt8 nTransparency) override
928  {
929  return GetImpl()->drawAlphaRect(nX, nY, nWidth, nHeight, nTransparency);
930  }
931 
932  bool drawGradient(const tools::PolyPolygon& rPolygon, const Gradient& rGradient) override
933  {
934  return GetImpl()->drawGradient(rPolygon, rGradient);
935  }
936 
937  bool implDrawGradient(basegfx::B2DPolyPolygon const& rPolyPolygon,
938  SalGradient const& rGradient) override
939  {
940  return GetImpl()->implDrawGradient(rPolyPolygon, rGradient);
941  }
942 
943  bool supportsOperation(OutDevSupportType eType) const override
944  {
945  return GetImpl()->supportsOperation(eType);
946  }
947 
948  OUString getRenderBackendName() const override
949  {
950  return GetImpl()->getRenderBackendName();
951  }
952 };
953 
954 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
tools::Long m_nLastMirrorTranslation
Definition: salgdi.hxx:649
std::shared_ptr< SalBitmap > getBitmap(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override
Definition: salgdi.hxx:885
virtual void drawPolyPolygon(sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point **pPtAry)=0
virtual void drawPolygon(sal_uInt32 nPoints, const Point *pPtAry)=0
bool drawGradient(const tools::PolyPolygon &rPolygon, const Gradient &rGradient) override
Definition: salgdi.hxx:932
virtual void drawBitmap(const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap)=0
SalROPColor
Definition: salgtype.hxx:70
sal_Unicode sal_Ucs
Definition: salgdi.hxx:65
static void drawPolyLine(SalGraphics &rGraphics, 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)
virtual bool drawAlphaBitmap(const SalTwoRect &, const SalBitmap &rSourceBitmap, const SalBitmap &rAlphaBitmap)=0
virtual void copyBits(const SalTwoRect &rPosAry, SalGraphics *pSrcGraphics)=0
virtual void SetXORMode(bool bSet, bool bInvertOnly)=0
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
void setTextRenderModeForResolutionIndependentLayout(bool bNew)
Definition: salgdi.hxx:99
long Long
void drawRect(tools::Long nX, tools::Long nY, tools::Long nDX, tools::Long nDY) override
Definition: salgdi.hxx:781
virtual void copyArea(tools::Long nDestX, tools::Long nDestY, tools::Long nSrcX, tools::Long nSrcY, tools::Long nSrcWidth, tools::Long nSrcHeight, bool bWindowInvalidate)=0
void drawPolygon(VirtualDevice *dev, bool drawFrame, tools::Polygon const &orig, Size const &pSize)
draws a polygon knowing penSize
Definition: shape.cxx:218
bool getTextRenderModeForResolutionIndependentLayoutEnabled() const
Definition: salgdi.hxx:104
virtual bool supportsOperation(OutDevSupportType eType) const =0
void ResetClipRegion() override
Definition: salgdi.hxx:721
void SetLineColor(Color nColor) override
Definition: salgdi.hxx:736
bool hasFastDrawTransformedBitmap() const override
Returns true if the drawTransformedBitmap() call is fast, and so it should be used directly without t...
Definition: salgdi.hxx:921
sal_uInt16 sal_GlyphId
Definition: glyphid.hxx:24
OutDevSupportType
Definition: vclenum.hxx:174
virtual void drawRect(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight)=0
void drawPixel(tools::Long nX, tools::Long nY, Color nColor) override
Definition: salgdi.hxx:771
NONE
virtual bool implDrawGradient(basegfx::B2DPolyPolygon const &, SalGradient const &)
Definition: salgdi.hxx:525
virtual bool drawGradient(const tools::PolyPolygon &rPolygon, const Gradient &rGradient)=0
void drawPolyPolygon(sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point **pPtAry) override
Definition: salgdi.hxx:796
bool blendBitmap(const SalTwoRect &rPosAry, const SalBitmap &rBitmap) override
Blend the bitmap with the current buffer.
Definition: salgdi.hxx:895
sal_uInt16 sal_Unicode
virtual bool blendBitmap(const SalTwoRect &, const SalBitmap &rBitmap)=0
void drawBitmap(const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, const SalBitmap &rMaskBitmap) override
Definition: salgdi.hxx:875
basegfx::B2DHomMatrix m_aLastMirror
Definition: salgdi.hxx:650
static void drawPolyPolygon(SalGraphics &rGraphics, const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolyPolygon &i_rPolyPolygon, double i_fTransparency)
bool drawPolyPolygonBezier(sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point *const *pPtAry, const PolyFlags *const *pFlgAry) override
Definition: salgdi.hxx:833
void SetLineColor() override
Definition: salgdi.hxx:731
tools::Long GetGraphicsWidth() const override
Definition: salgdi.hxx:716
void copyArea(tools::Long nDestX, tools::Long nDestY, tools::Long nSrcX, tools::Long nSrcY, tools::Long nSrcWidth, tools::Long nSrcHeight, bool bWindowInvalidate) override
Definition: salgdi.hxx:863
std::shared_ptr< Surface > SurfaceSharedPtr
Definition: cairo.hxx:36
void drawLine(tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2) override
Definition: salgdi.hxx:776
virtual void SetLineColor()=0
virtual void drawLine(tools::Long nX1, tools::Long nY1, tools::Long nX2, tools::Long nY2)=0
void drawPolygon(sal_uInt32 nPoints, const Point *pPtAry) override
Definition: salgdi.hxx:791
virtual bool implDrawGradient(basegfx::B2DPolyPolygon const &rPolyPolygon, SalGradient const &rGradient)=0
SalLayoutFlags m_nLayout
Definition: salgdi.hxx:638
bool supportsOperation(OutDevSupportType eType) const override
Definition: salgdi.hxx:943
virtual tools::Long GetGraphicsWidth() const =0
virtual bool hasFastDrawTransformedBitmap() const =0
bool drawPolygonBezier(sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry) override
Definition: salgdi.hxx:828
bool drawPolyLineBezier(sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry) override
Definition: salgdi.hxx:823
virtual bool isNativeControlSupported(ControlType eType, ControlPart ePart)
Query the platform layer for native control support.
void drawLine(VirtualDevice *dev, Point const &orig, Point const &dest, Size const &pSize)
draws a line from orig to dest knowing penSize
Definition: shape.cxx:111
bool drawAlphaRect(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt8 nTransparency) override
Render solid rectangle with given transparency.
Definition: salgdi.hxx:926
void copyBits(const SalTwoRect &rPosAry, SalGraphics *pSrcGraphics) override
Definition: salgdi.hxx:858
void invert(sal_uInt32 nPoints, const Point *pPtAry, SalInvert nFlags) override
Definition: salgdi.hxx:847
void drawPixel(tools::Long nX, tools::Long nY) override
Definition: salgdi.hxx:766
bool implDrawGradient(basegfx::B2DPolyPolygon const &rPolyPolygon, SalGradient const &rGradient) override
Definition: salgdi.hxx:937
A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original...
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
Definition: outdev.hxx:175
MirrorMode m_eLastMirrorMode
Definition: salgdi.hxx:648
bool setClipRegion(const vcl::Region &i_rClip) override
Definition: salgdi.hxx:726
std::unique_ptr< vcl::WidgetDrawInterface > m_pWidgetDraw
Definition: salgdi.hxx:674
virtual bool drawAlphaRect(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt8 nTransparency)=0
void SetFillColor() override
Definition: salgdi.hxx:741
SalInvert
Definition: salgtype.hxx:74
std::shared_ptr< cairo_surface_t > CairoSurfaceSharedPtr
Definition: cairo.hxx:34
virtual OUString getRenderBackendName() const =0
virtual bool setClipRegion(const vcl::Region &)=0
virtual SalGraphicsImpl * GetImpl() const =0
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.
Definition: salgdi.hxx:900
virtual bool drawPolyPolygonBezier(sal_uInt32 nPoly, const sal_uInt32 *pPoints, const Point *const *pPtAry, const PolyFlags *const *pFlgAry)=0
void ReleaseFonts()
Definition: salgdi.hxx:153
void SetFillColor(Color nColor) override
Definition: salgdi.hxx:746
abstract base class for physical font faces
vcl::WidgetDrawInterface * forWidget()
Definition: salgdi.hxx:675
ControlType
These types are all based on the supported variants vcl/salnativewidgets.hxx and must be kept in-sync...
#define VCL_PLUGIN_PUBLIC
Definition: dllapi.h:40
virtual void invert(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, SalInvert nFlags)=0
void setAntiAlias(bool bNew)
Definition: salgdi.hxx:85
bool UpdateSettings(AllSettings &)
Definition: salgdi.hxx:700
virtual bool blendAlphaBitmap(const SalTwoRect &, const SalBitmap &rSrcBitmap, const SalBitmap &rMaskBitmap, const SalBitmap &rAlphaBitmap)=0
void SetROPLineColor(SalROPColor aColor) override
Definition: salgdi.hxx:751
void drawMask(const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, Color nMaskColor) override
Definition: salgdi.hxx:880
unsigned char sal_uInt8
void SetXORMode(bool bSet, bool bInvertOnly) override
Definition: salgdi.hxx:761
SalLayoutFlags GetLayout() const
Definition: salgdi.hxx:222
OUString getRenderBackendName() const override
Definition: salgdi.hxx:948
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
Definition: salgdi.hxx:809
virtual bool drawEPS(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, void *pPtr, sal_uInt32 nSize)=0
void drawPolyLine(sal_uInt32 nPoints, const Point *pPtAry) override
Definition: salgdi.hxx:786
bool drawEPS(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, void *pPtr, sal_uInt32 nSize) override
Definition: salgdi.hxx:852
void SetROPFillColor(SalROPColor aColor) override
Definition: salgdi.hxx:756
sal_uInt16 GetBitCount() const override
Definition: salgdi.hxx:711
virtual void ResetClipRegion()=0
virtual void SetFillColor()=0
virtual void SetROPFillColor(SalROPColor nROPColor)=0
virtual void drawPixel(tools::Long nX, tools::Long nY)=0
virtual bool updateSettings(AllSettings &rSettings)
void invert(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, SalInvert nFlags) override
Definition: salgdi.hxx:841
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 ...
Definition: salgdi.hxx:912
bool drawPolyPolygon(const basegfx::B2DHomMatrix &rObjectToDevice, const basegfx::B2DPolyPolygon &rPolyPolygon, double fTransparency) override
Definition: salgdi.hxx:801
void SetLayout(SalLayoutFlags aLayout)
Definition: salgdi.hxx:223
virtual Color getPixel(tools::Long nX, tools::Long nY)=0
void SetLineColor(const css::uno::Reference< css::beans::XPropertySet > &xGridProperties, sal_Int32 nColor)
virtual std::shared_ptr< SalBitmap > getBitmap(tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight)=0
static void drawBitmap(SalGraphics &rGraphics, const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap)
virtual void drawMask(const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap, Color nMaskColor)=0
bool getAntiAlias() const
Definition: salgdi.hxx:94
std::map< sal_Ucs, sal_uInt32 > Ucs2UIntMap
Definition: salgdi.hxx:66
virtual bool drawPolyLineBezier(sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry)=0
virtual void drawPolyLine(sal_uInt32 nPoints, const Point *pPtAry)=0
void drawBitmap(const SalTwoRect &rPosAry, const SalBitmap &rSalBitmap) override
Definition: salgdi.hxx:870
virtual void SetROPLineColor(SalROPColor nROPColor)=0
virtual sal_uInt16 GetBitCount() const =0
virtual bool drawTransformedBitmap(const basegfx::B2DPoint &rNull, const basegfx::B2DPoint &rX, const basegfx::B2DPoint &rY, const SalBitmap &rSourceBitmap, const SalBitmap *pAlphaBitmap, double fAlpha)=0
Implementation class for SalGraphics.
Definition: salgdiimpl.hxx:50
bool IsNativeControlSupported(ControlType, ControlPart)
Definition: salgdi.hxx:695
virtual void handleDamage(const tools::Rectangle &rDamagedRegion)
Handle damage done by drawing with a widget draw override.
Definition: salgdi.hxx:705
Return value of GetTTGlobalFontInfo()
Definition: sft.hxx:147
Color getPixel(tools::Long nX, tools::Long nY) override
Definition: salgdi.hxx:890
virtual bool drawPolygonBezier(sal_uInt32 nPoints, const Point *pPtAry, const PolyFlags *pFlgAry)=0
PolyFlags
bool drawAlphaBitmap(const SalTwoRect &rPosAry, const SalBitmap &rSourceBitmap, const SalBitmap &rAlphaBitmap) override
Render bitmap with alpha channel.
Definition: salgdi.hxx:906
SalLayoutFlags