summaryrefslogtreecommitdiff
path: root/include/vcl/graphictools.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-09 10:09:42 +0200
committerNoel Grandin <noel@peralex.com>2014-06-09 10:10:13 +0200
commit184a00b96235f6432294ded63ce4a4a318effdb5 (patch)
treee4ae0e00cb168fa43d280cfb51a50515258b5320 /include/vcl/graphictools.hxx
parent534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff)
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'include/vcl/graphictools.hxx')
-rw-r--r--include/vcl/graphictools.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/vcl/graphictools.hxx b/include/vcl/graphictools.hxx
index 0140b5df8384..b7ef7fbf4737 100644
--- a/include/vcl/graphictools.hxx
+++ b/include/vcl/graphictools.hxx
@@ -127,15 +127,15 @@ public:
@return the transparency, ranging from 0.0 (opaque) to 1.0 (fully translucent)
*/
- double getTransparency () const;
+ double getTransparency () const { return mfTransparency;}
/// Get width of the stroke
- double getStrokeWidth () const;
+ double getStrokeWidth () const { return mfStrokeWidth;}
/// Get the style in which open stroke ends are drawn
- CapType getCapType () const;
+ CapType getCapType () const { return maCapType;}
/// Get the style in which the stroke segments are joined
- JoinType getJoinType () const;
+ JoinType getJoinType () const { return maJoinType;}
/// Get the maximum length of mitered joins
- double getMiterLimit () const;
+ double getMiterLimit () const { return mfMiterLimit;}
/// Get an array of "on" and "off" lengths for stroke dashing
void getDashArray ( DashArray& ) const;
@@ -305,16 +305,16 @@ public:
@return the transparency, ranging from 0.0 (opaque) to 1.0 (fully translucent)
*/
- double getTransparency () const;
+ double getTransparency () const { return mfTransparency;}
/// Get fill rule used
- FillRule getFillRule () const;
+ FillRule getFillRule () const { return maFillRule;}
/** Get fill type used
Currently, only one of the fill types can be used
simultaneously. If you specify e.g. FillRule::fillGradient,
hatching, texture and solid fill color are ignored.
*/
- FillType getFillType () const;
+ FillType getFillType () const { return maFillType;}
/** Get transformation applied to hatch, gradient or texture during fill
A fill operation generally starts at the top left position of
@@ -328,14 +328,14 @@ public:
*/
void getTransform ( Transform& ) const;
/// deprecated
- bool IsTiling () const;
+ bool IsTiling () const { return mbTiling;}
/** Query state of texture tiling
@return true, if texture is tiled, false, if output only once.
*/
- bool isTiling () const;
+ bool isTiling () const { return mbTiling;}
/// Get type of gradient used
- GradientType getGradientType () const;
+ GradientType getGradientType () const { return maGradientType;}
/** Get the texture graphic used