interface Efl.Gfx.View {
legacy_prefix: null;
+ eo_prefix: efl_gfx;
methods {
- @property size {
- set {
- [[Sets the size of the given image object.
+ @property view_size {
+ [[The dimensions of this object's viewport.
- This function will scale down or crop the image so that it is
- treated as if it were at the given size. If the size given is
- smaller than the image, it will be cropped. If the size given is
- larger, then the image will be treated as if it were in the upper
- left hand corner of a larger image that is otherwise transparent.
- ]]
- }
- get {
- [[Retrieves the size of the given image object.
-
- See @.size.set for more details.
- ]]
- }
+ This property will scale down or crop the image so that it is
+ treated as if it were of the given size. If the given size is
+ smaller than the image, it will be cropped. If it's larger, then
+ the image will be treated as if it were in the upper left corner
+ of a larger image that is otherwise transparent.
+ ]]
+ set {}
+ get {}
values {
w: int; [[The new width of the image.]]
h: int; [[The new height of the image.]]
Efl.Gfx.Fill.fill.get;
Efl.Gfx.Fill.filled.get;
Efl.Gfx.Fill.filled.set;
- Efl.Gfx.View.size.set;
- Efl.Gfx.View.size.get;
+ Efl.Gfx.View.view_size.set;
+ Efl.Gfx.View.view_size.get;
Efl.Gfx.Filter.filter_program.set;
Evas.Filter.filter_input_alpha;
Evas.Filter.filter_input_render;
}
EOLIAN static void
-_evas_image_efl_gfx_view_size_set(Eo *eo_obj, Evas_Image_Data *o, int w, int h)
+_evas_image_efl_gfx_view_view_size_set(Eo *eo_obj, Evas_Image_Data *o, int w, int h)
{
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
}
EOLIAN static void
-_evas_image_efl_gfx_view_size_get(Eo *eo_obj,
- Evas_Image_Data *o,
- int *w, int *h)
+_evas_image_efl_gfx_view_view_size_get(Eo *eo_obj, Evas_Image_Data *o, int *w, int *h)
{
int uvw, uvh;
Evas_Object_Protected_Data *source = NULL;
}
void
-_evas_vg_efl_gfx_view_size_get(Eo *obj EINA_UNUSED, Evas_VG_Data *pd,
- int *w, int *h)
+_evas_vg_efl_gfx_view_view_size_get(Eo *obj EINA_UNUSED, Evas_VG_Data *pd,
+ int *w, int *h)
{
if (w) *w = pd->width;
if (h) *h = pd->height;
}
void
-_evas_vg_efl_gfx_view_size_set(Eo *obj EINA_UNUSED, Evas_VG_Data *pd,
- int w, int h)
+_evas_vg_efl_gfx_view_view_size_set(Eo *obj EINA_UNUSED, Evas_VG_Data *pd,
+ int w, int h)
{
pd->width = w;
pd->height = h;
Eo.Base.destructor;
Efl.Gfx.Fill.fill.set;
Efl.Gfx.Fill.fill.get;
- Efl.Gfx.View.size.set;
- Efl.Gfx.View.size.get;
+ Efl.Gfx.View.view_size.set;
+ Efl.Gfx.View.view_size.get;
}
}