Skip to content

Specify that all draw_ calls in CanvasItem are done in local coordinates #11255

@rafallus

Description

@rafallus

Your Godot version:
4.5beta

Issue description:
Docs never mention that all positions used in draw_ calls are in local coordinates. It does not specify either if things like line width are modified by scale. Even if it's not difficult to verify how it works, would be nice to have it in the docs for completeness.

URL to the documentation page (if already existing):
https://docs.godotengine.org/en/stable/classes/class_canvasitem.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:class referenceIssues and PRs about the class reference, which should be addressed on the Godot engine repositoryenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions