mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
fixed brush origin
svn path=/trunk/; revision=9251
This commit is contained in:
parent
db615bc523
commit
8352c9c082
1 changed files with 3 additions and 14 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: bitblt.c,v 1.52 2004/04/25 11:34:13 weiden Exp $
|
||||
/* $Id: bitblt.c,v 1.53 2004/04/30 14:22:44 weiden Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -371,7 +371,6 @@ EngBitBlt(SURFOBJ *DestObj,
|
|||
OutputRect.top = DestRect->top + Translate.y;
|
||||
OutputRect.bottom = DestRect->bottom + Translate.y;
|
||||
|
||||
#if 0
|
||||
if(BrushOrigin)
|
||||
{
|
||||
AdjustedBrushOrigin.x = BrushOrigin->x + Translate.x;
|
||||
|
@ -379,9 +378,6 @@ EngBitBlt(SURFOBJ *DestObj,
|
|||
}
|
||||
else
|
||||
AdjustedBrushOrigin = Translate;
|
||||
#else
|
||||
AdjustedBrushOrigin = (BrushOrigin ? *BrushOrigin : Translate);
|
||||
#endif
|
||||
|
||||
if (NULL != OutputObj)
|
||||
{
|
||||
|
@ -742,7 +738,7 @@ EngStretchBlt(
|
|||
OutputRect.right = prclDest->right + Translate.x;
|
||||
OutputRect.top = prclDest->top + Translate.y;
|
||||
OutputRect.bottom = prclDest->bottom + Translate.y;
|
||||
#if 0
|
||||
|
||||
if(BrushOrigin)
|
||||
{
|
||||
AdjustedBrushOrigin.x = BrushOrigin->x + Translate.x;
|
||||
|
@ -750,9 +746,6 @@ EngStretchBlt(
|
|||
}
|
||||
else
|
||||
AdjustedBrushOrigin = Translate;
|
||||
#else
|
||||
AdjustedBrushOrigin = (BrushOrigin ? *BrushOrigin : Translate);
|
||||
#endif
|
||||
|
||||
if (NULL != OutputObj)
|
||||
{
|
||||
|
@ -1140,8 +1133,7 @@ EngMaskBitBlt(SURFOBJ *DestObj,
|
|||
OutputRect.right = DestRect->right + Translate.x;
|
||||
OutputRect.top = DestRect->top + Translate.y;
|
||||
OutputRect.bottom = DestRect->bottom + Translate.y;
|
||||
|
||||
#if 0
|
||||
|
||||
if(BrushOrigin)
|
||||
{
|
||||
AdjustedBrushOrigin.x = BrushOrigin->x + Translate.x;
|
||||
|
@ -1149,9 +1141,6 @@ EngMaskBitBlt(SURFOBJ *DestObj,
|
|||
}
|
||||
else
|
||||
AdjustedBrushOrigin = Translate;
|
||||
#else
|
||||
AdjustedBrushOrigin = (BrushOrigin ? *BrushOrigin : Translate);
|
||||
#endif
|
||||
|
||||
if (NULL != OutputObj)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue