Nasal: expose canvas::Text::maxWidth.
This commit is contained in:
parent
c13612b1fa
commit
da2bb6353e
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue