1
0
Fork 0

Nasal: expose canvas::Text::maxWidth.

This commit is contained in:
Thomas Geymayer 2014-06-17 17:02:10 +02:00
parent c13612b1fa
commit da2bb6353e

View file

@ -464,6 +464,7 @@ naRef initNasalCanvas(naRef globals, naContext c)
NasalText::init("canvas.Text")
.bases<NasalElement>()
.method("heightForWidth", &sc::Text::heightForWidth)
.method("maxWidth", &sc::Text::maxWidth)
.method("getNearestCursor", &sc::Text::getNearestCursor);
//----------------------------------------------------------------------------