Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11sym.h @ 3596:f638ded38b8a
Added SDL_RenderClear() as a fast method of clearing the screen to the drawing color.
Renamed SDL_RenderPoint() and SDL_RenderLine() to SDL_RenderDrawPoint() and SDL_RenderDrawLine().
Added API for rectangle drawing (as opposed to filling)
Added placeholder API functions for circles and ellipses ... I'm not sure whether these will stay.
Optimized software line drawing quite a bit.
Added support for Wu's anti-aliased line drawing, currently disabled by default.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 23 Dec 2009 01:55:00 +0000 |
parents | 5f26a7eb5ff0 |
children | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3595:b7c6828d4039 | 3596:f638ded38b8a |
---|---|
48 SDL_X11_SYM(Window,XCreateWindow,(Display* a,Window b,int c,int d,unsigned int e,unsigned int f,unsigned int g,int h,unsigned int i,Visual* j,unsigned long k,XSetWindowAttributes* l),(a,b,c,d,e,f,g,h,i,j,k,l),return) | 48 SDL_X11_SYM(Window,XCreateWindow,(Display* a,Window b,int c,int d,unsigned int e,unsigned int f,unsigned int g,int h,unsigned int i,Visual* j,unsigned long k,XSetWindowAttributes* l),(a,b,c,d,e,f,g,h,i,j,k,l),return) |
49 SDL_X11_SYM(int,XDefineCursor,(Display* a,Window b,Cursor c),(a,b,c),return) | 49 SDL_X11_SYM(int,XDefineCursor,(Display* a,Window b,Cursor c),(a,b,c),return) |
50 SDL_X11_SYM(int,XDeleteProperty,(Display* a,Window b,Atom c),(a,b,c),return) | 50 SDL_X11_SYM(int,XDeleteProperty,(Display* a,Window b,Atom c),(a,b,c),return) |
51 SDL_X11_SYM(int,XDestroyWindow,(Display* a,Window b),(a,b),return) | 51 SDL_X11_SYM(int,XDestroyWindow,(Display* a,Window b),(a,b),return) |
52 SDL_X11_SYM(int,XDisplayKeycodes,(Display* a,int* b,int* c),(a,b,c),return) | 52 SDL_X11_SYM(int,XDisplayKeycodes,(Display* a,int* b,int* c),(a,b,c),return) |
53 SDL_X11_SYM(int,XDrawLines,(Display* a, Drawable b, GC c, XPoint* d, int e, int f),(a,b,c,d,e,f),return) | |
54 SDL_X11_SYM(int,XDrawPoint,(Display* a, Drawable b, GC c, int d, int e),(a,b,c,d,e),return) | |
55 SDL_X11_SYM(int,XDrawPoints,(Display* a, Drawable b, GC c, XPoint* d, int e, int f),(a,b,c,d,e,f),return) | |
56 SDL_X11_SYM(int,XDrawRectangles,(Display* a,Drawable b,GC c,XRectangle* d,int e),(a,b,c,d,e),return) | |
53 SDL_X11_SYM(int,XFillRectangles,(Display* a,Drawable b,GC c,XRectangle* d,int e),(a,b,c,d,e),return) | 57 SDL_X11_SYM(int,XFillRectangles,(Display* a,Drawable b,GC c,XRectangle* d,int e),(a,b,c,d,e),return) |
54 SDL_X11_SYM(char*,XDisplayName,(_Xconst char* a),(a),return) | 58 SDL_X11_SYM(char*,XDisplayName,(_Xconst char* a),(a),return) |
55 SDL_X11_SYM(int,XEventsQueued,(Display* a,int b),(a,b),return) | 59 SDL_X11_SYM(int,XEventsQueued,(Display* a,int b),(a,b),return) |
56 SDL_X11_SYM(Bool,XFilterEvent,(XEvent *event,Window w),(event,w),return) | 60 SDL_X11_SYM(Bool,XFilterEvent,(XEvent *event,Window w),(event,w),return) |
57 SDL_X11_SYM(int,XFlush,(Display* a),(a),return) | 61 SDL_X11_SYM(int,XFlush,(Display* a),(a),return) |
93 SDL_X11_SYM(int,XNextEvent,(Display* a,XEvent* b),(a,b),return) | 97 SDL_X11_SYM(int,XNextEvent,(Display* a,XEvent* b),(a,b),return) |
94 SDL_X11_SYM(Display*,XOpenDisplay,(_Xconst char* a),(a),return) | 98 SDL_X11_SYM(Display*,XOpenDisplay,(_Xconst char* a),(a),return) |
95 SDL_X11_SYM(int,XPeekEvent,(Display* a,XEvent* b),(a,b),return) | 99 SDL_X11_SYM(int,XPeekEvent,(Display* a,XEvent* b),(a,b),return) |
96 SDL_X11_SYM(int,XPending,(Display* a),(a),return) | 100 SDL_X11_SYM(int,XPending,(Display* a),(a),return) |
97 SDL_X11_SYM(int,XPutImage,(Display* a,Drawable b,GC c,XImage* d,int e,int f,int g,int h,unsigned int i,unsigned int j),(a,b,c,d,e,f,g,h,i,j),return) | 101 SDL_X11_SYM(int,XPutImage,(Display* a,Drawable b,GC c,XImage* d,int e,int f,int g,int h,unsigned int i,unsigned int j),(a,b,c,d,e,f,g,h,i,j),return) |
98 SDL_X11_SYM(int,XDrawLines,(Display* a, Drawable b, GC c, XPoint* d, int e, int f),(a,b,c,d,e,f),return) | |
99 SDL_X11_SYM(int,XDrawPoint,(Display* a, Drawable b, GC c, int d, int e),(a,b,c,d,e),return) | |
100 SDL_X11_SYM(int,XDrawPoints,(Display* a, Drawable b, GC c, XPoint* d, int e, int f),(a,b,c,d,e,f),return) | |
101 SDL_X11_SYM(int,XQueryColors,(Display* a,Colormap b,XColor* c,int d),(a,b,c,d),return) | 102 SDL_X11_SYM(int,XQueryColors,(Display* a,Colormap b,XColor* c,int d),(a,b,c,d),return) |
102 SDL_X11_SYM(int,XQueryKeymap,(Display* a,char *b),(a,b),return) | 103 SDL_X11_SYM(int,XQueryKeymap,(Display* a,char *b),(a,b),return) |
103 SDL_X11_SYM(Bool,XQueryPointer,(Display* a,Window b,Window* c,Window* d,int* e,int* f,int* g,int* h,unsigned int* i),(a,b,c,d,e,f,g,h,i),return) | 104 SDL_X11_SYM(Bool,XQueryPointer,(Display* a,Window b,Window* c,Window* d,int* e,int* f,int* g,int* h,unsigned int* i),(a,b,c,d,e,f,g,h,i),return) |
104 SDL_X11_SYM(int,XRaiseWindow,(Display* a,Window b),(a,b),return) | 105 SDL_X11_SYM(int,XRaiseWindow,(Display* a,Window b),(a,b),return) |
105 SDL_X11_SYM(int,XReparentWindow,(Display* a,Window b,Window c,int d,int e),(a,b,c,d,e),return) | 106 SDL_X11_SYM(int,XReparentWindow,(Display* a,Window b,Window c,int d,int e),(a,b,c,d,e),return) |