change method signature for FontChain

Change-Id: I1adf796be5ae1c6c7b70022cbe8e42ce9089f74d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463258
Auto-Submit: Jorge Betancourt <jmbetancourt@google.com>
Reviewed-by: Florin Malita <fmalita@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
This commit is contained in:
Jorge Betancourt 2021-10-25 16:24:34 -04:00 committed by SkCQ
parent 5b19ebe0c5
commit 2cddedd5f9
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ public class Canvas {
* @param paint blend, color, and so on, used to draw * @param paint blend, color, and so on, used to draw
*/ */
public void drawGlyphs(char[] glyphs, float[] positions, float xOrigin, float yOrigin, public void drawGlyphs(char[] glyphs, float[] positions, float xOrigin, float yOrigin,
ToyFont font, Paint paint) { Font font, Paint paint) {
if (glyphs.length * 2 == positions.length) { if (glyphs.length * 2 == positions.length) {
nDrawGlyphs(mNativeInstance, glyphs, positions, xOrigin, yOrigin, nDrawGlyphs(mNativeInstance, glyphs, positions, xOrigin, yOrigin,
font.getNativeInstance(), paint.getNativeInstance()); font.getNativeInstance(), paint.getNativeInstance());

View File

@ -21,7 +21,7 @@ public abstract class FontChain {
} }
abstract int count(); abstract int count();
abstract long getAt(); abstract long getAt(int i);
abstract float fontSize(); abstract float fontSize();
abstract String locale(); abstract String locale();