Fix tab spacing in include/vcl/outdev.hxx
Change-Id: I98eb64ee6ebad72b534bac8a467a9a334876c2e6 Reviewed-on: https://gerrit.libreoffice.org/8758 Tested-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
This commit is contained in:
@@ -267,94 +267,94 @@ class VCL_DLLPUBLIC OutputDevice
|
|||||||
friend void ImplHandleResize( Window* pWindow, long nNewWidth, long nNewHeight );
|
friend void ImplHandleResize( Window* pWindow, long nNewWidth, long nNewHeight );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
mutable SalGraphics* mpGraphics; ///< Graphics context to draw on
|
mutable SalGraphics* mpGraphics; ///< Graphics context to draw on
|
||||||
mutable OutputDevice* mpPrevGraphics; ///< Previous output device in list
|
mutable OutputDevice* mpPrevGraphics; ///< Previous output device in list
|
||||||
mutable OutputDevice* mpNextGraphics; ///< Next output device in list
|
mutable OutputDevice* mpNextGraphics; ///< Next output device in list
|
||||||
GDIMetaFile* mpMetaFile;
|
GDIMetaFile* mpMetaFile;
|
||||||
mutable ImplFontEntry* mpFontEntry;
|
mutable ImplFontEntry* mpFontEntry;
|
||||||
mutable ImplFontCache* mpFontCache;
|
mutable ImplFontCache* mpFontCache;
|
||||||
mutable PhysicalFontCollection* mpFontCollection;
|
mutable PhysicalFontCollection* mpFontCollection;
|
||||||
mutable ImplGetDevFontList* mpGetDevFontList;
|
mutable ImplGetDevFontList* mpGetDevFontList;
|
||||||
mutable ImplGetDevSizeList* mpGetDevSizeList;
|
mutable ImplGetDevSizeList* mpGetDevSizeList;
|
||||||
ImplObjStack* mpObjStack;
|
ImplObjStack* mpObjStack;
|
||||||
ImplOutDevData* mpOutDevData;
|
ImplOutDevData* mpOutDevData;
|
||||||
VCLXGraphicsList_impl* mpUnoGraphicsList;
|
VCLXGraphicsList_impl* mpUnoGraphicsList;
|
||||||
vcl::PDFWriterImpl* mpPDFWriter;
|
vcl::PDFWriterImpl* mpPDFWriter;
|
||||||
vcl::ExtOutDevData* mpExtOutDevData;
|
vcl::ExtOutDevData* mpExtOutDevData;
|
||||||
|
|
||||||
// TEMP TEMP TEMP
|
// TEMP TEMP TEMP
|
||||||
VirtualDevice* mpAlphaVDev;
|
VirtualDevice* mpAlphaVDev;
|
||||||
|
|
||||||
/// Additional output pixel offset, applied in LogicToPixel (used by SetPixelOffset/GetPixelOffset)
|
/// Additional output pixel offset, applied in LogicToPixel (used by SetPixelOffset/GetPixelOffset)
|
||||||
long mnOutOffOrigX;
|
long mnOutOffOrigX;
|
||||||
/// Additional output offset in _logical_ coordinates, applied in PixelToLogic (used by SetPixelOffset/GetPixelOffset)
|
/// Additional output offset in _logical_ coordinates, applied in PixelToLogic (used by SetPixelOffset/GetPixelOffset)
|
||||||
long mnOutOffLogicX;
|
long mnOutOffLogicX;
|
||||||
/// Additional output pixel offset, applied in LogicToPixel (used by SetPixelOffset/GetPixelOffset)
|
/// Additional output pixel offset, applied in LogicToPixel (used by SetPixelOffset/GetPixelOffset)
|
||||||
long mnOutOffOrigY;
|
long mnOutOffOrigY;
|
||||||
/// Additional output offset in _logical_ coordinates, applied in PixelToLogic (used by SetPixelOffset/GetPixelOffset)
|
/// Additional output offset in _logical_ coordinates, applied in PixelToLogic (used by SetPixelOffset/GetPixelOffset)
|
||||||
long mnOutOffLogicY;
|
long mnOutOffLogicY;
|
||||||
/// Output offset for device output in pixel (pseudo window offset within window system's frames)
|
/// Output offset for device output in pixel (pseudo window offset within window system's frames)
|
||||||
long mnOutOffX;
|
long mnOutOffX;
|
||||||
/// Output offset for device output in pixel (pseudo window offset within window system's frames)
|
/// Output offset for device output in pixel (pseudo window offset within window system's frames)
|
||||||
long mnOutOffY;
|
long mnOutOffY;
|
||||||
long mnOutWidth;
|
long mnOutWidth;
|
||||||
long mnOutHeight;
|
long mnOutHeight;
|
||||||
sal_Int32 mnDPIX;
|
sal_Int32 mnDPIX;
|
||||||
sal_Int32 mnDPIY;
|
sal_Int32 mnDPIY;
|
||||||
sal_Int32 mnDPIScaleFactor; ///< For Hi-DPI displays, we want to draw everything mnDPIScaleFactor-times larger
|
sal_Int32 mnDPIScaleFactor; ///< For Hi-DPI displays, we want to draw everything mnDPIScaleFactor-times larger
|
||||||
/// font specific text alignment offsets in pixel units
|
/// font specific text alignment offsets in pixel units
|
||||||
mutable long mnTextOffX;
|
mutable long mnTextOffX;
|
||||||
mutable long mnTextOffY;
|
mutable long mnTextOffY;
|
||||||
mutable long mnEmphasisAscent;
|
mutable long mnEmphasisAscent;
|
||||||
mutable long mnEmphasisDescent;
|
mutable long mnEmphasisDescent;
|
||||||
sal_uLong mnDrawMode;
|
sal_uLong mnDrawMode;
|
||||||
sal_uLong mnTextLayoutMode;
|
sal_uLong mnTextLayoutMode;
|
||||||
ImplMapRes maMapRes;
|
ImplMapRes maMapRes;
|
||||||
ImplThresholdRes maThresRes;
|
ImplThresholdRes maThresRes;
|
||||||
OutDevType meOutDevType;
|
OutDevType meOutDevType;
|
||||||
OutDevViewType meOutDevViewType;
|
OutDevViewType meOutDevViewType;
|
||||||
Region maRegion; // contains the clip region, see SetClipRegion(...)
|
Region maRegion; // contains the clip region, see SetClipRegion(...)
|
||||||
Color maLineColor;
|
Color maLineColor;
|
||||||
Color maFillColor;
|
Color maFillColor;
|
||||||
Font maFont;
|
Font maFont;
|
||||||
Color maTextColor;
|
Color maTextColor;
|
||||||
Color maTextLineColor;
|
Color maTextLineColor;
|
||||||
Color maOverlineColor;
|
Color maOverlineColor;
|
||||||
TextAlign meTextAlign;
|
TextAlign meTextAlign;
|
||||||
RasterOp meRasterOp;
|
RasterOp meRasterOp;
|
||||||
Wallpaper maBackground;
|
Wallpaper maBackground;
|
||||||
boost::scoped_ptr<AllSettings> mxSettings;
|
boost::scoped_ptr<AllSettings> mxSettings;
|
||||||
MapMode maMapMode;
|
MapMode maMapMode;
|
||||||
Point maRefPoint;
|
Point maRefPoint;
|
||||||
sal_uInt16 mnAntialiasing;
|
sal_uInt16 mnAntialiasing;
|
||||||
LanguageType meTextLanguage;
|
LanguageType meTextLanguage;
|
||||||
|
|
||||||
/// bitfield
|
/// bitfield
|
||||||
mutable bool mbMap : 1;
|
mutable bool mbMap : 1;
|
||||||
mutable bool mbMapIsDefault : 1;
|
mutable bool mbMapIsDefault : 1;
|
||||||
mutable bool mbClipRegion : 1;
|
mutable bool mbClipRegion : 1;
|
||||||
mutable bool mbBackground : 1;
|
mutable bool mbBackground : 1;
|
||||||
mutable bool mbOutput : 1;
|
mutable bool mbOutput : 1;
|
||||||
mutable bool mbDevOutput : 1;
|
mutable bool mbDevOutput : 1;
|
||||||
mutable bool mbOutputClipped : 1;
|
mutable bool mbOutputClipped : 1;
|
||||||
mutable bool mbLineColor : 1;
|
mutable bool mbLineColor : 1;
|
||||||
mutable bool mbFillColor : 1;
|
mutable bool mbFillColor : 1;
|
||||||
mutable bool mbInitLineColor : 1;
|
mutable bool mbInitLineColor : 1;
|
||||||
mutable bool mbInitFillColor : 1;
|
mutable bool mbInitFillColor : 1;
|
||||||
mutable bool mbInitFont : 1;
|
mutable bool mbInitFont : 1;
|
||||||
mutable bool mbInitTextColor : 1;
|
mutable bool mbInitTextColor : 1;
|
||||||
mutable bool mbInitClipRegion : 1;
|
mutable bool mbInitClipRegion : 1;
|
||||||
mutable bool mbClipRegionSet : 1;
|
mutable bool mbClipRegionSet : 1;
|
||||||
mutable bool mbKerning : 1;
|
mutable bool mbKerning : 1;
|
||||||
mutable bool mbNewFont : 1;
|
mutable bool mbNewFont : 1;
|
||||||
mutable bool mbTextLines : 1;
|
mutable bool mbTextLines : 1;
|
||||||
mutable bool mbTextSpecial : 1;
|
mutable bool mbTextSpecial : 1;
|
||||||
mutable bool mbRefPoint : 1;
|
mutable bool mbRefPoint : 1;
|
||||||
mutable bool mbEnableRTL : 1;
|
mutable bool mbEnableRTL : 1;
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void ImplReleaseFonts();
|
virtual void ImplReleaseFonts();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/** @name Initialization and accessor functions
|
/** @name Initialization and accessor functions
|
||||||
@@ -368,7 +368,7 @@ public:
|
|||||||
@returns SalGraphics instance.
|
@returns SalGraphics instance.
|
||||||
*/
|
*/
|
||||||
SAL_DLLPRIVATE SalGraphics const *ImplGetGraphics() const;
|
SAL_DLLPRIVATE SalGraphics const *ImplGetGraphics() const;
|
||||||
SAL_DLLPRIVATE SalGraphics* ImplGetGraphics();
|
SAL_DLLPRIVATE SalGraphics* ImplGetGraphics();
|
||||||
|
|
||||||
/** Initialize the graphics device that the output device uses to draw on.
|
/** Initialize the graphics device that the output device uses to draw on.
|
||||||
|
|
||||||
@@ -645,9 +645,9 @@ public:
|
|||||||
SAL_DLLPRIVATE void ImplDrawStrikeoutChar( long nBaseX, long nBaseY, long nX, long nY, long nWidth, FontStrikeout eStrikeout, Color aColor );
|
SAL_DLLPRIVATE void ImplDrawStrikeoutChar( long nBaseX, long nBaseY, long nX, long nY, long nWidth, FontStrikeout eStrikeout, Color aColor );
|
||||||
SAL_DLLPRIVATE void ImplDrawTextLine( long nBaseX, long nX, long nY, long nWidth, FontStrikeout eStrikeout, FontUnderline eUnderline, FontUnderline eOverline, bool bUnderlineAbove );
|
SAL_DLLPRIVATE void ImplDrawTextLine( long nBaseX, long nX, long nY, long nWidth, FontStrikeout eStrikeout, FontUnderline eUnderline, FontUnderline eOverline, bool bUnderlineAbove );
|
||||||
SAL_DLLPRIVATE void ImplDrawMnemonicLine( long nX, long nY, long nWidth );
|
SAL_DLLPRIVATE void ImplDrawMnemonicLine( long nX, long nY, long nWidth );
|
||||||
SAL_DLLPRIVATE static bool ImplIsUnderlineAbove( const Font& );
|
SAL_DLLPRIVATE static bool ImplIsUnderlineAbove( const Font& );
|
||||||
|
|
||||||
SAL_DLLPRIVATE static FontEmphasisMark ImplGetEmphasisMarkStyle( const Font& rFont );
|
SAL_DLLPRIVATE static FontEmphasisMark ImplGetEmphasisMarkStyle( const Font& rFont );
|
||||||
SAL_DLLPRIVATE void ImplGetEmphasisMark( PolyPolygon& rPolyPoly, bool& rPolyLine, Rectangle& rRect1, Rectangle& rRect2, long& rYOff, long& rWidth, FontEmphasisMark eEmphasis, long nHeight, short nOrient );
|
SAL_DLLPRIVATE void ImplGetEmphasisMark( PolyPolygon& rPolyPoly, bool& rPolyLine, Rectangle& rRect1, Rectangle& rRect2, long& rYOff, long& rWidth, FontEmphasisMark eEmphasis, long nHeight, short nOrient );
|
||||||
SAL_DLLPRIVATE void ImplDrawEmphasisMark( long nBaseX, long nX, long nY, const PolyPolygon& rPolyPoly, bool bPolyLine, const Rectangle& rRect1, const Rectangle& rRect2 );
|
SAL_DLLPRIVATE void ImplDrawEmphasisMark( long nBaseX, long nX, long nY, const PolyPolygon& rPolyPoly, bool bPolyLine, const Rectangle& rRect1, const Rectangle& rRect2 );
|
||||||
static
|
static
|
||||||
@@ -778,7 +778,7 @@ public:
|
|||||||
/** @name Layout functions
|
/** @name Layout functions
|
||||||
*/
|
*/
|
||||||
///@{
|
///@{
|
||||||
SAL_DLLPRIVATE bool ImplIsRecordLayout() const;
|
SAL_DLLPRIVATE bool ImplIsRecordLayout() const;
|
||||||
virtual bool HasMirroredGraphics() const;
|
virtual bool HasMirroredGraphics() const;
|
||||||
SAL_DLLPRIVATE void ReMirror( Point &rPoint ) const;
|
SAL_DLLPRIVATE void ReMirror( Point &rPoint ) const;
|
||||||
SAL_DLLPRIVATE void ReMirror( Rectangle &rRect ) const;
|
SAL_DLLPRIVATE void ReMirror( Rectangle &rRect ) const;
|
||||||
@@ -832,7 +832,7 @@ protected:
|
|||||||
basegfx::B2DRange &aVisibleRange,
|
basegfx::B2DRange &aVisibleRange,
|
||||||
double &fMaximumArea);
|
double &fMaximumArea);
|
||||||
|
|
||||||
virtual void ScaleBitmap ( Bitmap &rBmp, SalTwoRect &rPosAry );
|
virtual void ScaleBitmap ( Bitmap &rBmp, SalTwoRect &rPosAry );
|
||||||
|
|
||||||
virtual void DrawDeviceBitmap(
|
virtual void DrawDeviceBitmap(
|
||||||
const Point& rDestPt, const Size& rDestSize,
|
const Point& rDestPt, const Size& rDestSize,
|
||||||
@@ -938,26 +938,26 @@ public:
|
|||||||
static OUString GetNonMnemonicString( const OUString& rStr )
|
static OUString GetNonMnemonicString( const OUString& rStr )
|
||||||
{ sal_Int32 nDummy; return GetNonMnemonicString( rStr, nDummy ); }
|
{ sal_Int32 nDummy; return GetNonMnemonicString( rStr, nDummy ); }
|
||||||
|
|
||||||
bool GetTextBoundRect( Rectangle& rRect,
|
bool GetTextBoundRect( Rectangle& rRect,
|
||||||
const OUString& rStr, sal_Int32 nBase = 0, sal_Int32 nIndex = 0, sal_Int32 nLen = -1,
|
const OUString& rStr, sal_Int32 nBase = 0, sal_Int32 nIndex = 0, sal_Int32 nLen = -1,
|
||||||
sal_uLong nLayoutWidth = 0, const sal_Int32* pDXArray = NULL ) const;
|
sal_uLong nLayoutWidth = 0, const sal_Int32* pDXArray = NULL ) const;
|
||||||
|
|
||||||
bool GetTextOutline( PolyPolygon&,
|
bool GetTextOutline( PolyPolygon&,
|
||||||
const OUString& rStr, sal_Int32 nBase = 0, sal_Int32 nIndex = 0,
|
const OUString& rStr, sal_Int32 nBase = 0, sal_Int32 nIndex = 0,
|
||||||
sal_Int32 nLen = -1, bool bOptimize = true,
|
sal_Int32 nLen = -1, bool bOptimize = true,
|
||||||
sal_uLong nLayoutWidth = 0, const sal_Int32* pDXArray = NULL ) const;
|
sal_uLong nLayoutWidth = 0, const sal_Int32* pDXArray = NULL ) const;
|
||||||
|
|
||||||
bool GetTextOutlines( PolyPolyVector&,
|
bool GetTextOutlines( PolyPolyVector&,
|
||||||
const OUString& rStr, sal_Int32 nBase = 0, sal_Int32 nIndex = 0,
|
const OUString& rStr, sal_Int32 nBase = 0, sal_Int32 nIndex = 0,
|
||||||
sal_Int32 nLen = -1, bool bOptimize = true,
|
sal_Int32 nLen = -1, bool bOptimize = true,
|
||||||
sal_uLong nLayoutWidth = 0, const sal_Int32* pDXArray = NULL ) const;
|
sal_uLong nLayoutWidth = 0, const sal_Int32* pDXArray = NULL ) const;
|
||||||
|
|
||||||
bool GetTextOutlines( ::basegfx::B2DPolyPolygonVector &rVector,
|
bool GetTextOutlines( ::basegfx::B2DPolyPolygonVector &rVector,
|
||||||
const OUString& rStr, sal_Int32 nBase = 0, sal_Int32 nIndex = 0,
|
const OUString& rStr, sal_Int32 nBase = 0, sal_Int32 nIndex = 0,
|
||||||
sal_Int32 nLen = -1, bool bOptimize = true,
|
sal_Int32 nLen = -1, bool bOptimize = true,
|
||||||
sal_uLong nLayoutWidth = 0, const sal_Int32* pDXArray = NULL ) const;
|
sal_uLong nLayoutWidth = 0, const sal_Int32* pDXArray = NULL ) const;
|
||||||
|
|
||||||
bool GetGlyphBoundRects( const Point& rOrigin, const OUString& rStr, int nIndex,
|
bool GetGlyphBoundRects( const Point& rOrigin, const OUString& rStr, int nIndex,
|
||||||
int nLen, int nBase, MetricVector& rVector );
|
int nLen, int nBase, MetricVector& rVector );
|
||||||
|
|
||||||
void DrawPixel( const Point& rPt );
|
void DrawPixel( const Point& rPt );
|
||||||
@@ -1147,25 +1147,25 @@ public:
|
|||||||
BitmapEx GetBitmapEx( const Point& rSrcPt, const Size& rSize ) const;
|
BitmapEx GetBitmapEx( const Point& rSrcPt, const Size& rSize ) const;
|
||||||
|
|
||||||
void EnableMapMode( bool bEnable = true );
|
void EnableMapMode( bool bEnable = true );
|
||||||
bool IsMapModeEnabled() const { return mbMap; }
|
bool IsMapModeEnabled() const { return mbMap; }
|
||||||
|
|
||||||
// Enabling/disabling RTL only makes sense for OutputDevices that use a mirroring SalGraphisLayout
|
// Enabling/disabling RTL only makes sense for OutputDevices that use a mirroring SalGraphisLayout
|
||||||
void EnableRTL( bool bEnable = true);
|
void EnableRTL( bool bEnable = true);
|
||||||
bool IsRTLEnabled() const { return mbEnableRTL; }
|
bool IsRTLEnabled() const { return mbEnableRTL; }
|
||||||
|
|
||||||
void SetConnectMetaFile( GDIMetaFile* pMtf );
|
void SetConnectMetaFile( GDIMetaFile* pMtf );
|
||||||
GDIMetaFile* GetConnectMetaFile() const { return mpMetaFile; }
|
GDIMetaFile* GetConnectMetaFile() const { return mpMetaFile; }
|
||||||
|
|
||||||
void EnableOutput( bool bEnable = true );
|
void EnableOutput( bool bEnable = true );
|
||||||
bool IsOutputEnabled() const { return mbOutput; }
|
bool IsOutputEnabled() const { return mbOutput; }
|
||||||
bool IsDeviceOutput() const { return mbDevOutput; }
|
bool IsDeviceOutput() const { return mbDevOutput; }
|
||||||
bool IsDeviceOutputNecessary() const { return (mbOutput && mbDevOutput); }
|
bool IsDeviceOutputNecessary() const { return (mbOutput && mbDevOutput); }
|
||||||
bool IsOutputNecessary() const { return ((mbOutput && mbDevOutput) || (mpMetaFile != NULL)); }
|
bool IsOutputNecessary() const { return ((mbOutput && mbDevOutput) || (mpMetaFile != NULL)); }
|
||||||
|
|
||||||
void SetClipRegion();
|
void SetClipRegion();
|
||||||
void SetClipRegion( const Region& rRegion );
|
void SetClipRegion( const Region& rRegion );
|
||||||
Region GetClipRegion() const;
|
Region GetClipRegion() const;
|
||||||
bool IsClipRegion() const { return mbClipRegion; }
|
bool IsClipRegion() const { return mbClipRegion; }
|
||||||
Region GetActiveClipRegion() const;
|
Region GetActiveClipRegion() const;
|
||||||
|
|
||||||
void MoveClipRegion( long nHorzMove, long nVertMove );
|
void MoveClipRegion( long nHorzMove, long nVertMove );
|
||||||
@@ -1200,18 +1200,18 @@ public:
|
|||||||
void SetLineColor();
|
void SetLineColor();
|
||||||
void SetLineColor( const Color& rColor );
|
void SetLineColor( const Color& rColor );
|
||||||
const Color& GetLineColor() const { return maLineColor; }
|
const Color& GetLineColor() const { return maLineColor; }
|
||||||
bool IsLineColor() const { return mbLineColor; }
|
bool IsLineColor() const { return mbLineColor; }
|
||||||
|
|
||||||
void SetFillColor();
|
void SetFillColor();
|
||||||
void SetFillColor( const Color& rColor );
|
void SetFillColor( const Color& rColor );
|
||||||
const Color& GetFillColor() const { return maFillColor; }
|
const Color& GetFillColor() const { return maFillColor; }
|
||||||
bool IsFillColor() const { return mbFillColor; }
|
bool IsFillColor() const { return mbFillColor; }
|
||||||
|
|
||||||
void SetBackground();
|
void SetBackground();
|
||||||
void SetBackground( const Wallpaper& rBackground );
|
void SetBackground( const Wallpaper& rBackground );
|
||||||
|
|
||||||
const Wallpaper& GetBackground() const { return maBackground; }
|
const Wallpaper& GetBackground() const { return maBackground; }
|
||||||
bool IsBackground() const { return mbBackground; }
|
bool IsBackground() const { return mbBackground; }
|
||||||
|
|
||||||
void SetFont( const Font& rNewFont );
|
void SetFont( const Font& rNewFont );
|
||||||
const Font& GetFont() const { return maFont; }
|
const Font& GetFont() const { return maFont; }
|
||||||
@@ -1227,15 +1227,15 @@ public:
|
|||||||
void SetTextFillColor( const Color& rColor );
|
void SetTextFillColor( const Color& rColor );
|
||||||
|
|
||||||
Color GetTextFillColor() const;
|
Color GetTextFillColor() const;
|
||||||
bool IsTextFillColor() const { return !maFont.IsTransparent(); }
|
bool IsTextFillColor() const { return !maFont.IsTransparent(); }
|
||||||
void SetTextLineColor();
|
void SetTextLineColor();
|
||||||
void SetTextLineColor( const Color& rColor );
|
void SetTextLineColor( const Color& rColor );
|
||||||
const Color& GetTextLineColor() const { return maTextLineColor; }
|
const Color& GetTextLineColor() const { return maTextLineColor; }
|
||||||
bool IsTextLineColor() const { return (maTextLineColor.GetTransparency() == 0); }
|
bool IsTextLineColor() const { return (maTextLineColor.GetTransparency() == 0); }
|
||||||
void SetOverlineColor();
|
void SetOverlineColor();
|
||||||
void SetOverlineColor( const Color& rColor );
|
void SetOverlineColor( const Color& rColor );
|
||||||
const Color& GetOverlineColor() const { return maOverlineColor; }
|
const Color& GetOverlineColor() const { return maOverlineColor; }
|
||||||
bool IsOverlineColor() const { return (maOverlineColor.GetTransparency() == 0); }
|
bool IsOverlineColor() const { return (maOverlineColor.GetTransparency() == 0); }
|
||||||
void SetTextAlign( TextAlign eAlign );
|
void SetTextAlign( TextAlign eAlign );
|
||||||
TextAlign GetTextAlign() const { return maFont.GetAlign(); }
|
TextAlign GetTextAlign() const { return maFont.GetAlign(); }
|
||||||
|
|
||||||
@@ -1249,12 +1249,12 @@ public:
|
|||||||
virtual void SetMapMode( const MapMode& rNewMapMode );
|
virtual void SetMapMode( const MapMode& rNewMapMode );
|
||||||
virtual void SetRelativeMapMode( const MapMode& rNewMapMode );
|
virtual void SetRelativeMapMode( const MapMode& rNewMapMode );
|
||||||
const MapMode& GetMapMode() const { return maMapMode; }
|
const MapMode& GetMapMode() const { return maMapMode; }
|
||||||
bool IsMapMode() const { return mbMap; }
|
bool IsMapMode() const { return mbMap; }
|
||||||
|
|
||||||
void SetRefPoint();
|
void SetRefPoint();
|
||||||
void SetRefPoint( const Point& rRefPoint );
|
void SetRefPoint( const Point& rRefPoint );
|
||||||
const Point& GetRefPoint() const { return maRefPoint; }
|
const Point& GetRefPoint() const { return maRefPoint; }
|
||||||
bool IsRefPoint() const { return mbRefPoint; }
|
bool IsRefPoint() const { return mbRefPoint; }
|
||||||
|
|
||||||
// #i75163#
|
// #i75163#
|
||||||
basegfx::B2DHomMatrix GetViewTransformation() const;
|
basegfx::B2DHomMatrix GetViewTransformation() const;
|
||||||
@@ -1389,16 +1389,16 @@ public:
|
|||||||
void Erase();
|
void Erase();
|
||||||
void Erase( const Rectangle& rRect ) { DrawWallpaper( rRect, GetBackground() ); }
|
void Erase( const Rectangle& rRect ) { DrawWallpaper( rRect, GetBackground() ); }
|
||||||
|
|
||||||
bool AddTempDevFont( const OUString& rFileURL, const OUString& rFontName );
|
bool AddTempDevFont( const OUString& rFileURL, const OUString& rFontName );
|
||||||
int GetDevFontCount() const;
|
int GetDevFontCount() const;
|
||||||
FontInfo GetDevFont( int nDevFontIndex ) const;
|
FontInfo GetDevFont( int nDevFontIndex ) const;
|
||||||
int GetDevFontSizeCount( const Font& ) const;
|
int GetDevFontSizeCount( const Font& ) const;
|
||||||
Size GetDevFontSize( const Font& rFont, int nSizeIndex ) const;
|
Size GetDevFontSize( const Font& rFont, int nSizeIndex ) const;
|
||||||
bool IsFontAvailable( const OUString& rFontName ) const;
|
bool IsFontAvailable( const OUString& rFontName ) const;
|
||||||
|
|
||||||
FontMetric GetFontMetric() const;
|
FontMetric GetFontMetric() const;
|
||||||
FontMetric GetFontMetric( const Font& rFont ) const;
|
FontMetric GetFontMetric( const Font& rFont ) const;
|
||||||
bool GetFontCharMap( FontCharMap& rFontCharMap ) const;
|
bool GetFontCharMap( FontCharMap& rFontCharMap ) const;
|
||||||
bool GetFontCapabilities( vcl::FontCapabilities& rFontCapabilities ) const;
|
bool GetFontCapabilities( vcl::FontCapabilities& rFontCapabilities ) const;
|
||||||
|
|
||||||
sal_Int32 HasGlyphs( const Font& rFont, const OUString& rStr,
|
sal_Int32 HasGlyphs( const Font& rFont, const OUString& rStr,
|
||||||
@@ -1417,7 +1417,7 @@ public:
|
|||||||
|
|
||||||
sal_uInt16 GetBitCount() const;
|
sal_uInt16 GetBitCount() const;
|
||||||
|
|
||||||
bool GetTextIsRTL( const OUString&, sal_Int32 nIndex, sal_Int32 nLen ) const;
|
bool GetTextIsRTL( const OUString&, sal_Int32 nIndex, sal_Int32 nLen ) const;
|
||||||
|
|
||||||
/** Query the existence and depth of the alpha channel
|
/** Query the existence and depth of the alpha channel
|
||||||
|
|
||||||
@@ -1438,7 +1438,7 @@ public:
|
|||||||
|
|
||||||
@return sal_True, if this device has an alpha channel.
|
@return sal_True, if this device has an alpha channel.
|
||||||
*/
|
*/
|
||||||
bool HasAlpha();
|
bool HasAlpha();
|
||||||
|
|
||||||
/// request XCanvas render interface for this OutputDevice
|
/// request XCanvas render interface for this OutputDevice
|
||||||
css::uno::Reference< css::rendering::XCanvas >
|
css::uno::Reference< css::rendering::XCanvas >
|
||||||
@@ -1488,7 +1488,7 @@ public:
|
|||||||
@attention This method ignores negative rDstSz values, thus
|
@attention This method ignores negative rDstSz values, thus
|
||||||
mirroring must happen outside this method (e.g. in DrawBitmap)
|
mirroring must happen outside this method (e.g. in DrawBitmap)
|
||||||
*/
|
*/
|
||||||
Bitmap GetDownsampledBitmap( const Size& rDstSz,
|
Bitmap GetDownsampledBitmap( const Size& rDstSz,
|
||||||
const Point& rSrcPt, const Size& rSrcSz,
|
const Point& rSrcPt, const Size& rSrcSz,
|
||||||
const Bitmap& rBmp, long nMaxBmpDPIX, long nMaxBmpDPIY );
|
const Bitmap& rBmp, long nMaxBmpDPIX, long nMaxBmpDPIY );
|
||||||
|
|
||||||
@@ -1497,17 +1497,17 @@ public:
|
|||||||
// These all just call through to the private mpGraphics functions of the same name.
|
// These all just call through to the private mpGraphics functions of the same name.
|
||||||
|
|
||||||
// Query the platform layer for control support
|
// Query the platform layer for control support
|
||||||
bool IsNativeControlSupported( ControlType nType, ControlPart nPart ) const;
|
bool IsNativeControlSupported( ControlType nType, ControlPart nPart ) const;
|
||||||
|
|
||||||
// Query the native control to determine if it was acted upon
|
// Query the native control to determine if it was acted upon
|
||||||
bool HitTestNativeControl( ControlType nType,
|
bool HitTestNativeControl( ControlType nType,
|
||||||
ControlPart nPart,
|
ControlPart nPart,
|
||||||
const Rectangle& rControlRegion,
|
const Rectangle& rControlRegion,
|
||||||
const Point& aPos,
|
const Point& aPos,
|
||||||
bool& rIsInside ) const;
|
bool& rIsInside ) const;
|
||||||
|
|
||||||
// Request rendering of a particular control and/or part
|
// Request rendering of a particular control and/or part
|
||||||
bool DrawNativeControl( ControlType nType,
|
bool DrawNativeControl( ControlType nType,
|
||||||
ControlPart nPart,
|
ControlPart nPart,
|
||||||
const Rectangle& rControlRegion,
|
const Rectangle& rControlRegion,
|
||||||
ControlState nState,
|
ControlState nState,
|
||||||
@@ -1515,7 +1515,7 @@ public:
|
|||||||
const OUString& aCaption );
|
const OUString& aCaption );
|
||||||
|
|
||||||
// Query the native control's actual drawing region (including adornment)
|
// Query the native control's actual drawing region (including adornment)
|
||||||
bool GetNativeControlRegion( ControlType nType,
|
bool GetNativeControlRegion( ControlType nType,
|
||||||
ControlPart nPart,
|
ControlPart nPart,
|
||||||
const Rectangle& rControlRegion,
|
const Rectangle& rControlRegion,
|
||||||
ControlState nState,
|
ControlState nState,
|
||||||
|
Reference in New Issue
Block a user