remove uncalled onDrawText virtuals from base class
... waiting on android cl to remove overrides Bug: skia: Change-Id: I3375ad251fa6844cdd0511eafc6133a758a3cef6 Reviewed-on: https://skia-review.googlesource.com/c/175582 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
parent
722dd619cb
commit
4a6a4acab2
@ -2441,16 +2441,6 @@ protected:
|
||||
virtual void onDrawPath(const SkPath& path, const SkPaint& paint);
|
||||
virtual void onDrawRegion(const SkRegion& region, const SkPaint& paint);
|
||||
|
||||
// DEPRECATED -- this is never called
|
||||
virtual void onDrawText(const void* text, size_t byteLength, SkScalar x,
|
||||
SkScalar y, const SkPaint& paint);
|
||||
// DEPRECATED -- this is never called
|
||||
virtual void onDrawPosText(const void* text, size_t byteLength,
|
||||
const SkPoint pos[], const SkPaint& paint);
|
||||
// DEPRECATED -- this is never called
|
||||
virtual void onDrawPosTextH(const void* text, size_t byteLength,
|
||||
const SkScalar xpos[], SkScalar constY,
|
||||
const SkPaint& paint);
|
||||
virtual void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
|
||||
const SkRect* cullRect, const SkPaint& paint);
|
||||
virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
|
||||
|
@ -2436,13 +2436,6 @@ void SkCanvas::onDrawBitmapLattice(const SkBitmap& bitmap, const Lattice& lattic
|
||||
LOOPER_END
|
||||
}
|
||||
|
||||
void SkCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
|
||||
const SkPaint& paint) {}
|
||||
void SkCanvas::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
|
||||
const SkPaint& paint) {}
|
||||
void SkCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
|
||||
SkScalar constY, const SkPaint& paint) {}
|
||||
|
||||
void SkCanvas::onDrawTextRSXform(const void* text, size_t len, const SkRSXform xform[],
|
||||
const SkRect* cullRect, const SkPaint& paint) {
|
||||
if (cullRect && this->quickReject(*cullRect)) {
|
||||
|
Loading…
Reference in New Issue
Block a user