I am a little confused with the GUICanvas drawLine command. I have the following:
canvas->drawLine(Vector2I(0, 0), Vector2I(canvas->getBounds().width/2, canvas->getBounds().height/2), Color::Red);
According to the docs the start and end points are relative to the canvas top-left point. I get a red line from the lower left of the window to the center. I would expect it go from the upper left corner to the center. What am I missing?
note: I am using the Vulkan renderer.