[Qt-interest] QPainter::drawText - text outline vs text fill?
Schimkowitsch Robert
Robert.Schimkowitsch at andritz.com
Tue May 3 09:30:36 CEST 2011
> QPainter::drawText always fills using the pen and it doesn't use the
> brush. Note that a pen can be set a brush using the QPen(QBrush)
> constructor.
>
> When drawing text with outlines and fills, the text is converted into
> a path which is stroked and filled. See
> http://doc.qt.nokia.com/4.7-snapshot/qpainterpath.html#addText for how
> the QGraphicsSimpleTextItem would do it.
>
> Girish
Thanks for clarifying that!
Cheers
Robert
#####################################################################################
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
Thank You.
ANDRITZ HYDRO GmbH
Rechtsform/ Legal form: Gesellschaft mit beschrankter Haftung / Corporation
Firmensitz/ Registered seat: Wien
Firmenbuchgericht/ Court of registry: Handelsgericht Wien
Firmenbuchnummer/ Company registration: FN 61833 g
DVR: 0605077
UID-Nr.: ATU14756806
#####################################################################################
More information about the Qt-interest-old
mailing list