Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How correclty use AXOVERLAY_CUSTOM_NORMALIZED #330

Open
Cacsjep opened this issue Feb 3, 2025 · 0 comments
Open

How correclty use AXOVERLAY_CUSTOM_NORMALIZED #330

Cacsjep opened this issue Feb 3, 2025 · 0 comments

Comments

@Cacsjep
Copy link

Cacsjep commented Feb 3, 2025

The documentation for axoverlay_position_type states that if AXOVERLAY_CUSTOM_NORMALIZED is used, x and y coordinates should be normalized between -1 and 1 (reference).

However, the axoverlay example contradicts this:

  • It sets AXOVERLAY_CUSTOM_NORMALIZED (here).
  • But draws using pixel coordinates, not normalized values (here).

With pos_type set to center it should be in range -1 to 1, so the pix values should be out of range/draw space.

This suggests that either the documentation is incorrect or the SDK does not properly interpret normalized values, or I am just dumb haha =).


Additional Notes

  • Typo: There is a minor typo in the documentation for axoverlay_anchor_point.

Thanks for clarification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant