File: pygame.pxd

package info (click to toggle)
renpy 7.1.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 107,352 kB
  • sloc: python: 42,124; ansic: 4,781; makefile: 43; sh: 14
file content (21 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cdef extern from "pygame/pygame.h":
    struct SDL_Surface:
        int w
        int h
        int pitch
        int flags
        void *pixels

    struct SDL_Rect:
        int x
        int y
        int w
        int h

    SDL_Surface *PySurface_AsSurface(object)
    int SDL_SetAlpha(SDL_Surface *surface, unsigned int flag, char alpha)

    enum:
        SDL_SRCALPHA

cdef extern int SDL_BlitSurface(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect) nogil