Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Sample.java
Go to the documentation of this file.
1/*
2 * Copyright 2021 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8package org.skia.jetskidemo.samples;
9
10import org.skia.jetski.Canvas;
11
12public interface Sample {
13 /**
14 * Renders a Sample frame t (ms) into the destination rect [L T R B].
15 */
16 public void render(Canvas canvas, long t, float left, float top, float right, float bottom);
17}
static bool left(const SkPoint &p0, const SkPoint &p1)
static bool right(const SkPoint &p0, const SkPoint &p1)
void render(Canvas canvas, long t, float left, float top, float right, float bottom)