tsted it.... and it works :)

SVN revision: 3056
This commit is contained in:
Carsten Haitzler 2000-08-07 03:13:32 +00:00
parent a3456bfe2e
commit 96ac5710df
2 changed files with 2 additions and 2 deletions

View File

@ -337,7 +337,7 @@ void __evas_imlib_rectangle_draw(Display *disp, Window win,
if (!up->image)
up->image = imlib_create_image(up->w, up->h);
imlib_context_set_image(up->image);
imlib_image_draw_rectangle(x - up->x, y - up->y, w, h);
imlib_image_fill_rectangle(x - up->x, y - up->y, w, h);
}
}
}

View File

@ -122,7 +122,7 @@ main(int argc, char **argv)
200, 40, 100, 255);
__evas_gl_rectangle_draw(d, win, win_w, win_h,
170, 160, 200, 180,
30, 40, 200, 160);
30, 40, 200, 120);
__evas_gl_line_draw(d, win, win_w, win_h,
10, 20, 100, 160,
255, 255, 255, 255);