We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ff026 commit e74285dCopy full SHA for e74285d
examples/minimal.c
@@ -1,6 +1,18 @@
1
#include "libmypaint.c"
2
#include "mypaint-fixed-tiled-surface.h"
3
4
+/*
5
+
6
+This example draws a rectangle on a fixed surface, using the default brush.
7
+It only uses pre-v1.5.0 interfaces/structures.
8
9
+Compiling and running it will produce a file called "output.ppm".
10
+Open it in a compatible image viewer to see the result.
11
12
+The ppm format is _very_ space-inefficient, so only use low resolutions.
13
14
+*/
15
16
void
17
stroke_to(MyPaintBrush *brush, MyPaintSurface *surf, float x, float y)
18
{
0 commit comments