summaryrefslogtreecommitdiff
path: root/unrpyc/renpy/display/render.pxd
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-08-22 22:45:26 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-08-22 22:45:26 -0400
commit718936110b9511631fa1f4396be992752bf8b719 (patch)
treea871768c06adc2959f8f0d69869532d36a95ffab /unrpyc/renpy/display/render.pxd
parentece6cf9fbfdba9dac8d7bf98516a840c955a4853 (diff)
downloadhtml5ks-718936110b9511631fa1f4396be992752bf8b719.tar.xz
html5ks-718936110b9511631fa1f4396be992752bf8b719.zip
include renpy
Diffstat (limited to 'unrpyc/renpy/display/render.pxd')
-rw-r--r--unrpyc/renpy/display/render.pxd47
1 files changed, 47 insertions, 0 deletions
diff --git a/unrpyc/renpy/display/render.pxd b/unrpyc/renpy/display/render.pxd
new file mode 100644
index 0000000..a4d8d68
--- /dev/null
+++ b/unrpyc/renpy/display/render.pxd
@@ -0,0 +1,47 @@
+cdef class Matrix2D:
+ cdef public double xdx
+ cdef public double xdy
+ cdef public double ydx
+ cdef public double ydy
+
+ cpdef tuple transform(Matrix2D self, double x, double y)
+
+cdef class Render:
+
+ cdef public bint mark, cache_killed
+
+ cdef public float width, height
+ cdef public object layer_name
+
+ cdef public list children
+ cdef public set parents
+ cdef public list depends_on_list
+
+ cdef public int operation
+ cdef public double operation_complete
+ cdef public bint operation_alpha
+ cdef public object operation_parameter
+
+ cdef public Matrix2D forward, reverse
+ cdef public double alpha
+
+ cdef public list focuses
+ cdef public list pass_focuses
+ cdef public object draw_func
+ cdef public object render_of
+
+ cdef public bint opaque
+ cdef public list visible_children
+
+ cdef public bint clipping
+
+ cdef public object surface, alpha_surface, half_cache
+
+ cdef public bint modal
+
+ cpdef int blit(Render self, source, tuple pos, object focus=*, object main=*, object index=*)
+ cpdef int subpixel_blit(Render self, source, tuple pos, object focus=*, object main=*, object index=*)
+
+
+cpdef render(object d, object widtho, object heighto, double st, double at)
+