<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> </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> 唐博 <hitiger.2008@yahoo.com.cn><br><b><span style="font-weight: bold;">Para:</span></b> Maarten Bosmans <mkbosmans@gmail.com><br><b><span style="font-weight: bold;">CC:</span></b> "cairo@cairographics.org" <cairo@cairographics.org><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 'm not familiar with it, excuse me.<br><br>----- 原邮件 ----<br>发件人: Maarten Bosmans <<a ymailto="mailto:mkbosmans@gmail.com" href="mailto:mkbosmans@gmail.com">mkbosmans@gmail.com</a>><br>收件人: 唐博 <<a ymailto="mailto:hitiger.2008@yahoo.com.cn" href="mailto:hitiger.2008@yahoo.com.cn">hitiger.2008@yahoo.com.cn</a>><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 唐博 <<a ymailto="mailto:hitiger.2008@yahoo.com.cn" href="mailto:hitiger.2008@yahoo.com.cn">hitiger.2008@yahoo.com.cn</a>>:<br>> Thank you very much!<br>><br>> 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>> ----- 原邮件 -----<br>> 发件人: Maarten Bosmans <<a
ymailto="mailto:mkbosmans@gmail.com" href="mailto:mkbosmans@gmail.com">mkbosmans@gmail.com</a>><br>> 收件人: 唐博 <<a ymailto="mailto:hitiger.2008@yahoo.com.cn" href="mailto:hitiger.2008@yahoo.com.cn">hitiger.2008@yahoo.com.cn</a>><br>> 抄送: "<a ymailto="mailto:cairo@cairographics.org" href="mailto:cairo@cairographics.org">cairo@cairographics.org</a>" <<a ymailto="mailto:cairo@cairographics.org" href="mailto:cairo@cairographics.org">cairo@cairographics.org</a>><br>> 发送日期: 2011年10月9日, 星期日, 下午 6:49<br>> 主题: Re: [cairo] From China: About 2.5D transform<br>><br>> 2011/10/9 唐博 <<a ymailto="mailto:hitiger.2008@yahoo.com.cn" href="mailto:hitiger.2008@yahoo.com.cn">hitiger.2008@yahoo.com.cn</a>>:<br>>> Good afternoon:<br>>> How can I use cairo lib achieve 2.5D effect ?<br>><br>> Can you explain what you want to achieve in more
detail?<br>> With 2.5D I always understood having multiple flat layers stacked on<br>> top of eachother. This is of course exactly what Cairo does.<br>><br>>> I want to use affine transform, but I don't know how to set the matrix's param.<br>><br>> <a href="http://cairographics.org/manual/cairo-Transformations.html" target="_blank">http://cairographics.org/manual/cairo-Transformations.html</a><br>><br>> If you want a perspective transform (which is not affine), then that's<br>> currently not possible to do with Cairo. It is possible in pixman and<br>> I proposed some patches to cairo to expose that functionality, but<br>> those where met with complaints about the API. I haven't revisited<br>> those.<br>><br>> Maarten<br>><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>