summaryrefslogtreecommitdiff
path: root/src/lib/ector/cairo/ector_cairo_surface.eo
blob: e06ae680f8b3d992925f1e15a4a6cbee242259b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
type @extern cairo_t: void_ptr; [[cairo_t type]]

class Ector.Cairo.Surface (Efl.Object, Ector.Surface)
{
   [[Ector surface on a cairo backend

   Used to render ector content into a cairo backend.
   ]]
   eo_prefix: ector_cairo_surface;
   methods {
      @property context {
         [[Cairo context]]
         set {
	 }
	 get {
	 }
	 values {
	    ctx: ptr(cairo_t); [[Cairo context]]
	 }
      }
      symbol_get {
         return: void_ptr @warn_unused;
         params {
            @in name: string;
         }
      }
   }
   implements {
      Ector.Surface.renderer_factory_new;
      Ector.Surface.reference_point.set;
      Efl.Object.destructor;
      Efl.Object.constructor;
   }
}