# vector_graphics_compiler 1.1.1

A compiler for `package:vector_graphics`.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'vector_graphics_compiler:1.1.1'
```
Published: 2023-03-04T02:38:02.233096Z
Expected archive SHA-256: 9e8066d2f18e88f2fb1cf6c8ca567417bdfb0145ac28519dcca3c15d42a10b3e

Available in cache; verification: upstream_checksum
## Direct dependencies
- args: ^2.3.0
- meta: ^1.7.0
- path_parsing: ^1.0.1
- vector_graphics_codec: 1.1.1
- xml: ^6.0.1

## Package README (untrusted upstream documentation)
# vector_graphics_compiler

A compiler for `package:vector_graphics`.

This package parses SVG files into a format that the vector_graphics runtime
can render.

## Features

Supported SVG features:

- Groups, paths, and basic shapes are all supported.
- References, including out of order references.
- Linear and radial gradients, including radial gradients with focal points.
- Text
- Symbols
- Images
- Patterns

Unsupported SVG features:

- Filters
- Some text processing attributes

Optimizations:

- Opacity peepholing
- Transformation inlining (except for text and radial gradients)
- Group collapsing
- Mask and clip elimination

## Changelog
# CHANGELOG

## 1.1.1

- Multiple text positioning bug fixes.
- Preserve stroke-opacity when specified.

## 1.1.0

- Fix a number of inheritence related bugs:
  - Inheritence of properties specified on the root element now work.
  - Opacity inheritence is more correct now.
  - Inheritence of `use` elements is more correctly handled.
- Make `currentColor` non-null on SVG theme, and fix how it is applied.
- Remove the opacity peephole optimizer, which was incorrectly applying
  optimizations in a few cases. A future release may add this back.
- Add clipBehavior to the widget.
- Fix patterns when multiple patterns are specified and applied within the
  graphic.

## 1.0.1

- Fix handling of unspecified fill colors on use/group elements.

## 1.0.0+1

- Fix issue in pattern decoding.
- Fix issue in matrix parsing for some combinations of matrices.

## 1.0.0

* Initial stable release.
* Parsing is now synchronous, and is easier to work with in tests.
* Correctly handle images with `id`s and defined in `defs` blocks.
* Compile time color remapping support.

## 0.0.3

* Better concurrency support
* Pattern support.
* Bug fixes around image handling.
* Bug fix for when optimizers are used on non-default fill types.
* Support for SVG theme related properties (currentColor, font-size, x-height).

## 0.0.2

* Add optimizations for masks, clipping, and overdraw.

## 0.0.1

* Create repository







 
