Image library for all the graph. Just test
Image.h@5:2dfd00ecc02e, 2019-05-06 (annotated)
- Committer:
- MYY
- Date:
- Mon May 06 13:17:38 2019 +0000
- Revision:
- 5:2dfd00ecc02e
- Parent:
- 4:c594b8fa4925
- Child:
- 6:100377ba0900
Add a new function called hanging to make the whole coding more efficient.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MYY | 0:da6e8a366665 | 1 | #ifndef Image_H |
MYY | 0:da6e8a366665 | 2 | #define Image_H |
MYY | 0:da6e8a366665 | 3 | #include "mbed.h" |
MYY | 0:da6e8a366665 | 4 | #include "N5110.h" |
MYY | 5:2dfd00ecc02e | 5 | #include "Rotate.h" |
MYY | 2:b6d3420ab907 | 6 | #include "Global_my.h" |
MYY | 0:da6e8a366665 | 7 | #include <math.h> |
MYY | 0:da6e8a366665 | 8 | |
MYY | 5:2dfd00ecc02e | 9 | class Rotate; |
MYY | 0:da6e8a366665 | 10 | |
MYY | 2:b6d3420ab907 | 11 | class Image { |
MYY | 0:da6e8a366665 | 12 | public: |
MYY | 0:da6e8a366665 | 13 | void draw_1(N5110 &lcd); |
MYY | 3:d31341240f10 | 14 | void draw_2(N5110 &lcd); |
MYY | 4:c594b8fa4925 | 15 | void draw_3(N5110 &lcd); |
MYY | 5:2dfd00ecc02e | 16 | void hanging(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, int new_score, Rotate &Rotate, float angle, float speed, int sizex, int sizey); |
MYY | 5:2dfd00ecc02e | 17 | void hanging_2(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, int new_score, Rotate &Rotate, float angle, float speed, int sizex, int sizey); |
MYY | 5:2dfd00ecc02e | 18 | void hanging_3(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, int new_score, Rotate &Rotate, float angle, float speed, int sizex, int sizey); |
MYY | 0:da6e8a366665 | 19 | }; |
MYY | 0:da6e8a366665 | 20 | |
MYY | 0:da6e8a366665 | 21 | |
MYY | 0:da6e8a366665 | 22 | #endif |