XTransform question

Kamalneet Singh kamalneet.s at samsung.com
Thu Aug 28 04:22:36 PDT 2008


Wang Baisheng wrote:
> Hi All,
> 
> 	Now I am using XTransform to scale the window, and the following is my 
> matrix :
> 
> 	XTransform xform = {{
>             { XDoubleToFixed(2), XDoubleToFixed(0), XDoubleToFixed(0) },
>             { XDoubleToFixed(0), XDoubleToFixed(2),  XDoubleToFixed(0) },
>             { XDoubleToFixed(0), XDoubleToFixed(0), XDoubleToFixed(1) }
> 
> 	And it seems the picture are scaled, but when I use XRenderComposite to 
> combine the window picture with others picture, I found it seems that the 
> left part of the window picture are cut. Why ?

Just using this transform shouldn't cut the picture from left. You
probably have
something in Composite parameters that is responsible for it. If you can
post
a small code that runs, and demonstrates your issue, I can look at it.

> 
> 	If you are familiar with it, pls give me some advice. Thank you in advance.
> 
> BRs,
> Baisheng
> 	  
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
> 




More information about the xorg mailing list