blob: 469221b7f1c567f702709ecb21c7a50fdd88e961 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.ui.sketchy;
using fuchsia.ui.gfx;
struct Touch {
fuchsia.ui.gfx.vec2 position;
uint32 nanoseconds;
float32 pressure;
};
struct CubicBezier2 {
fuchsia.ui.gfx.vec2 pt0;
fuchsia.ui.gfx.vec2 pt1;
fuchsia.ui.gfx.vec2 pt2;
fuchsia.ui.gfx.vec2 pt3;
};
struct StrokePath {
vector<CubicBezier2> segments;
};