src/ios/bitmap.h in rays-0.1.16 vs src/ios/bitmap.h in rays-0.1.17

- old
+ new

@@ -1,19 +1,21 @@ // -*- mode: c++ -*- #pragma once -#ifndef __RAYS_SRC_OSX_BITMAP_H__ -#define __RAYS_SRC_OSX_BITMAP_H__ +#ifndef __RAYS_SRC_IOS_BITMAP_H__ +#define __RAYS_SRC_IOS_BITMAP_H__ #import <CoreGraphics/CGImage.h> #include "../bitmap.h" namespace Rays { - void Bitmap_copy_pixels (Bitmap* bitmap, CGImageRef image); + void Bitmap_draw_image ( + Bitmap* bitmap, CGImageRef image, + coord x = 0, coord y = 0, coord width = -1, coord height = -1); }// Rays