forked from enlightenment/efl
parent
75c88c0368
commit
fab38ef58b
|
@ -238,6 +238,8 @@ To be documented...
|
||||||
|
|
||||||
|
|
||||||
@todo Document API
|
@todo Document API
|
||||||
|
@todo Add callback "piggyback" handlers for move, resize, show and hide
|
||||||
|
@todo Add generic object method call system
|
||||||
@todo Add keyboard callbacks/event feeds and focus
|
@todo Add keyboard callbacks/event feeds and focus
|
||||||
@todo Make freetype optional and put in optional graymap font engine
|
@todo Make freetype optional and put in optional graymap font engine
|
||||||
@todo Add ability to check image comments & disk format
|
@todo Add ability to check image comments & disk format
|
||||||
|
@ -250,8 +252,8 @@ To be documented...
|
||||||
@todo Add memory use reduction code if any allocations fail
|
@todo Add memory use reduction code if any allocations fail
|
||||||
@todo If image loads fails due to memory allocatue failure, load reduced res version
|
@todo If image loads fails due to memory allocatue failure, load reduced res version
|
||||||
@todo If image load fails due to memory allocation failure, try split it up into tiles and demand-load them
|
@todo If image load fails due to memory allocation failure, try split it up into tiles and demand-load them
|
||||||
@todo Add auto-detection of what engines to build based on system/libs etc.
|
@todo Add auto-detection of what engines to build based on system/libs etc. for configure script
|
||||||
@todo Add overall engine configure parameters (so you can configure an engine with defaults with 1 configure option)
|
@todo Add overall engine configure parameters (so you can configure an engine with defaults with 1 configure option) to configure script
|
||||||
@todo Document Engine API
|
@todo Document Engine API
|
||||||
@todo Add external image loaders (application provided callbacks to load)
|
@todo Add external image loaders (application provided callbacks to load)
|
||||||
@todo Add loadable image loader module support (evas loads file.so)
|
@todo Add loadable image loader module support (evas loads file.so)
|
||||||
|
|
|
@ -84,6 +84,28 @@ evas_object_clippers_was_visible(Evas_Object *obj)
|
||||||
|
|
||||||
/* public functions */
|
/* public functions */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clip one object to another
|
||||||
|
* @param obj The object to be clipped
|
||||||
|
* @param clip The object to clip @p obj by
|
||||||
|
*
|
||||||
|
* This function will clip the object @p obj to the area occupied by the
|
||||||
|
* object @p clipper.
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* @code
|
||||||
|
* extern Evas *evas;
|
||||||
|
* extern Evas_Object *obj;
|
||||||
|
* Evas_Object *clipper;
|
||||||
|
*
|
||||||
|
* clipper = evas_object_rectangle_add(evas);
|
||||||
|
* evas_object_color_ser(clipper, 255, 255, 255, 255);
|
||||||
|
* evas_object_move(clipper, 10, 10);
|
||||||
|
* evas_object_resize(clipper, 20, 50);
|
||||||
|
* evas_object_clip_set(obj, clipper);
|
||||||
|
* evas_object_show(clipper);
|
||||||
|
* @endcode
|
||||||
|
*/
|
||||||
void
|
void
|
||||||
evas_object_clip_set(Evas_Object *obj, Evas_Object *clip)
|
evas_object_clip_set(Evas_Object *obj, Evas_Object *clip)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue