PDA

View Full Version : Solid Color pen



navi1084
26th February 2009, 11:46
Hi,
I am drawing some shapes on some gray image. while drawing i am using pen with Qt::yellow color and solid style. Still the shapes found to be appear in little transparent (lighter).
Can any one tell me how can i make these look very bright yellow.

navi1084
26th February 2009, 12:02
Its Done. its because of setRenderHint(QPainter::Antialiasing);

Lykurg
26th February 2009, 12:03
Hi,

- is your pen Qt::SolidLine?
- Is your color really painted transparent or does it only look like?
- And if it is not the color you like use your own color instead of Qt::yellow (e.g. QColor(200,200,10)...)
- And a shadow under your stroke, then the colors look brighter


Lykurg