API Reference for Enthought Tool Suite 3.0.1

Break SVG path data into tokens.

The SVG spec requires that tokens are greedy. This lexer relies on Python's regexes defaulting to greediness.

This style of implementation was inspired by this article:

http://www.gooli.org/blog/a-simple-lexer-in-python/

Method summary

Methods

© Copyright 2002-2008 Enthought, Inc.