git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/evas-1.7@78060
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
2012-10-11 Carsten Haitzler (The Rasterman)
* Fix C code fallback line rendering path in software
+
+2012-10-16 ChunEon Park (Hermet)
+
+ * Fix the vertical line drawing on gl backened.
cx = gc->dc->clip.x; cy = gc->dc->clip.y;
cw = gc->dc->clip.w; ch = gc->dc->clip.h;
+ //Increment pixels since the gl line origin position is slightly different
+ if (x1 == x2)
+ {
+ if (gc->rot == 0)
+ x1++;
+ }
+
+ if (y1 == y2)
+ {
+ if ((gc->rot == 90) || (gc->rot == 180))
+ y1++;
+ }
+
+ x2++; y2++;
+
evas_gl_common_context_line_push(gc, x1, y1, x2, y2,
c, cx, cy, cw, ch,
r, g, b, a);