Closed iamFIREcracker closed 10 months ago
I know I'm almost a year late with the response, sorry about that. Would it make more sense to draw a circle instead of a rect?
I know I'm almost a year late with the response, sorry about that.
And now it's more than one year since your last reply. Sorry about that!
Would it make more sense to draw a circle instead of a rect?
I guess you might be right:
You want me to open a PR for this? I assume you are suggesting something like:
(defun point (x y)
(declare (type real x y))
(let ((weight (or (pen-weight (env-pen *env*)) 1)))
(with-pen (make-pen :fill (pen-stroke (env-pen *env*)))
(circle x y weight))))
POINT seems to be always drawing a 1x1 rectangle:
What if I wanted to increase the thickness of my points instead? I know I can replace all my calls to POINT with RECT, but what if POINT used the current PEN's weight to figure out how big the rectangle should be?
I am happy to open an PR if there is interest in this.