Ajout du GUI

This commit is contained in:
thatscringebro
2022-08-08 16:31:52 -04:00
parent db362ccdca
commit abd15f28b6
851 changed files with 99957 additions and 1 deletions

32
kivy/graphics/common.pxi Normal file
View File

@@ -0,0 +1,32 @@
#
# Common definition
#
DEF PI2 = 1.5707963267948966
DEF PI = 3.1415926535897931
cdef extern from *:
ctypedef char* const_char_ptr "const char*"
cdef double pi = PI
cdef extern from "math.h":
double cos(double) nogil
double acos(double) nogil
double sin(double) nogil
double sqrt(double) nogil
double pow(double x, double y) nogil
double atan2(double y, double x) nogil
double tan(double) nogil
double fabs(double) nogil
cdef extern from "stdlib.h":
ctypedef unsigned long size_t
void free(void *ptr) nogil
void *realloc(void *ptr, size_t size) nogil
void *malloc(size_t size) nogil
void *calloc(size_t nmemb, size_t size) nogil
cdef extern from "string.h":
void *memcpy(void *dest, void *src, size_t n) nogil
void *memset(void *dest, int c, size_t len)