[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: XTransform question
From:       Kamalneet Singh <kamalneet.s () samsung ! com>
Date:       2008-08-28 11:34:36
Message-ID: 48B68A7C.1080504 () samsung ! com
[Download RAW message or body]

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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
> 

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic