RaylibView.toRaylib

Convert position of a point or rectangle in Fluid space to Raylib space.

  1. Vector2 toRaylib(Vector2 position)
  2. Rectangle toRaylib(Rectangle rectangle)
    class RaylibView(RaylibViewVersion raylibVersion)
    const nothrow
    toRaylib

Parameters

rectangle Rectangle

Rectangle in Fluid space.

Return Value

Type: Rectangle

Raylib position or rectangle, where each coordinate is specified in screen dots.

Meta