Hi,

The code to do that is trivial and you don't need cairo just for that.
If all you need is a circle you can do it yourself easily using a
wikipedia algorithm. The problem with it being in Evas is that is must
be super-fast and work in many engines (gl, sw, -- mmx, sse, neon).

Just be aware that the source image you use may be scaled and
image_data_get() will return the original pixels, then you must scale
them yourself, or use an ecore_evas_buffer to get a scaled view or use
a proxy-image.



On Thu, Sep 12, 2013 at 4:21 AM, 이준호 <eso...@gmail.com> wrote:
> Thank you!! I will try to use cairo instead of evas api~~
> 2013. 9. 12. 오후 2:50에 "ChunEon Park" <her...@naver.com>님이 작성:
>
>> Unfortunately not yet.  Evas doesn support image masking yet.
>>
>> Maybe will be supported later 1.8 but I'm not sure.
>>
>> ------------------------------------
>> -Regards, Hermet-
>>
>> -----Original Message-----
>> From: "이준호"<eso...@gmail.com>
>> To: "Enlightenment developer list"<
>> enlightenment-devel@lists.sourceforge.net>;
>> Cc:
>> Sent: 2013-09-12 (목) 10:41:39
>> Subject: [E-devel] About evas_object_clip_set() function ~~
>>
>> Hello, guys
>>
>> On latest Evas library, Can I use only rectangle as image clipper??
>>
>> ...
>>   212    if (clip->type != o_rect_type)
>>   213      {
>>   214         ERR("For now a clip on other object than a rectangle is
>> disabled");
>>   215         return;
>>   216      }
>> ...
>>
>> In latest Evas, I can find above things, but I really want to use circle
>> mask image as image clipper. ; (
>>
>> Is there any idea?
>>
>> ------------------------------------------------------------------------------
>> How ServiceNow helps IT people transform IT departments:
>> 1. Consolidate legacy IT systems to a single system of record for IT
>> 2. Standardize and globalize service processes across IT
>> 3. Implement zero-touch automation to replace manual, redundant tasks
>> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>> _______________________________________________
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>>
>> ------------------------------------------------------------------------------
>> How ServiceNow helps IT people transform IT departments:
>> 1. Consolidate legacy IT systems to a single system of record for IT
>> 2. Standardize and globalize service processes across IT
>> 3. Implement zero-touch automation to replace manual, redundant tasks
>> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>> _______________________________________________
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
Gustavo Sverzut Barbieri
--------------------------------------
Mobile: +55 (19) 9225-2202
Contact: http://www.gustavobarbieri.com.br/contact

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to