-
Notifications
You must be signed in to change notification settings - Fork 71
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
swiftGD.Image isn't able to draw a tilted/rotated rectangle #27
Comments
It looks libgd doesn't have such ability itself but SwiftGD is a bridge and could add such feature out of box. Otherwise another options (graph libs) adapted to Swift have to be figured out. |
The old school way to do this is simply to draw the filled rectangle, then draw the bordered (no fill) rectangle on top. Given that libgd is a very lightweight old school library, that's how I'd accomplish the task. |
@vitalz I wouldn’t expect SwiftGD to do this out of the box. It’s more of a direct port of gd and should behave like gd does. Of course, you could write your own methods to accomplish what you’re after. |
By |
swiftGD.Image isn't able to draw a titled/rotated rectangle (both 'stroke' and filled)
The text was updated successfully, but these errors were encountered: