XTransform question

Wang Baisheng baisheng.wang.cn at gmail.com
Tue Aug 26 20:09:23 PDT 2008

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 ?

	If you are familiar with it, pls give me some advice. Thank you in advance.


More information about the xorg mailing list