[ros-kernel] Brush origins

Ge van Geldorp gvg at reactos.com
Fri Apr 30 15:59:07 CEST 2004


> From: Filip Navara
> 
> I don't know who made this change:
> 
> #if 0
>   if(BrushOrigin)
>   {
>     AdjustedBrushOrigin.x = BrushOrigin->x + Translate.x;
>     AdjustedBrushOrigin.y = BrushOrigin->y + Translate.y;
>   }
>   else
>     AdjustedBrushOrigin = Translate;
> #else
>   AdjustedBrushOrigin = (BrushOrigin ? *BrushOrigin : 
> Translate); #endif
> 
> but I know it's incorrect! Please revert it! The translation 
> needs to be added also in case that there is a brush origin.

It's this commit:

http://reactos.com:8080/archives/public/ros-cvs/2004-April/003511.html

Gé van Geldorp.




More information about the Ros-kernel mailing list