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

Extend marker drawing functionality & docstr #26

Open
snototter opened this issue Dec 27, 2023 · 0 comments
Open

Extend marker drawing functionality & docstr #26

snototter opened this issue Dec 27, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@snototter
Copy link
Owner

snototter commented Dec 27, 2023

  • Draw single characters, similar to draw_marker with a valid bg_color and border.
    • The goal would be to have a single letter/short text over a white circle.
    • This would allow more flexible position labeling for the user, e.g. draw_char('A', position=(x,y), text_style=..., bg_color=..., bg_border=...)
    • Examples: 'A', '23', 'LE' (for "left eye")
    • Idea: Compute circle diameter from font metrics
  • Additionally, fix code example for MarkerStyle: it is missing the bg_... keywords
@snototter snototter self-assigned this Dec 27, 2023
@snototter snototter added the enhancement New feature or request label Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant