Codechange: Store text run positions in vector of points.
This simplifies the interlaced vector of x/y positions.
This commit is contained in:

committed by
Peter Nelson

parent
f7cc88f370
commit
ae575a7a5b
@@ -97,7 +97,7 @@ public:
|
||||
virtual const Font *GetFont() const = 0;
|
||||
virtual int GetGlyphCount() const = 0;
|
||||
virtual const std::vector<GlyphID> &GetGlyphs() const = 0;
|
||||
virtual const std::vector<float> &GetPositions() const = 0;
|
||||
virtual const std::vector<Point> &GetPositions() const = 0;
|
||||
virtual int GetLeading() const = 0;
|
||||
virtual const std::vector<int> &GetGlyphToCharMap() const = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user