Skip to content

Conversation

ben-wes
Copy link
Contributor

@ben-wes ben-wes commented Oct 22, 2024

closes #64

only handles the additional argument for vanilla.
opening this PR for further discussion since i'm not sure if that's "the way".

@ben-wes
Copy link
Contributor Author

ben-wes commented Oct 22, 2024

added a minor change to achieve the handling for the optional argument with luaL_optinteger.

... while looking at this, i thought that we could similarly use this or luaL_optnumber in other cases for strokewidth and fontsize to make them optional?

EDIT: those additional optional arguments would then possibly look like this: c429057

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow setting text alignment mode

1 participant