summaryrefslogtreecommitdiff
path: root/pages/develop/api/efl/gfx/shape.txt
blob: 675fcda0a62c0573b912aa6d730733e52b941a11 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
~~Title: Efl.Gfx.Shape~~
====== Efl.Gfx.Shape (mixin) ======

===== Description =====

%%EFL graphics shape object interface%%

{{page>:develop:api-include:efl:gfx:shape:description&nouser&nolink&nodate}}

===== Inheritance =====

 => [[:develop:api:efl:gfx:path|Efl.Gfx.Path]] //(mixin)//
++++ Inheritance graph |

<graphviz>
digraph hierarchy {
    bgcolor = "transparent"
    size = "6"
    rankdir = "TB"

    node [shape = "box"]
    edge [color = "gray35"]

    efl_gfx_shape [fillcolor = "deepskyblue4", label = "Efl.Gfx.Shape", color = "deepskyblue", fontcolor = "white", style = "filled"]
    efl_gfx_path [fillcolor = "gray15", label = "Efl.Gfx.Path", color = "deepskyblue", fontcolor = "white", style = "filled"]

    efl_gfx_shape -> efl_gfx_path
}
</graphviz>

++++

++++ Full hierarchy |

  * [[:develop:api:efl:gfx:path|Efl.Gfx.Path]] //(mixin)//


++++
===== Members =====

**[[:develop:api:efl:gfx:shape:method:copy_from|copy_from]]**// [Overridden from [[:develop:api:efl:gfx:path|Efl.Gfx.Path]]]//\\
> %%Copy the shape data from the object specified.%%
<code c>
void efl_gfx_path_copy_from(Eo *obj, const Efl_Object *dup_from);
</code>
\\
**[[:develop:api:efl:gfx:shape:method:interpolate|interpolate]]**// [Overridden from [[:develop:api:efl:gfx:path|Efl.Gfx.Path]]]//\\
> %%Creates intermediary path part-way between two paths%%
<code c>
Eina_Bool efl_gfx_path_interpolate(Eo *obj, const Efl_Object *from, const Efl_Object *to, double pos_map);
</code>
\\
**[[:develop:api:efl:gfx:shape:property:fill_rule|fill_rule]]** //**(get, set)**//\\
> %%The fill rule of the given shape object. %%''EFL_GFX_FILL_RULE_WINDING''%%, or %%''EFL_GFX_FILL_RULE_ODD_EVEN''%%.%%
<code c>
Efl_Gfx_Fill_Rule efl_gfx_shape_fill_rule_get(const Eo *obj);
void efl_gfx_shape_fill_rule_set(Eo *obj, Efl_Gfx_Fill_Rule fill_rule);
</code>
\\
**[[:develop:api:efl:gfx:shape:property:stroke_cap|stroke_cap]]** //**(get, set)**//\\
> %%The cap style to be used for stroking the path. The cap will be used for capping the end point of a open subpath.%%
<code c>
Efl_Gfx_Cap efl_gfx_shape_stroke_cap_get(const Eo *obj);
void efl_gfx_shape_stroke_cap_set(Eo *obj, Efl_Gfx_Cap c);
</code>
\\
**[[:develop:api:efl:gfx:shape:property:stroke_color|stroke_color]]** //**(get, set)**//\\
> %%The color to be used for stroking the path.%%
<code c>
void efl_gfx_shape_stroke_color_get(const Eo *obj, int *r, int *g, int *b, int *a);
void efl_gfx_shape_stroke_color_set(Eo *obj, int r, int g, int b, int a);
</code>
\\
**[[:develop:api:efl:gfx:shape:property:stroke_dash|stroke_dash]]** //**(get, set)**//\\
> %%Not implemented%%
<code c>
void efl_gfx_shape_stroke_dash_get(const Eo *obj, const Efl_Gfx_Dash **dash, unsigned int *length);
void efl_gfx_shape_stroke_dash_set(Eo *obj, const Efl_Gfx_Dash *dash, unsigned int length);
</code>
\\
**[[:develop:api:efl:gfx:shape:property:stroke_join|stroke_join]]** //**(get, set)**//\\
> %%The join style to be used for stroking the path. The join style will be used for joining the two line segment while stroking the path.%%
<code c>
Efl_Gfx_Join efl_gfx_shape_stroke_join_get(const Eo *obj);
void efl_gfx_shape_stroke_join_set(Eo *obj, Efl_Gfx_Join j);
</code>
\\
**[[:develop:api:efl:gfx:shape:property:stroke_location|stroke_location]]** //**(get, set)**//\\
> %%Not implemented%%
<code c>
double efl_gfx_shape_stroke_location_get(const Eo *obj);
void efl_gfx_shape_stroke_location_set(Eo *obj, double centered);
</code>
\\
**[[:develop:api:efl:gfx:shape:property:stroke_scale|stroke_scale]]** //**(get, set)**//\\
> %%The stroke scale to be used for stroking the path. Will be used along with stroke width property.%%
<code c>
double efl_gfx_shape_stroke_scale_get(const Eo *obj);
void efl_gfx_shape_stroke_scale_set(Eo *obj, double s);
</code>
\\
**[[:develop:api:efl:gfx:shape:property:stroke_width|stroke_width]]** //**(get, set)**//\\
> %%The stroke width to be used for stroking the path.%%
<code c>
double efl_gfx_shape_stroke_width_get(const Eo *obj);
void efl_gfx_shape_stroke_width_set(Eo *obj, double w);
</code>
\\

==== Inherited ====

[[:develop:api:efl:gfx:path|Efl.Gfx.Path]]\\
> **[[:develop:api:efl:gfx:path:method:append_arc_to|append_arc_to]]**, **[[:develop:api:efl:gfx:path:method:append_arc|append_arc]]**, **[[:develop:api:efl:gfx:path:method:append_circle|append_circle]]**, **[[:develop:api:efl:gfx:path:method:append_close|append_close]]**, **[[:develop:api:efl:gfx:path:method:append_cubic_to|append_cubic_to]]**, **[[:develop:api:efl:gfx:path:method:append_line_to|append_line_to]]**, **[[:develop:api:efl:gfx:path:method:append_move_to|append_move_to]]**, **[[:develop:api:efl:gfx:path:method:append_quadratic_to|append_quadratic_to]]**, **[[:develop:api:efl:gfx:path:method:append_rect|append_rect]]**, **[[:develop:api:efl:gfx:path:method:append_scubic_to|append_scubic_to]]**, **[[:develop:api:efl:gfx:path:method:append_squadratic_to|append_squadratic_to]]**, **[[:develop:api:efl:gfx:path:method:append_svg_path|append_svg_path]]**, **[[:develop:api:efl:gfx:path:method:bounds_get|bounds_get]]**, **[[:develop:api:efl:gfx:path:method:equal_commands|equal_commands]]**, **[[:develop:api:efl:gfx:path:method:reset|reset]]**, **[[:develop:api:efl:gfx:path:property:current_ctrl|current_ctrl]]** //**(get)**//, **[[:develop:api:efl:gfx:path:property:current|current]]** //**(get)**//, **[[:develop:api:efl:gfx:path:property:length|length]]** //**(get)**//, **[[:develop:api:efl:gfx:path:property:path|path]]** //**(get, set)**//
===== Events =====

==== Inherited ====

[[:develop:api:efl:gfx:path|Efl.Gfx.Path]]\\
> **[[:develop:api:efl:gfx:path:event:changed|changed]]**