Struct svgparser::transform::Tokenizer [] [src]

pub struct Tokenizer<'a> { /* fields omitted */ }

Transform tokenizer.

Trait Implementations

impl<'a> Tokenize<'a> for Tokenizer<'a>
[src]

Token type.

Constructs a new Tokenizer from string.

Constructs a new Tokenizer from [TextFrame]. [TextFrame]: struct.TextFrame.html Read more

Extracts next transform from the stream.

Errors

  • Most of the Error types can occur.

Notes

  • There are no separate rotate(<rotate-angle> <cx> <cy>) type. It will be automatically split into three Transform tokens: translate(<cx> <cy>) rotate(<rotate-angle>) translate(-<cx> -<cy>). Just like the spec is stated.