Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flags for vertical alignment of text in rectangles. #17

Open
davyjones opened this issue Jun 22, 2012 · 0 comments
Open

Add flags for vertical alignment of text in rectangles. #17

davyjones opened this issue Jun 22, 2012 · 0 comments

Comments

@davyjones
Copy link

Currently, HPDF_TextAlignment has LEFT, RIGHT, CENTER and JUSTIFY options. Would be nice to have TOP, BOTTOM and MIDDLE as well.

Commit 256dfd3 has the necessary changes.

Changed HPDF_Page_TextRect to support multiple flags. For example, to place text in the center-middle of a rectangle, HPDF_TALIGN_CENTER | HPDF_TALIGN_MIDDLE can be passed to HPDF_Page_TextRect.

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

No branches or pull requests

2 participants