Image library for all the graph. Just test
Image.h
- Committer:
- MYY
- Date:
- 2019-05-09
- Revision:
- 6:100377ba0900
- Parent:
- 5:2dfd00ecc02e
File content as of revision 6:100377ba0900:
#ifndef Image_H #define Image_H #include "mbed.h" #include "N5110.h" #include "Rotate.h" #include "Global_my.h" #include <math.h> class Rotate; class Image { public: void draw_object(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, Rotate &Rotate, float angle, float speed, int sizex, int sizey); void draw_object_2(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, Rotate &Rotate, float angle, float speed, int sizex, int sizey); void draw_object_3(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, Rotate &Rotate, float angle, float speed, int sizex, int sizey); private: void print_UI(N5110 &lcd); void draw_map_1(N5110 &lcd); void draw_map_2(N5110 &lcd); void draw_map_3(N5110 &lcd); }; #endif