INTEGRATION: CWS canvas05 (1.12.2); FILE MERGED
2008/06/03 15:54:00 thb 1.12.2.1: Upstreaming elliptical arc import for svg:d parser
This commit is contained in:
parent
3470de989b
commit
8dccc2b4de
1 changed files with 9 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: basegfx2d.cxx,v $
|
||||
* $Revision: 1.12 $
|
||||
* $Revision: 1.13 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
|
@ -484,6 +484,14 @@ public:
|
|||
|
||||
CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates",
|
||||
nCount==18);
|
||||
|
||||
const B2DPolygon aRect(
|
||||
tools::createPolygonFromRect( B2DRange(0.0,0.0,4000.0,4000.0) ));
|
||||
aExport = tools::exportToSvgD( B2DPolyPolygon(aRect), false, false);
|
||||
|
||||
const char* sExportStringRect = "M0 0H4000V4000H0Z";
|
||||
CPPUNIT_ASSERT_MESSAGE("exporting to rectangle svg-d string",
|
||||
!aExport.compareToAscii(sExportStringRect));
|
||||
}
|
||||
|
||||
// Change the following lines only, if you add, remove or rename
|
||||
|
|
Loading…
Reference in a new issue