-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Pen Thickness is not taking into account when calculating bounding boxes/clip rectangles. #5249
Comments
Probably a bug somewhere here
|
Okay I've investigated this a bit more. Seems like the first calls to
supply a pen with Thickness 0. Later, when the method is called from here:
the pen is correct. I think the Pen property is not fully initialized when layouting or UpdateScene is called for the first time or something?
|
Ah no, |
GetRenderBounds should not require a |
I also mentioned this bug here: #4913 |
I notice that bug is also related to : #8080 |
Hello, this bug is annoying as all the icons are cropped in the interface, is there any plan to fix this ? Thanks |
In GeometryDrawing.cs, the GetBounds should be changed from this
to this (to take the Pen of GeometryDrawing if exist
|
When drawing e.g. an ellipse into an image with just the outline, it will always get cut off at the edges because the bounding box appears to only consider the "fill" area, not the whole outline.
A simple repro:
This currently looks like this:
If this is intentional behavior, what is the proper way to make this look like a normal circle?
The text was updated successfully, but these errors were encountered: