commit | 081cebf52b19e848c07fb781b35fa1f96695c311 | [log] [tgz] |
---|---|---|
author | Diego Perez <diegoperez@google.com> | Wed Oct 07 12:33:44 2015 +0100 |
committer | Diego Perez <diegoperez@google.com> | Wed Oct 07 17:04:26 2015 +0100 |
tree | 2c2166e7c3a485d3dd0b2295ca36b0116fddfd06 | |
parent | c6865806a4f76c44bc3cc55cff87cc85f0a48061 [diff] |
Implement Path.approximate and add PathMeasure support PathMeasure is needed to use the trimPath* properties in drawables. These properties are used in the vector drawable for indeterminate progress bars in Material so this is needed to be able to render them correctly in the preview. PathMeasure makes use of Path.approximate to calculate which segments to paint. Change-Id: Ic513f0a30a6aac0317f7c13cd75e9154c37405c8