summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@Sun.COM>2009-11-18 13:08:25 +0100
committerArmin Le Grand <Armin.Le.Grand@Sun.COM>2009-11-18 13:08:25 +0100
commitd1eb6b5cb7482385397f03b56ef396905c5490e5 (patch)
tree947e0b11fec81cbc312e4dd2512b325b0427758f
parentc0ef0690c273ca70456418dce4f5c6cdabc42f09 (diff)
aw078: changes after resync to DEV300m64
-rw-r--r--basegfx/test/basegfx2d.cxx4
-rw-r--r--goodies/source/filter.vcl/eps/eps.cxx3
-rw-r--r--vcl/aqua/source/gdi/salgdi.cxx1
-rw-r--r--vcl/source/gdi/bitmapex.cxx2
-rw-r--r--vcl/source/glyphs/gcach_ftyp.cxx1
-rw-r--r--vcl/unx/source/gdi/salgdi.cxx1
6 files changed, 8 insertions, 4 deletions
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx
index b4c9453c1d3c..eadd99d31a42 100644
--- a/basegfx/test/basegfx2d.cxx
+++ b/basegfx/test/basegfx2d.cxx
@@ -484,8 +484,10 @@ public:
}
while ( nIndex >= 0 );
+ // Adapted number of spaces from 50 to 67 because of the new circle construction
+ // methods which produce more points and thus more spaces, too.
CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates",
- nCount==50);
+ nCount==67);
const B2DPolygon aRect(
tools::createPolygonFromRect( B2DRange(0.0,0.0,4000.0,4000.0) ));
diff --git a/goodies/source/filter.vcl/eps/eps.cxx b/goodies/source/filter.vcl/eps/eps.cxx
index b66c118dbf8a..5a4c1163b952 100644
--- a/goodies/source/filter.vcl/eps/eps.cxx
+++ b/goodies/source/filter.vcl/eps/eps.cxx
@@ -388,7 +388,7 @@ BOOL PSWriter::WritePS( const Graphic& rGraphic, SvStream& rTargetStream, Filter
bTextFillColor = TRUE;
aTextFillColor = Color( COL_BLACK );
fLineWidth = 1;
- fMiterLimit = 10;
+ fMiterLimit = 15; // use same limit as most graphic systems and basegfx
eLineCap = SvtGraphicStroke::capButt;
eJoinType = SvtGraphicStroke::joinMiter;
aBackgroundColor = Color( COL_WHITE );
@@ -2377,7 +2377,6 @@ void PSWriter::ImplWriteLineInfo( const LineInfo& rLineInfo )
if ( rLineInfo.GetStyle() == LINE_DASH )
l_aDashArray.push_back( 2 );
const double fLWidth(( ( rLineInfo.GetWidth() + 1 ) + ( rLineInfo.GetWidth() + 1 ) ) * 0.5);
- const double fMiterLimit(15.0);
SvtGraphicStroke::JoinType aJoinType(SvtGraphicStroke::joinMiter);
switch(rLineInfo.GetLineJoin())
diff --git a/vcl/aqua/source/gdi/salgdi.cxx b/vcl/aqua/source/gdi/salgdi.cxx
index 8d57d56a3667..f38b9852e57e 100644
--- a/vcl/aqua/source/gdi/salgdi.cxx
+++ b/vcl/aqua/source/gdi/salgdi.cxx
@@ -54,6 +54,7 @@
#include "basegfx/polygon/b2dpolygon.hxx"
#include "basegfx/polygon/b2dpolygontools.hxx"
#include "basegfx/matrix/b2dhommatrix.hxx"
+#include <basegfx/matrix/b2dhommatrixtools.hxx>
using namespace vcl;
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index 6626a12d29a2..4e2ed20a7966 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -785,7 +785,7 @@ sal_uInt8 BitmapEx::GetTransparency(sal_Int32 nX, sal_Int32 nY) const
if(pRead)
{
- const Color aColor(Color(pRead->GetColor(nY, nX)));
+ const Color aColor = pRead->GetColor(nY, nX);
// if color is not equal to TransparentColor, we are not transparent
if(aColor != aTransparentColor)
diff --git a/vcl/source/glyphs/gcach_ftyp.cxx b/vcl/source/glyphs/gcach_ftyp.cxx
index 820f3f0d74a9..c782366928db 100644
--- a/vcl/source/glyphs/gcach_ftyp.cxx
+++ b/vcl/source/glyphs/gcach_ftyp.cxx
@@ -43,6 +43,7 @@
#include "tools/poly.hxx"
#include "basegfx/matrix/b2dhommatrix.hxx"
+#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include "basegfx/polygon/b2dpolypolygon.hxx"
#include "osl/file.hxx"
diff --git a/vcl/unx/source/gdi/salgdi.cxx b/vcl/unx/source/gdi/salgdi.cxx
index bfc5aa9d66f4..5bf8b63dc6e2 100644
--- a/vcl/unx/source/gdi/salgdi.cxx
+++ b/vcl/unx/source/gdi/salgdi.cxx
@@ -50,6 +50,7 @@
#include "basegfx/polygon/b2dpolygonclipper.hxx"
#include "basegfx/polygon/b2dlinegeometry.hxx"
#include "basegfx/matrix/b2dhommatrix.hxx"
+#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include "basegfx/polygon/b2dpolypolygoncutter.hxx"
#include <vector>