>>>>> "Stefan" == Stefan Schimanski <[EMAIL PROTECTED]> writes:
Stefan> Now lines and polylines which are vertical or horizontal are
Stefan> drawn without antialiasing. I think it really looks nice now,
Stefan> especially the \underbraces don't hurt the eyes anymore.
This looks pretty good, although the style hurts my eyes :)
setQPainterPen(col, ls, lw);
+ setRenderHint( Antialiasing, x1!=y1 && x2!=y2 );
Use same indentation as surrounding text; do not put space around
parenthesis (in the rest of the patch too)
+ if( i!=0 ) antialias = antialias || (xp[i-1]!=xp[i] && yp[i-1]!=yp[i]);
I would write it as:
+ if(i)
+ antialias |= xp[i-1] != xp[i] && yp[i-1] != yp[i];
(note also the spacing around operators)
JMarc