ParagraphLayout: Added CountGlyphs()
This commit is contained in:
parent
dac7b7c980
commit
cd50559dde
@ -271,6 +271,13 @@ ParagraphLayout::Draw(BView* view, const BPoint& offset)
|
||||
}
|
||||
|
||||
|
||||
int32
|
||||
ParagraphLayout::CountGlyphs() const
|
||||
{
|
||||
return fGlyphInfos.CountItems();
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark - private
|
||||
|
||||
|
||||
|
@ -189,6 +189,8 @@ public:
|
||||
float Height();
|
||||
void Draw(BView* view, const BPoint& offset);
|
||||
|
||||
int32 CountGlyphs() const;
|
||||
|
||||
private:
|
||||
void _Init();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user