docs: ector: fill gaps in ector eo file documentation

This commit is contained in:
Stefan Schmidt 2016-11-15 15:55:09 +01:00
parent 9638a114f0
commit dbe01dd2b9
5 changed files with 27 additions and 19 deletions

View File

@ -28,22 +28,24 @@ abstract Ector.Renderer (Efl.Object)
}
}
@property transformation {
[[Transformation property]]
set {
}
get {
}
values {
m: ptr(const(Eina.Matrix3));
m: ptr(const(Eina.Matrix3)); [[Transformation matrix]]
}
}
@property origin {
[[Renderer origin]]
set {
}
get {
}
values {
x: double;
y: double;
x: double; [[X coordinate]]
y: double; [[Y coordinate]]
}
}
@property visibility {
@ -53,7 +55,7 @@ abstract Ector.Renderer (Efl.Object)
get {
}
values {
v: bool; [[true if to make the object visible, false otherwise]]
v: bool; [[$true if to make the object visible, $false otherwise]]
}
}
@property color {
@ -80,12 +82,13 @@ abstract Ector.Renderer (Efl.Object)
}
}
@property mask {
[[Rendering mask]]
set {
}
get {
}
values {
r: Ector.Renderer;
r: Ector.Renderer; [[Rendering mask]]
}
}
@property quality {
@ -111,20 +114,21 @@ abstract Ector.Renderer (Efl.Object)
}
}
draw @virtual_pure {
return: bool;
[[Actual draw operation]]
return: bool; [[$true on success, $false otherwise]]
params {
@in op: Efl.Gfx.Render_Op;
@in clips: array<ptr(Eina.Rectangle)>; [[array of @Eina.Rectangle clip]]
@in mul_col: uint;
@in op: Efl.Gfx.Render_Op; [[Renderer operation]]
@in clips: array<ptr(Eina.Rectangle)>; [[Array of @Eina.Rectangle clip]]
@in mul_col: uint; [[Premultiplied color]]
}
}
prepare {
return: bool;
params {
}
[[Prepare for rendering]]
return: bool; [[$true on success, $false otherwise]]
}
done @virtual_pure {
return: bool;
[[Done with rendering]]
return: bool; [[$true on success, $false otherwise]]
}
}
implements {

View File

@ -7,7 +7,7 @@ mixin Ector.Renderer.Buffer (Efl.Interface, Ector.Renderer, Efl.Gfx.Fill)
set { [[Sets the source buffer for this renderer, adds a ref]] }
get { [[Return the current source, no ref change]] }
values {
buf: Ector.Buffer;
buf: Ector.Buffer; [[Buffer]]
}
}
}

View File

@ -6,30 +6,33 @@ mixin Ector.Renderer.Shape (Efl.Gfx.Shape)
eo_prefix: ector_renderer_shape;
methods {
@property fill {
[[Fill property]]
set {
}
get {
}
values {
r: const(Ector.Renderer);
r: const(Ector.Renderer); [[Ector fill renderer]]
}
}
@property stroke_fill {
[[Stroke fill property]]
set {
}
get {
}
values {
r: const(Ector.Renderer);
r: const(Ector.Renderer); [[Ector stroke fill renderer]]
}
}
@property stroke_marker {
[[Stroke marker property]]
set {
}
get {
}
values {
r: const(Ector.Renderer);
r: const(Ector.Renderer); [[Ector stroke marker renderer]]
}
}
}

View File

@ -16,9 +16,9 @@ mixin Ector.Surface (Ector.Buffer)
}
renderer_factory_new @virtual_pure {
[[Create a new renderer factory for the given type]]
return: Efl.Object; /* FIXME: Should be a more restricted type, only here for cyclic. */
return: Efl.Object; [[Renderer factory object]] /* FIXME: Should be a more restricted type, only here for cyclic. */
params {
@in type: const(Efl.Class) @nonull; /* FIXME: Should probably be a more restricted type */
@in type: const(Efl.Class) @nonull; [[Efl class]] /* FIXME: Should probably be a more restricted type */
}
}
}

View File

@ -4,6 +4,7 @@ import evas_canvas;
interface Evas.Ector.Buffer
{
[[Evas ector buffer interface]]
methods {
@property engine_image {
get {}