summaryrefslogtreecommitdiff
path: root/src/lib/ector/cairo/ector_cairo_surface.eo
blob: 452db34b9244ec9cf17b4ae98adf368a46b5897a (plain)
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
type @extern cairo_t: void *;

class Ector.Cairo.Surface (Eo.Base, Ector.Surface)
{
   [[Ector surface on a cairo backend

   Used to render ector content into a cairo backend.
   ]]
   eo_prefix: ector_cairo_surface;
   legacy_prefix: null;
   methods {
      @property context {
         [[Cairo context]]
         set {
	 }
	 get {
	 }
	 values {
	    ctx: cairo_t *; [[Cairo context]]
	 }
      }
      symbol_get {
         return: void * @warn_unused;
         params {
            @in name: const(char)*;
         }
      }
   }
   implements {
      Ector.Surface.renderer_factory_new;
      Ector.Surface.reference_point.set;
      Eo.Base.destructor;
      Eo.Base.constructor;
   }
}