History log of /external/skia/src/svg/SkSVGDevice.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5f68c348403b03b1c53732df0980e55c19ce5685 15-May-2015 reed <reed@google.com> Update SVGDevice for RRect and drawPoints

BUG=skia:

Review URL: https://codereview.chromium.org/1127933003
/external/skia/src/svg/SkSVGDevice.cpp
02f46cf878535fb79317d15ebed66dfa3f2cd772 20-Mar-2015 mtklein <mtklein@chromium.org> Some usability ideas around SkTHash.

- By default, use new SkGoodHash to hash keys, which is:
* for 4 byte values, use SkChecksum::Mix,
* for SkStrings, use SkChecksum::Murmur3 on the data,
* for other structs, shallow hash the struct with Murmur3.
- Expand SkChecksum::Murmur3 to support non-4-byte-aligned data.
- Add const foreach() methods.
- Have foreach() take a functor, which allows lambdas.

BUG=skia:

Review URL: https://codereview.chromium.org/1021033002
/external/skia/src/svg/SkSVGDevice.cpp
827da23c71310408b2854516af5e2a8910bf700e 27-Feb-2015 fmalita <fmalita@chromium.org> [SkSVGDevice] drawBitmap* support

Also fix a clip transform issue: clips are tracked in device space,
but if applied directly to leaf elements they are also subject to local
transforms ("transform='...'"). Instead, apply via <g> wrapper elements.

R=reed@google.com,mtklein@google.com

Review URL: https://codereview.chromium.org/959883003
/external/skia/src/svg/SkSVGDevice.cpp
7a048690d3cb6b3c1bdef594c3bd4b66f6b400c1 20-Feb-2015 fmalita <fmalita@chromium.org> [SVGDevice] Text whitespace unittest

Plumb SkDOM as needed to make it suitable for an SkXMLWriter backend.

Also fix a potential null typeface issue in
SkSVGDevice::AutoElement::addTextAttributes().

R=reed@google.com,mtklein@google.com

Review URL: https://codereview.chromium.org/940283002
/external/skia/src/svg/SkSVGDevice.cpp
8974774c32b5f0365d375a81d5d047c5c2406614 20-Feb-2015 fmalita <fmalita@chromium.org> [SkSVGDevice] Fix whitespace text handling

SVG ignores leading/trailing whitespace and consolidates mid-text
(http://www.w3.org/TR/SVG/text.html#WhiteSpace). This can cause our
x/y position indices to get out of whack.

Implement a text builder which is SVG whitespace-munging-aware and
performs the needed x/y position list adjustments.

R=reed@google.com,mtklein@google.com

Review URL: https://codereview.chromium.org/928583003
/external/skia/src/svg/SkSVGDevice.cpp
f89f60f6972569a41fa737c786d238559027fede 13-Feb-2015 fmalita <fmalita@chromium.org> [SkSVGDevice] Full font family support

Use a family name iterator and list all names instead of just one
returned by SkTypeface::getFamilyName().

R=reed@google.com,mtklein@google.com

Review URL: https://codereview.chromium.org/923583002
/external/skia/src/svg/SkSVGDevice.cpp
2aafe6f427f6d98aa4d173efc6195fe245add91d 06-Feb-2015 fmalita <fmalita@chromium.org> Add SkSVGCanvas

Add a public SVG canvas factory + move the SVG files from
experimental -> src/svg/.

Update current clients to the new API.

R=reed@google.com, mtklein@google.com, halcanary@google.com

Review URL: https://codereview.chromium.org/902583006
/external/skia/src/svg/SkSVGDevice.cpp