Mirroring a drawable buf in DLangUI?
Dukc
ajieskola at gmail.com
Mon Dec 4 16:24:21 UTC 2017
On Tuesday, 21 November 2017 at 13:45:31 UTC, Dukc wrote:
> My question is, does anybody know a way to draw that image
> backwards without making another PNG file to do so?
After a lot of code research, I believe the best way for me is to
use DlangUI helpers in same way as in the new api of the opengl
example[1], instead of using canvas and abstract drawable
buffers. If I use orthogonal drawing instead of perspective, it
should work for 2d icons as well as 3d. I still have to figure
out how to use multiple textures in the same program through.
1: https://github.com/buggins/dlangui/tree/master/examples/opengl
More information about the Digitalmars-d-learn
mailing list