commit | c573a40ed5024b463e47088d307e3164a486dba5 | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Tue Aug 02 08:05:56 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Aug 02 08:05:56 2016 -0700 |
tree | 17969315cf64ce827395c4b8ad9273cc6f96886d | |
parent | 7d0e3bc785fc5aaf2ed0aa8f37a2bc85c2f82da0 [diff] |
Add drawImageLattice() and drawBitmapLattice() APIs The specified image/bitmap is divided into rects, which can be draw stretched, shrunk, or at a fixed size. Will be used by Android to draw 9patch (which are acutally N-patch) images. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1992283002 Review-Url: https://codereview.chromium.org/1992283002