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 http://qt.gitorious.org/qt-labs/graphics-dojo/blobs/master/imagetint/imagetint.cpp 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: <http://gna.org/patch/?3367> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freecivemail@example.com https://mail.gna.org/listinfo/freeciv-dev