skia2/experimental/skrive/skrive.gni
Florin Malita 45cd20004c [skrive] Initial artboard plumbing
"Artboards" are top-level Rive containers (similar to AE compositions),
holding the scene graphics and related animations.

Artboard properties:

  - name
  - width/height (size)
  - translation (position)
  - origin (anchor point for transforms?)
  - (background) color
  - clip contents flag

Plumb artboard parsing + background rendering, and hook into viewer.

TBR=
Change-Id: Ib188245ce41a76197cf9e0937689adf8243826d6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/295244
Reviewed-by: Florin Malita <fmalita@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
2020-06-09 19:58:38 +00:00

20 lines
546 B
Plaintext

# Copyright 2020 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Things are easiest for everyone if these source paths are absolute.
_src = get_path_info("src", "abspath")
_include = get_path_info("include", "abspath")
skia_skrive_public = [ "$_include/SkRive.h" ]
skia_skrive_sources = [
"$_src/Artboard.cpp",
"$_src/SkRive.cpp",
"$_src/reader/BinaryReader.cpp",
"$_src/reader/JsonReader.cpp",
"$_src/reader/StreamReader.cpp",
"$_src/reader/StreamReader.h",
]