diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-15 16:12:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-16 14:06:33 +0200 |
commit | c71656f51a09e88ecae4f3423c96fee84778647d (patch) | |
tree | c4d1b0c322d3b36f164534b0e99b19b67ad3e946 /include | |
parent | 357020de87b59b88efa10694d9e212e159ee7c16 (diff) |
[API CHANGE] remove some primitives rendering settings
Remove the following settings:
QuadraticFormControlRenderLimit
Quadratic3DRenderLimit
RenderSimpleTextDirect
RenderDecoratedTextDirect
SnapHorVerLinesToDiscrete
which have no way to be set from the user interface.
Change-Id: Ie96531425f5ba6021ade4f247b18b99092fd7e5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92275
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/optionsdrawinglayer.hxx | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/include/svtools/optionsdrawinglayer.hxx b/include/svtools/optionsdrawinglayer.hxx index 762b2545e1af..b156dd5741f2 100644 --- a/include/svtools/optionsdrawinglayer.hxx +++ b/include/svtools/optionsdrawinglayer.hxx @@ -101,12 +101,23 @@ class SVT_DLLPUBLIC SvtOptionsDrawinglayer // primitives bool IsAntiAliasing() const; - bool IsSnapHorVerLinesToDiscrete() const; - bool IsSolidDragCreate() const; - bool IsRenderDecoratedTextDirect() const; - bool IsRenderSimpleTextDirect() const; - sal_uInt32 GetQuadratic3DRenderLimit() const; - sal_uInt32 GetQuadraticFormControlRenderLimit() const; + /** + Defines a Limitation for the default raster conversion from + 3D Scenes to Bitmaps. The number is the maximum number of pixels to + use, e.g. 1000x1000 Pixels is allowed as default. When Scenes would + need more Pixels than this, the Bitmap will be limited and scaled to + the needed pixel size at paint time. + */ + static sal_uInt32 GetQuadratic3DRenderLimit() { return 1000000; } + /** + Defines a Limitation for the default raster conversion of + FormControls in edit mode. These have the ability to be displayed + using this fallback to Bitmaps. The number is the maximum number of + pixels to use, e.g. 300x150 Pixels is allowed as default. When + FormControls would need more Pixels than this, the Bitmap will be + limited and scaled to the needed pixel size at paint time. + */ + static sal_uInt32 GetQuadraticFormControlRenderLimit() { return 45000; } void SetAntiAliasing( bool bState ); |