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

Dawing custom shapes #99

Open
sabotage3d opened this issue Sep 22, 2016 · 2 comments
Open

Dawing custom shapes #99

sabotage3d opened this issue Sep 22, 2016 · 2 comments

Comments

@sabotage3d
Copy link

sabotage3d commented Sep 22, 2016

Hi I am new to turbo badger. I am really impressed with the quality of the library so far. It might be a silly question but I can see only TBRect and PaintRect to draw rectangles is there a way of dawing a custom shape for example a circle?

@sabotage3d sabotage3d changed the title Circle shape Dawing custom shapes Sep 22, 2016
@codecat
Copy link
Contributor

codecat commented Sep 23, 2016

Take a look at the shape-rasterizer-3 branch and the fonty skin, it might be of interest to you.

@mgerhardy
Copy link
Contributor

You can always render-to-texture for stuff like this. I'm doing this e.g. in OnProcess and just render the resulting image in OnPaint for my custom widgets

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

No branches or pull requests

3 participants