diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-07-21 17:34:40 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-07-28 17:51:56 +0200 |
commit | bc47d7138a8d8dd239831a38bb2eca9db13addb6 (patch) | |
tree | 8108764902d60d5d34eea60ba64caf7b7e1a7c2c /drawinglayer | |
parent | e32c12a444e5bd0c6735db8e8008340c29a7e25e (diff) |
borderline: first versionj with line end adaptions
Added usage of defined extensions to the BorderLinePrimitive,
also added a first version to detect all cuts with adjacent
borders and produce the correct extensions, for single and
double lines. Not completely happy with it, but a first
version
Change-Id: I4b12a6cc0a70278bd5c506e9b3b2c5c126930dad
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive2d/borderlineprimitive2d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx index 84ea9fff10ca..a9822d6bcd06 100644 --- a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx @@ -144,8 +144,8 @@ namespace drawinglayer // single line, only inside values used, no vertical offsets addPolygonStrokePrimitive2D( rContainer, - getStart(), - getEnd(), + getStart() - (aVector * getExtendLeftStart()), + getEnd() + (aVector * getExtendLeftEnd()), getRGBColorLeft(), getLeftWidth(), getStyle(), |