<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:12pt"><div><span>im intrested in this too, but failed to achieve it...</span></div><div><span>i think the only way is using the correct values as parameters when creating a matrix.<br></span></div><div>&nbsp;</div><div>Jerónimo Barraco Mármol<br><br></div><div>http://nande.com.ar<br>http://ar.linkedin.com/in/nande<br><div style='font-size: 12pt; font-family: "verdana", "helvetica", sans-serif'><div style='font-size: 12pt; font-family: "times new roman", "new york", "times", serif'><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">De:</span></b> 唐博 &lt;hitiger.2008@yahoo.com.cn&gt;<br><b><span style="font-weight: bold;">Para:</span></b> Maarten Bosmans &lt;mkbosmans@gmail.com&gt;<br><b><span style="font-weight: bold;">CC:</span></b> "cairo@cairographics.org" &lt;cairo@cairographics.org&gt;<br><b><span
 style="font-weight: bold;">Enviado:</span></b> martes, 11 de octubre de 2011 0:23<br><b><span style="font-weight: bold;">Asunto:</span></b> [cairo] 回复: 回复:  From China: About 2.5D transform<br></font><br>Oh, it's the first time I send email to mailing list. I&nbsp;'m&nbsp;not&nbsp;familiar with it, excuse me.<br><br>----- 原邮件 ----<br>发件人: Maarten Bosmans &lt;<a ymailto="mailto:mkbosmans@gmail.com" href="mailto:mkbosmans@gmail.com">mkbosmans@gmail.com</a>&gt;<br>收件人: 唐博 &lt;<a ymailto="mailto:hitiger.2008@yahoo.com.cn" href="mailto:hitiger.2008@yahoo.com.cn">hitiger.2008@yahoo.com.cn</a>&gt;<br><a ymailto="mailto:cairo@cairographics.org" href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>发送日期: 2011年10月10日, 星期一, 上午 2:20<br>主题: Re: 回复: [cairo] From China: About 2.5D transform<br><br>Note: Please keep the conversation on the mailing list. (use
 reply-to-all)<br><br>Also inline answering instead of top posting is preferred.<br><br>2011/10/9 唐博 &lt;<a ymailto="mailto:hitiger.2008@yahoo.com.cn" href="mailto:hitiger.2008@yahoo.com.cn">hitiger.2008@yahoo.com.cn</a>&gt;:<br>&gt; Thank you very much!<br>&gt;<br>&gt; I want to transform the image rotate as the Z axis. And achieve overlook effect .I don't know whether cairo support .<br><br>This is indeed projective transform. I wouldn't call this 2.5D.<br><br>A year ago I strarted of a discussion about this.<br><a href="http://lists.freedesktop.org/archives/cairo/2010-August/020458.html" target="_blank">http://lists.freedesktop.org/archives/cairo/2010-August/020458.html</a><br>Please read through it and the patches I proposed. Perhaps you would<br>like to put in some effort to bring projective transforms to Cairo,<br>that would be much appreciated.<br><br>Maarten<br><br>&gt; ----- 原邮件 -----<br>&gt; 发件人: Maarten Bosmans &lt;<a
 ymailto="mailto:mkbosmans@gmail.com" href="mailto:mkbosmans@gmail.com">mkbosmans@gmail.com</a>&gt;<br>&gt; 收件人: 唐博 &lt;<a ymailto="mailto:hitiger.2008@yahoo.com.cn" href="mailto:hitiger.2008@yahoo.com.cn">hitiger.2008@yahoo.com.cn</a>&gt;<br>&gt; 抄送: "<a ymailto="mailto:cairo@cairographics.org" href="mailto:cairo@cairographics.org">cairo@cairographics.org</a>" &lt;<a ymailto="mailto:cairo@cairographics.org" href="mailto:cairo@cairographics.org">cairo@cairographics.org</a>&gt;<br>&gt; 发送日期: 2011年10月9日, 星期日, 下午 6:49<br>&gt; 主题: Re: [cairo] From China: About 2.5D transform<br>&gt;<br>&gt; 2011/10/9 唐博 &lt;<a ymailto="mailto:hitiger.2008@yahoo.com.cn" href="mailto:hitiger.2008@yahoo.com.cn">hitiger.2008@yahoo.com.cn</a>&gt;:<br>&gt;&gt; Good afternoon:<br>&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;How can I use cairo lib achieve 2.5D effect ?<br>&gt;<br>&gt; Can you explain what you want to achieve in more
 detail?<br>&gt; With 2.5D I always understood having multiple flat layers stacked on<br>&gt; top of eachother. This is of course exactly what Cairo does.<br>&gt;<br>&gt;&gt; I want to use affine transform, but I don't know how to set the matrix's param.<br>&gt;<br>&gt; <a href="http://cairographics.org/manual/cairo-Transformations.html" target="_blank">http://cairographics.org/manual/cairo-Transformations.html</a><br>&gt;<br>&gt; If you want a perspective transform (which is not affine), then that's<br>&gt; currently not possible to do with Cairo. It is possible in pixman and<br>&gt; I proposed some patches to cairo to expose that functionality, but<br>&gt; those where met with complaints about the API. I haven't revisited<br>&gt; those.<br>&gt;<br>&gt; Maarten<br>&gt;<br><br>抄送: <br><br>--<br>cairo mailing list<br><a ymailto="mailto:cairo@cairographics.org" href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br><a
 href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br><br></div></div></div></div></body></html>