SVN revision: 4956
This commit is contained in:
Carsten Haitzler 2001-07-17 23:02:17 +00:00
parent 4e31c2170e
commit 54313012a1
1 changed files with 4 additions and 0 deletions

View File

@ -1512,9 +1512,13 @@ __evas_x11_gradient_draw(Evas_X11_Graident *gr, Display *disp, Imlib_Image dstim
imlib_context_set_direction(IMLIB_TEXT_TO_RIGHT);
imlib_context_set_color_modifier(NULL);
/* oops - math was rotated 180 derees - fixup here */
angle += 180;
while (angle < 0.0) angle += 360.0;
while (angle > 360.0) angle -= 360.0;
for (l = drawable_list; l; l = l->next)
{
Evas_X11_Drawable *dr;