Skip to content

Commit a6eecc7

Browse files
Fix license to MPL-2.0 (#53)
* update license to MPL-2.0 * Update README.md
1 parent 177e5d5 commit a6eecc7

11 files changed

+397
-143
lines changed

LICENSE

+373
Large diffs are not rendered by default.

README.adoc

-37
This file was deleted.

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ArduinoGraphics Library for Arduino
2+
3+
![Check Arduino status](https://github.com/arduino-libraries/ArduinoGraphics/actions/workflows/check-arduino.yml/badge.svg)
4+
![Compile Examples status](https://github.com/arduino-libraries/ArduinoGraphics/actions/workflows/compile-examples.yml/badge.svg)
5+
![Spell Check status](https://github.com/arduino-libraries/ArduinoGraphics/actions/workflows/spell-check.yml/badge.svg)
6+
7+
Core graphics library for Arduino. Based on the Processing API.
8+
9+
📖 For more information about this library please read the documentation [here](./docs/) or visit us at [https://www.arduino.cc/en/Reference/ArduinoGraphics](https://www.arduino.cc/en/Reference/ArduinoGraphics)

docs/readme.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,11 @@ To use this library
1010

1111
To let you easily understand the usage of the graphics primitives, we are using a dummy screen object named YourScreen that should be substituted with the real one, Eg. MATRIX, OLED, TFT and so on. Refer to the hardware interfacing library of your screen to get more details.
1212

13-
The style and syntax of this library is inspired by [Processing 3](https://processing.org/) and we believe that learning Processing is very helpful to develop complex applications that combine the versatility of Arduino driven hardware with the power of a pc based graphical interface.
13+
The style and syntax of this library is inspired by [Processing 3](https://processing.org/) and we believe that learning Processing is very helpful to develop complex applications that combine the versatility of Arduino driven hardware with the power of a pc based graphical interface.
14+
15+
## How-to generate bitmaps from the fonts
16+
17+
```bash
18+
cd extras
19+
./generate_font.py 5x7.bdf Font_5x7.c Font_5x7
20+
```

src/ArduinoGraphics.cpp

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
/*
22
This file is part of the ArduinoGraphics library.
3-
Copyright (c) 2019 Arduino SA. All rights reserved.
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3+
Copyright (c) 2025 Arduino SA. All rights reserved.
184
*/
195

206
#include "ArduinoGraphics.h"

src/ArduinoGraphics.h

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
/*
22
This file is part of the ArduinoGraphics library.
3-
Copyright (c) 2019 Arduino SA. All rights reserved.
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3+
Copyright (c) 2025 Arduino SA. All rights reserved.
184
*/
195

206
#ifndef _ARDUINO_GRAPHICS_H

src/Font.h

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
/*
22
This file is part of the ArduinoGraphics library.
3-
Copyright (c) 2019 Arduino SA. All rights reserved.
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3+
Copyright (c) 2025 Arduino SA. All rights reserved.
184
*/
195

206
#ifndef _FONT_H

src/Font_4x6.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
/*
22
This file is part of the ArduinoGraphics library.
3-
Copyright (c) 2019 Arduino SA. All rights reserved.
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3+
Copyright (c) 2025 Arduino SA. All rights reserved.
184
*/
195

206
#include "Font.h"

src/Font_5x7.c

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
/*
22
This file is part of the ArduinoGraphics library.
3-
Copyright (c) 2019 Arduino SA. All rights reserved.
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3+
Copyright (c) 2025 Arduino SA. All rights reserved.
184
*/
195

206
#include "Font.h"

src/Image.cpp

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
/*
22
This file is part of the ArduinoGraphics library.
3-
Copyright (c) 2019 Arduino SA. All rights reserved.
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3+
Copyright (c) 2025 Arduino SA. All rights reserved.
184
*/
195

206
#include <stddef.h>

src/Image.h

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
/*
22
This file is part of the ArduinoGraphics library.
3-
Copyright (c) 2019 Arduino SA. All rights reserved.
4-
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 2.1 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
14-
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3+
Copyright (c) 2025 Arduino SA. All rights reserved.
184
*/
195

206
#ifndef _IMAGE_H

0 commit comments

Comments
 (0)