diff options
Diffstat (limited to 'test/simple')
-rw-r--r-- | test/simple/config.mak | 1 | ||||
-rw-r--r-- | test/simple/simple.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/simple/config.mak b/test/simple/config.mak index b0d39bc..09e0029 100644 --- a/test/simple/config.mak +++ b/test/simple/config.mak @@ -61,6 +61,7 @@ else ifndef GDK_CAIRO SLIB += $(CDLIB)/libcdcontextplus.a LIBS = Xrender Xft +# USE_CAIRO=Yes endif ifdef USE_OPENGL SLIB += $(CDLIB)/libcdgl.a $(CDLIB)/libftgl.a diff --git a/test/simple/simple.c b/test/simple/simple.c index f3b17fe..3f8cf83 100644 --- a/test/simple/simple.c +++ b/test/simple/simple.c @@ -964,9 +964,9 @@ void SimpleDrawAll(cdCanvas* canvas) // cdPutImageRectRGB(16, 16, red, green, blue, 10, 10, 608, 608, 5, 10, 5, 10); // cdPutImageRectRGB(16, 16, red, green, blue, 10, 10, 64, 64, 5, 10, 5, 10); -// cdPutImageRGB(IMAGE_SIZE, IMAGE_SIZE, red, green, blue, 100, h - 200, IMAGE_SIZE, IMAGE_SIZE); -// cdPutImageRGBA(IMAGE_SIZE, IMAGE_SIZE, red, green, blue, alpha, 100, h - 200, IMAGE_SIZE, IMAGE_SIZE); -// cdPutImageRGB(IMAGE_SIZE, IMAGE_SIZE, red, green, blue, w - 400, h - 310, 3*IMAGE_SIZE, 3*IMAGE_SIZE); +// cdCanvasPutImageRectRGB(canvas, IMAGE_SIZE, IMAGE_SIZE, red, green, blue, 100, h - 200, IMAGE_SIZE, IMAGE_SIZE, 0, 0, 0, 0); +// cdCanvasPutImageRectRGBA(canvas, IMAGE_SIZE, IMAGE_SIZE, red, green, blue, alpha, 100, h - 200, IMAGE_SIZE, IMAGE_SIZE, 0, 0, 0, 0); +// cdCanvasPutImageRectRGB(canvas, IMAGE_SIZE, IMAGE_SIZE, red, green, blue, w - 400, h - 310, 3*IMAGE_SIZE, 3*IMAGE_SIZE, 0, 0, 0, 0); /* Draw the image on the top-right corner but increasing its actual size, and uses its full area */ cdCanvasPutImageRectRGBA(canvas, IMAGE_SIZE, IMAGE_SIZE, red, green, blue, alpha, w - 400, h - 310, 3*IMAGE_SIZE, 3*IMAGE_SIZE, 0, 0, 0, 0); |