no you understand what i want but the errors are just so left field. I also thought i linked it at the top but i guess it didn't work so here it is.
the function getkey(012) is my function of i.h. i made it to wait for a key press and return the key.
Code:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <linux/input.h>
#include <i.h>
#include "VG/openvg.h"
#include "VG/vgu.h"
#include "fontinfo.h"
#include "shapes.h"
#include "VG/Roboto.h"
int main(){
int w, h;
Fontinfo Roboto;
Roboto = loadfont(Roboto_glyphPoints,
Roboto_glyphPointIndices,
Roboto_glyphInstructions,
Roboto_glyphInstructionIndices,
Roboto_glyphInstructionCounts,
Roboto_glyphAdvances,
Roboto_characterMap,
Roboto_glyphCount);
Roboto.descender_height = Roboto_descender_height;
Roboto.font_height = Roboto_font_height;
initEvent();
init(&w, &h);
Start(w, h);
Background(255,255,255);
Fill(0,0,0,1);
TextMid(300, 300, "Hello World", Roboto, 30);
End();
getKey(012);
finish();
exit(0);
}