Skip to content

Commit

Permalink
[examples]remove cg_clip for test_image
Browse files Browse the repository at this point in the history
  • Loading branch information
jianjunjiang committed Dec 14, 2021
1 parent ffcc63b commit 253cfb7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,6 @@ static void test_image(const char * filename)
cg_rotate(ctx, 45 * M_PI / 180);
cg_scale(ctx, 256.0 / img->width, 256.0 / img->height);
cg_translate(ctx, -0.5 * img->width, -0.5 * img->height);
cg_rectangle(ctx, 0, 0, img->width, img->height);
cg_clip(ctx);
cg_set_source_surface(ctx, img, 0, 0);
cg_paint(ctx);
cg_surface_destroy(img);
Expand Down
Binary file modified screenshots/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 253cfb7

Please sign in to comment.