summaryrefslogtreecommitdiff
path: root/src/lib/ector/cairo/ector_cairo_surface.eo
blob: 7967c4d348b6f43d21563b1e7b4c2188dde6f8cc (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
35
struct @extern cairo_t; [[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 {
	[[Lookup symbal name in cairo lib]]
         return: void_ptr @warn_unused; [[Pointer to cairo lib with this symbol]]
         params {
            @in name: string; [[Symbol name]]
         }
      }
   }
   implements {
      Ector.Surface.renderer_factory_new;
      Ector.Surface.reference_point { set; }
      Efl.Object.destructor;
      Efl.Object.constructor;
   }
}