summaryrefslogtreecommitdiff
path: root/vcl/inc/vcl/lineinfo.hxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@Sun.COM>2009-10-14 13:55:31 +0200
committerArmin Le Grand <Armin.Le.Grand@Sun.COM>2009-10-14 13:55:31 +0200
commit727411be78c3ac7300caa688f8085a9952e7c85d (patch)
tree935aec152a28cd6e9eadebb303c33736c0a9b560 /vcl/inc/vcl/lineinfo.hxx
parentf678fbae66d80e762faa29e7ab0fe3703f005275 (diff)
#i105655# commiting changes so far for preparing linux version
Diffstat (limited to 'vcl/inc/vcl/lineinfo.hxx')
-rw-r--r--vcl/inc/vcl/lineinfo.hxx23
1 files changed, 14 insertions, 9 deletions
diff --git a/vcl/inc/vcl/lineinfo.hxx b/vcl/inc/vcl/lineinfo.hxx
index 60fdc3a3a0b0..a57513b2826b 100644
--- a/vcl/inc/vcl/lineinfo.hxx
+++ b/vcl/inc/vcl/lineinfo.hxx
@@ -32,9 +32,9 @@
#define _SV_LINEINFO_HXX
#include <vcl/dllapi.h>
-
#include <tools/gen.hxx>
#include <vcl/vclenum.hxx>
+#include <basegfx/vector/b2enums.hxx>
// ----------------
// - ImplLineInfo -
@@ -44,14 +44,16 @@ class SvStream;
struct ImplLineInfo
{
- ULONG mnRefCount;
- LineStyle meStyle;
- long mnWidth;
- USHORT mnDashCount;
- long mnDashLen;
- USHORT mnDotCount;
- long mnDotLen;
- long mnDistance;
+ ULONG mnRefCount;
+ LineStyle meStyle;
+ long mnWidth;
+ USHORT mnDashCount;
+ long mnDashLen;
+ USHORT mnDotCount;
+ long mnDotLen;
+ long mnDistance;
+
+ basegfx::B2DLineJoin meLineJoin;
ImplLineInfo();
ImplLineInfo( const ImplLineInfo& rImplLineInfo );
@@ -107,6 +109,9 @@ public:
void SetDistance( long nDistance );
long GetDistance() const { return mpImplLineInfo->mnDistance; }
+ void SetLineJoin(basegfx::B2DLineJoin eLineJoin);
+ basegfx::B2DLineJoin GetLineJoin() const { return mpImplLineInfo->meLineJoin; }
+
BOOL IsDefault() const { return( !mpImplLineInfo->mnWidth && ( LINE_SOLID == mpImplLineInfo->meStyle ) ); }
friend VCL_DLLPUBLIC SvStream& operator>>( SvStream& rIStm, LineInfo& rLineInfo );