[Interest] A question about QPen::setBrush method.
Matej Košík
qt at matej-kosik.net
Mon Feb 14 13:16:54 CET 2022
Hi,
I am aware of the "QPainter::setBrush" method.
Its meaning is clear to me.
I was surprised when I learned that there exists also "QPen::setBrush"?
The manual describes its meaning as:
Sets the brush used to fill strokes generated with this pen
to the given brush.
How could the effect of this method be demonstrated?
What do you mean by "stroke"?
How can I draw a "stroke"?
Thank you in advance for helping me understand this.
(my Qt knowledge is weak)
---
Matej
More information about the Interest
mailing list