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