2016-05-11 04:57:06 -07:00
|
|
|
mixin Ector.Surface (Ector.Buffer)
|
2015-04-03 07:14:58 -07:00
|
|
|
{
|
2016-04-22 01:53:09 -07:00
|
|
|
[[Surface interface for Ector]]
|
|
|
|
|
2015-04-03 07:14:58 -07:00
|
|
|
eo_prefix: ector_surface;
|
2015-11-30 22:22:20 -08:00
|
|
|
data: null;
|
2015-05-07 08:36:45 -07:00
|
|
|
methods {
|
|
|
|
@property reference_point {
|
2016-04-22 01:53:09 -07:00
|
|
|
[[This define where is (0,0) in pixels coordinate inside the surface]]
|
2016-05-12 07:41:56 -07:00
|
|
|
set @virtual_pure {
|
2015-12-13 22:52:02 -08:00
|
|
|
}
|
|
|
|
values {
|
2016-04-22 01:53:09 -07:00
|
|
|
x: int; [[X coordinate for reference point]]
|
|
|
|
y: int; [[Y coordinate for reference point]]
|
2015-12-13 22:52:02 -08:00
|
|
|
}
|
2015-04-03 07:33:19 -07:00
|
|
|
}
|
2016-05-12 07:41:56 -07:00
|
|
|
renderer_factory_new @virtual_pure {
|
2016-04-22 01:53:09 -07:00
|
|
|
[[Create a new renderer factory for the given type]]
|
2016-08-10 07:23:04 -07:00
|
|
|
return: Efl.Object; /* FIXME: Should be a more restricted type, only here for cyclic. */
|
2015-12-13 22:52:02 -08:00
|
|
|
params {
|
2016-08-10 07:23:04 -07:00
|
|
|
@in type: const(Efl.Class) @nonull; /* FIXME: Should probably be a more restricted type */
|
2015-12-13 22:52:02 -08:00
|
|
|
}
|
2015-04-03 07:14:58 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|