mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
gdiplus: Remove unneeded casts.
This commit is contained in:
parent
a2e9b4bb0c
commit
507daae427
@ -235,10 +235,9 @@ COLORREF ARGB2COLORREF(ARGB color)
|
||||
ARGB: aarrggbb
|
||||
FIXME:doesn't handle alpha channel
|
||||
*/
|
||||
return (COLORREF)
|
||||
((color & 0x0000ff) << 16) +
|
||||
(color & 0x00ff00) +
|
||||
((color & 0xff0000) >> 16);
|
||||
return ((color & 0x0000ff) << 16) +
|
||||
(color & 0x00ff00) +
|
||||
((color & 0xff0000) >> 16);
|
||||
}
|
||||
|
||||
/* Like atan2, but puts angle in correct quadrant if dx is 0. */
|
||||
|
@ -570,6 +570,6 @@ GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix)
|
||||
if(path->pathdata.Count == 0)
|
||||
return Ok;
|
||||
|
||||
return GdipTransformMatrixPoints(matrix, (GpPointF*) path->pathdata.Points,
|
||||
return GdipTransformMatrixPoints(matrix, path->pathdata.Points,
|
||||
path->pathdata.Count);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user