Follow-up Comment #4, patch #3367 (project freeciv):

First, I'd like to stress I know very little about Qt.
Having said that, after gtk3 client, I have an idea or two that somebody how
knows Qt better could adapt.

1. curved line: with cairo, I've done it through cairo_curve_to - AFAICT, in
Qt similar effect would be QPainterPath::cubicTo

2. fog - this problem I've sidestepped by CAIRO_OPERATOR_HSL_COLOR (it was
extremely lucky that cairo 1.10 added this); unfortunately, I don't see
similar operator among CompositionMode enums, but while
does something a bit different, it suggests something similar could be done
for HSL (though the question would be: can it be done with acceptable
performance ?)


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to