diff --git a/assets/01_rectangle.svg b/assets/01_rectangle.svg new file mode 100644 index 0000000..3e9ad6e --- /dev/null +++ b/assets/01_rectangle.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/assets/02_rectangle.svg b/assets/02_rectangle.svg new file mode 100644 index 0000000..f44f176 --- /dev/null +++ b/assets/02_rectangle.svg @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/assets/03_rectangle.svg b/assets/03_rectangle.svg new file mode 100644 index 0000000..843a44d --- /dev/null +++ b/assets/03_rectangle.svg @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/assets/04_rectangle.svg b/assets/04_rectangle.svg new file mode 100644 index 0000000..fca28f0 --- /dev/null +++ b/assets/04_rectangle.svg @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/assets/H2g2.svg b/assets/H2g2.svg new file mode 100644 index 0000000..63162c0 --- /dev/null +++ b/assets/H2g2.svg @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/assets/lion.svg b/assets/lion.svg new file mode 100644 index 0000000..57a7e0d --- /dev/null +++ b/assets/lion.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/jni/Main.cpp b/jni/Main.cpp index f945c9c..89cd2fb 100644 --- a/jni/Main.cpp +++ b/jni/Main.cpp @@ -449,10 +449,39 @@ void APP_Init(void) DRAW_INFO("==> Init Ewol Drawer (END)"); etk::File svgFile("lion.svg", etk::FILE_TYPE_DATA); svg::Parser *mySVGElement = new svg::Parser(svgFile); - + //mySVGElement->DisplayDebug(); + mySVGElement->GenerateTestFile(); + etk::UString tmpString; + /* + tmpString = "H2g2.svg"; + svgFile.SetCompleateName(tmpString, etk::FILE_TYPE_DATA); + mySVGElement = new svg::Parser(svgFile); + mySVGElement->GenerateTestFile(); + */ + tmpString = "01_rectangle.svg"; + svgFile.SetCompleateName(tmpString, etk::FILE_TYPE_DATA); + mySVGElement = new svg::Parser(svgFile); mySVGElement->DisplayDebug(); mySVGElement->GenerateTestFile(); - + + tmpString = "02_rectangle.svg"; + svgFile.SetCompleateName(tmpString, etk::FILE_TYPE_DATA); + mySVGElement = new svg::Parser(svgFile); + mySVGElement->DisplayDebug(); + mySVGElement->GenerateTestFile(); + + tmpString = "03_rectangle.svg"; + svgFile.SetCompleateName(tmpString, etk::FILE_TYPE_DATA); + mySVGElement = new svg::Parser(svgFile); + mySVGElement->DisplayDebug(); + mySVGElement->GenerateTestFile(); + + tmpString = "04_rectangle.svg"; + svgFile.SetCompleateName(tmpString, etk::FILE_TYPE_DATA); + mySVGElement = new svg::Parser(svgFile); + mySVGElement->DisplayDebug(); + mySVGElement->GenerateTestFile(); + exit(-1); }