franku Posted July 30, 2015 Share Posted July 30, 2015 (edited) Solved Edited August 10, 2016 by Guest Link to comment
LabiVila Posted July 30, 2015 Share 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 () Link to comment
FuriouZ Posted July 30, 2015 Share Posted July 30, 2015 You need to use images for that. DxDrawImage Link to comment
franku Posted July 30, 2015 Author Share Posted July 30, 2015 (edited) Solved Edited August 10, 2016 by Guest Link to comment
FuriouZ Posted July 30, 2015 Share Posted July 30, 2015 it possible labiVila.any know how guys? It is not possible with rectangle, you need to use DxDrawImage for that. Link to comment
Moderators IIYAMA Posted July 30, 2015 Moderators Share 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 Link to comment
John Smith Posted July 30, 2015 Share Posted July 30, 2015 by creating multiple dx rectangles, you can achieve rounded rectangle effect (see chatbubbles resource on community for example) Link to comment
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