annotate R/rdyncall/inst/dynports/SDL_image.R @ 21:40a2c4198016

- working jdc (but with memleaks, currently) - added example
author cslag
date Wed, 30 Mar 2016 23:40:52 +0200
parents 0cfcc391201f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 dynbind(c("SDL_image","SDL_image-1.2","SDL_image-1.2.so.0"), "
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 IMG_Init(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 IMG_InvertAlpha(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 IMG_Linked_Version()*<SDL_version>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 IMG_Load(*c)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 IMG_LoadBMP_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 IMG_LoadCUR_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 IMG_LoadGIF_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 IMG_LoadICO_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 IMG_LoadJPG_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 IMG_LoadLBM_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 IMG_LoadPCX_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 IMG_LoadPNG_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 IMG_LoadPNM_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 IMG_LoadTGA_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 IMG_LoadTIF_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 IMG_LoadTyped_RW(*<SDL_RWops>i*c)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 IMG_LoadXCF_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 IMG_LoadXPM_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 IMG_LoadXV_RW(*<SDL_RWops>)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 IMG_Load_RW(*<SDL_RWops>i)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 IMG_Quit()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 IMG_ReadXPMFromArray(**c)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 IMG_isBMP(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 IMG_isCUR(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 IMG_isGIF(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 IMG_isICO(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 IMG_isJPG(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 IMG_isLBM(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 IMG_isPCX(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 IMG_isPNG(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 IMG_isPNM(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 IMG_isTIF(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 IMG_isXCF(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 IMG_isXPM(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 IMG_isXV(*<SDL_RWops>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 ")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 IMG_INIT_JPG=1;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 IMG_INIT_PNG=2;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 IMG_INIT_TIF=4;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41