Remove unused methods from SkStrike
Change-Id: Icfca4b099e594c61cbaf0b5f160c6293b39c4083 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/253382 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Herb Derby <herb@google.com>
This commit is contained in:
parent
3f7c865936
commit
05f6a01bf9
@ -89,10 +89,6 @@ const SkDescriptor& SkStrike::getDescriptor() const {
|
||||
return *fDesc.getDesc();
|
||||
}
|
||||
|
||||
unsigned SkStrike::getGlyphCount() const {
|
||||
return fScalerContext->getGlyphCount();
|
||||
}
|
||||
|
||||
int SkStrike::countCachedGlyphs() const {
|
||||
return fGlyphMap.count();
|
||||
}
|
||||
|
@ -63,10 +63,6 @@ public:
|
||||
// If the path has never been set, then add a path to glyph.
|
||||
const SkPath* preparePath(SkGlyph* glyph, const SkPath* path);
|
||||
|
||||
/** Returns the number of glyphs for this strike.
|
||||
*/
|
||||
unsigned getGlyphCount() const;
|
||||
|
||||
/** Return the number of glyphs currently cached. */
|
||||
int countCachedGlyphs() const;
|
||||
|
||||
@ -91,10 +87,6 @@ public:
|
||||
return fFontMetrics;
|
||||
}
|
||||
|
||||
SkMask::Format getMaskFormat() const {
|
||||
return fScalerContext->getMaskFormat();
|
||||
}
|
||||
|
||||
const SkGlyphPositionRoundingSpec& roundingSpec() const override {
|
||||
return fRoundingSpec;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user