skia2/modules/skottie
Florin Malita eb46bd892d [sksg] Hit-testing API
Introduce RenderNode::nodeAt(const SkPoint&) as the entry point for the hit-testing API.

This is backed by a onNodeAt() virtual, which gets dispatched throughout the render DAG,
and normally stops at the first leaf Draw node in encounters.

To support the implementation, introduce a GeometryNode::contains(const SkPoint&) API.

This is backed by a onContains() virtual, overridden in each concrete geometry class.

Expose nodeAt() on sksg::Scene, and add some basic unit tests.

Change-Id: I0c8abd9d1e51ecf2d8b4dd699f325cd636e21084
Reviewed-on: https://skia-review.googlesource.com/c/191296
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
2019-02-12 15:01:05 +00:00
..
fuzz Avoid system fonts when fuzzing 2018-12-14 17:11:56 +00:00
gm Add a mechanism for GMs to silently exclude themselves from Gold 2019-02-08 00:05:15 +00:00
include [skottie] Initial 3D layer transform support 2019-01-02 19:28:33 +00:00
src [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
utils [skottie] Expose composition markers to embedders 2018-12-01 04:44:03 +00:00
BUILD.gn [skottie] Use SkShaper for text 2019-02-07 15:32:20 +00:00
skottie.gni Reland: [skottie] Initial property setters 2018-09-24 21:46:07 +00:00