Search code examples
2ddirect2d

direct2d left bottom coordinate


By default direct2d uses left top coordinate system. I want to write simple chart and it will be much easier for me to use left bottom coordinate system (translation, scale, rotation etc). Are there any methods or transformations to achieve this result?

I don't want to use something like canvas.height - coordinate to simulate left-bottom coordinate space because this causes a lot of troubles. Maybe there is some option I've missed or some other option to set-and-forget. Thanks.


Solution

  • Yes, it seems there is no other option except of scaling matrix.