summaryrefslogtreecommitdiff
path: root/src/lib/ector/ector_generic_surface.eo
blob: a391ea08a2e508db72a8e3e490baf1f4117a584a (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
36
37
abstract Ector.Generic.Surface (Eo.Base)
{
   eo_prefix: ector_surface;
   methods {
      @property size {
         set {
            [[Changes the size of the given Evas object.]]
         }
         get {
            [[Retrieves the (rectangular) size of the given Evas object.]]
         }
         values {
            w: int;
            h: int;
         }
      }
      @property reference_point {
         set {
            [[This define where is (0,0) in pixels coordinate inside the surface]]
	 }
	 values {
	    x: int;
	    y: int;
	 }
      }
      renderer_factory_new {
         return: Ector_Renderer *;
	 params {
	    @in type: const(Eo_Class) * @nonull;
	 }
      }
   }
   implements {
      @virtual .renderer_factory_new;
      @virtual .reference_point.set;
   }
}