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:
parent
5b19ebe0c5
commit
2cddedd5f9
@ -139,7 +139,7 @@ public class Canvas {
|
||||
* @param paint blend, color, and so on, used to draw
|
||||
*/
|
||||
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) {
|
||||
nDrawGlyphs(mNativeInstance, glyphs, positions, xOrigin, yOrigin,
|
||||
font.getNativeInstance(), paint.getNativeInstance());
|
||||
|
@ -21,7 +21,7 @@ public abstract class FontChain {
|
||||
}
|
||||
|
||||
abstract int count();
|
||||
abstract long getAt();
|
||||
abstract long getAt(int i);
|
||||
abstract float fontSize();
|
||||
abstract String locale();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user