summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_image_internal.eo (follow)
AgeCommit message (Collapse)Author
2019-09-18efl/image: rename "border" -> "border_insets"Mike Blumenkrantz
Summary: this is a clearer name which makes the intent of the API more obvious at a glance ref T7875 Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7875 Differential Revision: https://phab.enlightenment.org/D9996
2019-09-16efl/image: Efl.Gfx.Border_Fill_Mode -> Efl.Gfx.Center_Fill_ModeMike Blumenkrantz
Summary: rename this to match its function ref T7926, T7875 Depends on D9932 Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7926, T7875 Differential Revision: https://phab.enlightenment.org/D9933
2019-07-12evas: add support for stretchable region.Cedric BAIL
This is the first step into introducing support for Android 9 patch format (extension: .9.png). The principle is to expose a new property on image object that define a complete behavior incompatible with other border and fill logic. The reason is that 9 patch allow for any number of stretchable area inside an image, not just for each corner. The way to define this is by giving a pointer to an array of the proper type that define stretchable region relative to each other. The logic being slightly more complex than the border and fill logic, it is slightly slower. If you are just defining corner on your image for something like a button, you would still get better performance using border. I will try to make edje_cc detect those case and fallback to border when possible. Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9096
2019-07-12evas: add an API to know where inside an object content can be layout over.Cedric BAIL
The first step with this API is to use the information provided when setting the border on an image to define the content area inside it. Improvement will be to use more flexible stretch region area to make it more customizable and finally read the information from a 9patch file (.9.png). Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9093
2019-07-12Rename orientation -> image_orientation.Hosang Kim
Summary: Efl.Gfx.Image_Orientable and Efl.Ui.Layout_Orientable have same property name. So when class extends both interfaces, it makes conflict. Relates to T7924 Reviewers: woohyun, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9299
2019-05-22Rename Efl.Gfx.Orientation -> Efl.Gfx.Image_OrientationXavi Artigas
Summary: This will help disambiguate later on when we rename Efl.Ui.Direction to Efl.Ui.Layout_Orientation. Relates to T7919 Test Plan: Everything still builds and passes tests. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8934
2019-05-20Rename Efl.Orient -> Efl.Gfx.OrientationXavi Artigas
Summary: And the Efl.Orientation interface -> Efl.Gfx.Orientable (with proper c_prefix so it is not too cumbersome to use from C). Also, turned the theme_rotation_apply() parameter into an int to avoid confusion. Fixes T7919 Depends on D8912 Test Plan: Everything continues to build and pass tests Reviewers: zmike, bu5hm4n, cedric, Hermet, Jaehyun_Cho Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7919 Differential Revision: https://phab.enlightenment.org/D8926
2019-05-20Merge Efl.Orient and Efl.Flip into the same enumXavi Artigas
Summary: This is similar to how it is in Evas, and simplifies the Efl.Orientation interface, which only needs one property now. Relates to T7919 Test Plan: Everything builds and tests pass. There's only one example of efl_orientation_set() so there's not much to test yet. Reviewers: zmike, bu5hm4n, cedric, Hermet, Jaehyun_Cho Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7919 Differential Revision: https://phab.enlightenment.org/D8912
2019-02-27efl.file: improve api a bitMike Blumenkrantz
Summary: the previous implementation/api had a number of issues: * "file" property contained both "file" and "key" values - also performed file loading operation * "load_error" property which was specific to image objects * no methods for controlling file loading/unloading this patch attempts the following changes: * split "file" property into "file" and "key" properties - also remove "key" from existing "mmap" property * remove "load_error" * directly return error codes from operations * add "load" and "unload" methods for directly controlling load state * add implicit file loading if file/mmap is set during construction * rewrite all efl.file implementations to move file loading into load() method * rewrite all usage of efl.file api based on these changes * add C extension functions to mimic previous behavior ref T7577 Reviewers: segfaultxavi, bu5hm4n, cedric Reviewed By: segfaultxavi Subscribers: vitor.sousa, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7577 Differential Revision: https://phab.enlightenment.org/D8018
2019-02-14Mark BETA classes individuallyXavi Artigas
Summary: Instead of surrounding all the #include "*.eo.h" lines in Efl.h with #ifdef EFL_BETA_API_SUPPORT, include these files unconditionally, but mark all classes as @beta in the eo files. This will allow taking them out of beta one by one as we deem them stable enough. Otherwise, the current procedure involves moving the #include line out of the ifdef block, which is cumbersome and messes include order. Depends on D7950 Fixes T7692 Test Plan: Nothing changes Reviewers: zmike, bu5hm4n, cedric Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7692 Differential Revision: https://phab.enlightenment.org/D7951
2019-01-30efl.file: move 'save' method into separate efl.file_save interfaceMike Blumenkrantz
the save method is implemented very rarely, and most objects which use efl.file will not be able to use a save method ref T5719 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7786
2019-01-18efl: convert all abstracts to the new eolian syntaxMarcel Hollerbach
ref T7459 Reviewed-by: Daniel Kolesa <daniel@octaforge.org> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7686
2018-04-24Efl.Gfx.Image* (From Efl.Image*)Xavi Artigas
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-04-24Efl.Canvas.Image_Internal (from Efl.Canvas.Image.Internal)Xavi Artigas
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-01-18efl: Merge Flipable and OrientationJean-Philippe Andre
No need to split: those two are used in all the same classes, since the split between Orientation and Ui.Dir. Note that the enum types remain in the main namespace.
2017-08-04evas: Add debug_name to image objectsJean-Philippe Andre
2017-05-24evas/elm: Add Efl.Image.image_size read-only propertyJean-Philippe Andre
Following a remark in the mailing list, it is pretty clear that Efl.Gfx.View.view_size is not as simple as "image_size". I have defined this new image_size as being the size of the image file, and not what's currently loaded. So it will not apply to proxies, gl views, 3d scenes, etc... but only to standard image files loaded with file_set or mmap_set. Supported objects: - Efl.Canvas.Image (evas image) - Efl.Ui.Image (elm image) - Elm.Photocam (note: still needs some interface work) @feature
2017-04-21eo: hide dbg_info from eo filesDaniel Kolesa
Continues b780cf2af299ce17be260486bb7ab64badddbaec.
2017-01-17evas: Refactor evas filters a bitJean-Philippe Andre
This is a preparation step for (experimental) textblock support. Textblock objects won't have a single filter, and the buffer's geometry wouldn't be that of of the object itself. Thus a few internal APIs need to be reworked first.
2016-12-27evas: use new property impl syntaxDaniel Kolesa
2016-11-15docs: evas_canvas: fill gaps in evas canvas eo file documentationStefan Schmidt
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-06-21evas: Rename Evas.Object to Efl.Canvas.ObjectJean-Philippe Andre
One step closer to make the EO inheritance tree look like it's all Efl.
2016-06-10Evas: Rename Evas.Filter to Efl.Canvas.Filter.InternalJean-Philippe Andre
Trying to hide the name Evas from the public EO API...
2016-06-10Evas: Rename Evas.Image into Efl.Canvas.Image.InternalJean-Philippe Andre
Make it abstract. And add Evas.Image as a legacy-only class.