For Seminar
Dependencies: GR-PEACH_video GraphicsFramework R_BSP mbed-rtos mbed
Fork of RGA_HelloWorld by
Diff: rga_func.cpp
- Revision:
- 1:a07212e32dcb
- Parent:
- 0:84e4649e7707
- Child:
- 3:841987280a7f
diff -r 84e4649e7707 -r a07212e32dcb rga_func.cpp --- a/rga_func.cpp Wed Jan 20 02:35:42 2016 +0000 +++ b/rga_func.cpp Wed Jan 20 08:09:15 2016 +0000 @@ -22,8 +22,8 @@ #include "rga_func.h" #include "Images/BinaryImage_RZ_A1H.h" -#define ZOOM_SRC_CENTER_X IMAGE_WIDTH_ZOOM_FUNC / 2 -#define ZOOM_SRC_CENTER_Y IMAGE_HEIGHT_ZOOM_FUNC / 2 +#define ZOOM_SRC_CENTER_X (IMAGE_WIDTH_ZOOM_FUNC / 2) +#define ZOOM_SRC_CENTER_Y (IMAGE_HEIGHT_ZOOM_FUNC / 2) Canvas2D_ContextClass canvas2d;