Lines Matching refs:aPoly

148     B2DPolyPolygon aPoly;  in TEST_F()  local
151 …ASSERT_TRUE(tools::importFromSvgD( aPoly, aPath0, false, 0 )) << "importing simple rectangle from … in TEST_F()
152 aExport = tools::exportToSvgD( aPoly, true, true, false ); in TEST_F()
155 …ASSERT_TRUE(tools::importFromSvgD( aPoly, aExport, false, 0 )) << "importing simple rectangle from… in TEST_F()
156 aExport = tools::exportToSvgD( aPoly, true, true, false ); in TEST_F()
159 …ASSERT_TRUE(tools::importFromSvgD( aPoly, aPath1, false, 0 )) << "importing simple bezier polygon … in TEST_F()
160 aExport = tools::exportToSvgD( aPoly, true, true, false ); in TEST_F()
188 ASSERT_TRUE(aReImport == aPoly) << "re-imported polygon needs to be identical"; in TEST_F()
190 ASSERT_TRUE(tools::importFromSvgD( aPoly, aPath2, false, 0)) << "importing '@' from SVG-D"; in TEST_F()
191 aExport = tools::exportToSvgD( aPoly, true, true, false ); in TEST_F()
208 ASSERT_TRUE(aReImport == aPoly) << "re-imported '@' needs to be identical"; in TEST_F()
211 …ASSERT_TRUE(tools::importFromSvgD( aPoly, aExport, false, 0 )) << "importing '@' from SVG-D (round… in TEST_F()
212 aExport = tools::exportToSvgD( aPoly, true, true, false ); in TEST_F()
216 …ASSERT_TRUE(tools::importFromSvgD( aPoly, aPath3, false, 0 )) << "importing complex polygon from S… in TEST_F()
217 aExport = tools::exportToSvgD( aPoly, true, true, false ); in TEST_F()
240 …ASSERT_TRUE(tools::importFromSvgD( aPoly, aExport, false, 0 )) << "importing complex polygon from … in TEST_F()
241 aExport = tools::exportToSvgD( aPoly, true, true, false ); in TEST_F()
869 B2DPolygon aPoly; in TEST_F() local
871 aPoly.appendBezierSegment(B2DPoint(1,1),B2DPoint(2,2),B2DPoint(3,3)); in TEST_F()
873 ASSERT_TRUE(aPoly.getB2DPoint(0) == B2DPoint(3,3)) << "#1 first polygon point wrong"; in TEST_F()
874 ASSERT_TRUE(aPoly.getPrevControlPoint(0) == B2DPoint(2,2)) << "#1 first control point wrong"; in TEST_F()
875 ASSERT_TRUE(aPoly.getNextControlPoint(0) == B2DPoint(3,3)) << "#1 second control point wrong"; in TEST_F()
876 ASSERT_TRUE(aPoly.isNextControlPointUsed(0) == false) << "next control point not used"; in TEST_F()
878 aPoly.setNextControlPoint(0,B2DPoint(4,4)); in TEST_F()
879 ASSERT_TRUE(aPoly.getNextControlPoint(0) == B2DPoint(4,4)) << "#1.1 second control point wrong"; in TEST_F()
880 ASSERT_TRUE(aPoly.isNextControlPointUsed(0) == true) << "next control point used"; in TEST_F()
881 ASSERT_TRUE(aPoly.areControlPointsUsed() == true) << "areControlPointsUsed() wrong"; in TEST_F()
882 ASSERT_TRUE(aPoly.getContinuityInPoint(0) == CONTINUITY_C2) << "getContinuityInPoint() wrong"; in TEST_F()
884 aPoly.resetControlPoints(); in TEST_F()
885 ASSERT_TRUE(aPoly.getB2DPoint(0) == B2DPoint(3,3)) << "resetControlPoints() did not clear"; in TEST_F()
886 …ASSERT_TRUE(aPoly.getPrevControlPoint(0) == B2DPoint(3,3)) << "resetControlPoints() did not clear"; in TEST_F()
887 …ASSERT_TRUE(aPoly.getNextControlPoint(0) == B2DPoint(3,3)) << "resetControlPoints() did not clear"; in TEST_F()
888 ASSERT_TRUE(aPoly.areControlPointsUsed() == false) << "areControlPointsUsed() wrong #2"; in TEST_F()
890 aPoly.clear(); in TEST_F()
891 aPoly.append(B2DPoint(0,0)); in TEST_F()
892 aPoly.appendBezierSegment(B2DPoint(1,1),B2DPoint(2,2),B2DPoint(3,3)); in TEST_F()
894 ASSERT_TRUE(aPoly.getB2DPoint(0) == B2DPoint(0,0)) << "#2 first polygon point wrong"; in TEST_F()
895 ASSERT_TRUE(aPoly.getPrevControlPoint(0) == B2DPoint(0,0)) << "#2 first control point wrong"; in TEST_F()
896 ASSERT_TRUE(aPoly.getNextControlPoint(0) == B2DPoint(1,1)) << "#2 second control point wrong"; in TEST_F()
897 ASSERT_TRUE(aPoly.getPrevControlPoint(1) == B2DPoint(2,2)) << "#2 third control point wrong"; in TEST_F()
898 ASSERT_TRUE(aPoly.getNextControlPoint(1) == B2DPoint(3,3)) << "#2 fourth control point wrong"; in TEST_F()
899 ASSERT_TRUE(aPoly.getB2DPoint(1) == B2DPoint(3,3)) << "#2 second polygon point wrong"; in TEST_F()