summaryrefslogtreecommitdiff
path: root/src/lib/ector/cairo/ector_cairo_surface.eo
blob: 96abd0f0821905b741440af530b3554573f3fb9e (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 @beta Ector.Cairo.Surface extends Efl.Object implements Ector.Surface
{
   [[Ector surface on a cairo backend

   Used to render ector content into a cairo backend.
   ]]
   c_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;
   }
}