Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement CachedBitmap functionality #654

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Fix tests
reflectronic committed Jul 1, 2020
commit bc6ab5cceb331f65587bf8276154174fac13f6f8
8 changes: 5 additions & 3 deletions tests/testcachedbitmap.c
Original file line number Diff line number Diff line change
@@ -120,9 +120,11 @@ static void test_create ()

static void test_delete ()
{
GpCachedBitmap *cachedBitmap;
GpBitmap *image;
GpGraphics *graphics = getImageGraphics ();
GpImage *image;
GpGraphics *graphics;
GpCachedBitmap* cachedBitmap;

graphics = getImageGraphics (&image);

C (GdipCreateCachedBitmap(image, graphics, &cachedBitmap));
C (GdipDeleteCachedBitmap(cachedBitmap));