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

IpeRenderer adds curve regardless of mode #44

Open
Yvee1 opened this issue Sep 9, 2024 · 0 comments
Open

IpeRenderer adds curve regardless of mode #44

Yvee1 opened this issue Sep 9, 2024 · 0 comments

Comments

@Yvee1
Copy link
Contributor

Yvee1 commented Sep 9, 2024

I wanted to draw only the vertices of a polygon by setting the mode of IpeRenderer to vertices. However, this still resulted in the curve being exported and drawn in ipe. This can be easily fixed by e.g. checking:

if (m_style.m_mode & stroke || m_style.m_mode & fill) {
// Add curve
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant