diff options
Diffstat (limited to 'gfx/thebes/gfxTextRun.h')
-rw-r--r-- | gfx/thebes/gfxTextRun.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gfx/thebes/gfxTextRun.h b/gfx/thebes/gfxTextRun.h index beeaad04b..7217eca74 100644 --- a/gfx/thebes/gfxTextRun.h +++ b/gfx/thebes/gfxTextRun.h @@ -298,6 +298,12 @@ public: } /** + * Computes the minimum advance width for a substring assuming line + * breaking is allowed everywhere. + */ + gfxFloat GetMinAdvanceWidth(Range aRange); + + /** * Clear all stored line breaks for the given range (both before and after), * and then set the line-break state before aRange.start to aBreakBefore and * after the last cluster to aBreakAfter. |