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
Make outline width a theme option #1082
Comments
Interesting... To draw 5px INSIDE then it seems I have to copy the splineset and move each point 2.5px inside the old shape. I'll have a further experiment tomorrow. Currently trying to move x/y and then determine if that point is INSIDE the shape. The INSIDE test is done using a ray from the new point and counting even/odd collisions with the splines in the splineset. (odd for rays in each direction == inside of shape). But its not moving the points uniformly yet. |
Doesn't Cairo have a method to paint inside an area? |
See Preferences / Editing / OutlineThickness (set > 1 to have effect, eg 5). Setting outlinethickness needs a forced redraw to have effect, eg, by left clicking on the charview. |
cc @pathumego |
Currently the outline of the spline is 1px. It would be great to have this as a theme variable, but drawn in such a way that a say 5px line gets thicker INSIDE the shape, not on both sides, so that increasing the value doesn't distort the apparent shape.
This is in response to a request on a type design forum
The text was updated successfully, but these errors were encountered: