Git Product home page Git Product logo

metrosvg's Introduction

#MetroSVG

MetroSVG is a production-quality SVG renderer implementation for iOS and OS X. It is used in Google Maps for iOS.

The library provides an Objective-C interface for iOS and a C interface for iOS and OS X.

##Usage #import "MetroSVG/MetroSVG.h"

NSData *svgData = ...;
MSVGDocument *svgDocument = [[MSVGDocument alloc] initWithData:svgData];
UIImage *svgImage = [svgDocument imageWithSize:svgDocument.size];

##Supported Features MetroSVG is intended to cover the most common use cases of SVG in native iOS app development where designers create and export image assets using graphics tools such as Illustrator and Inkscape. Therefore, it is specialized for rendering of static images by design. Below is a list of SVG 1.1 features and their implementation status.

Feature Status
Paths and Basic Shapes Feature complete.
Coordinate Systems and Transformations Feature complete.
Gradients Near feature complete.
Fill and Stroke Properties Near feature complete.
Document Structure Only <svg> and <g> are implemented.
Styling (CSS) An experimental implementation of class selector is available.
Clipping, Masking, Patterns, Markers, Length Units Not implemented.
Text, Fonts, Filter Effects Not implemented. Recommended to use other options.
Color Profile, Linking, Interactivity, Scripting, Animation Out of scope.

##Discussion Forum https://groups.google.com/forum/#!forum/metrosvg

##Disclaimer MetroSVG is not an official Google product.

metrosvg's People

Contributors

kenichi-fukushima avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

metrosvg's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.