mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Renamed Font:hasGlyph to Font:hasGlyphs, and expanded it to accept multiple arguments and full strings. Resolves issue #762.
This commit is contained in:
@@ -100,10 +100,10 @@ public:
|
||||
virtual bool hasGlyph(uint32 glyph) const = 0;
|
||||
|
||||
/**
|
||||
* Gets whether this Rasterizer has a specific glyph.
|
||||
* @param text The (UNICODE) glyph character.
|
||||
* Gets whether this Rasterizer has all the glyphs in a string.
|
||||
* @param text The (UTF-8) string.
|
||||
**/
|
||||
virtual bool hasGlyph(const std::string &text) const;
|
||||
virtual bool hasGlyphs(const std::string &text) const;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user