Function Renderer.logicalToWindow

Wraps SDL_RenderLogicalToWindow (from SDL 2.0.18) which maps logical coordinates to window coordinates

int[2] logicalToWindow (
  float[2] fxy
) @trusted const;

Parameters

NameDescription
fxy float[2] logical coordinate of X and Y

Returns

mapped int[2] window coordinate of X and Y