praeclarum / NGraphics

NGraphics is a cross platform library for rendering vector graphics on .NET. It provides a unified API for both immediate and retained mode graphics using high quality native renderers.
MIT License
710 stars 133 forks source link

Some of my svg buttons to test the library #2

Open Emasoft opened 9 years ago

Emasoft commented 9 years ago

I use to create all my assets in SVG because it's the only scalable and crossplatform graphic format. Using them in Xamarin.Forms would finally allows a true crossplatform development.

This is how my buttons should look for reference: ios_app_buttons

You can download the original svg file from my google drive (click on the download button): http://goo.gl/m7TbmM

For an easier debug, here it is a splitted version of the two main buttons svg files, you can download the zip from here: https://drive.google.com/file/d/0BxexooDWEb8ublZlcm5yRWpXTzQ/view?usp=sharing

Here are the screenshots of how each svg file should look:

schermata 2015-02-20 alle 20 28 22 schermata 2015-02-20 alle 20 27 56 schermata 2015-02-20 alle 20 24 58 schermata 2015-02-20 alle 20 24 49 schermata 2015-02-20 alle 20 24 17 schermata 2015-02-20 alle 20 23 59

praeclarum commented 9 years ago

Fantastic! Thank you for these. I will integrate them into the tests.

madev4cloud commented 9 years ago

How can I load and display svg file? Please give some example.

Emasoft commented 9 years ago

The library still cannot display my buttons correctly. SVG file format support is still incomplete. Please fix this. This library is used internally to display SVG in all Xamarin.Forms cross platform applications (see: https://github.com/paulpatarinski/Xamarin.Forms.Plugins ), and we are all waiting its completion to carry forward the development of our apps, currently on hold because of the issues with SVG images.