LabiVila Posted July 30, 2015 Posted July 30, 2015 I'm not sure if that is even possible, but a way I did it once was I just painted a white thing like that, and made it without background, so you can use dxDrawImage and set tocolor ()
franku Posted July 30, 2015 Author Posted July 30, 2015 (edited) Solved Edited August 10, 2016 by Guest
FuriouZ Posted July 30, 2015 Posted July 30, 2015 it possible labiVila.any know how guys? It is not possible with rectangle, you need to use DxDrawImage for that.
Moderators IIYAMA Posted July 30, 2015 Moderators Posted July 30, 2015 I ones wrote messy and unoptimised code for it. To try it out. You can use/edit it if you want, I don't really care what you do with it. If I need it, I will probably rewrite it from scratch. The problem with the code is that it is really slow ones starting creating it(texture) and it renders slow because it is an image according to the absolute resolution. https://dl.dropboxusercontent.com/u/631 ... reator.zip
John Smith Posted July 30, 2015 Posted July 30, 2015 by creating multiple dx rectangles, you can achieve rounded rectangle effect (see chatbubbles resource on community for example)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now