Commit 795b6221 authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Added GdipTranslateWorldTransform.

parent ff752456
...@@ -618,7 +618,7 @@ ...@@ -618,7 +618,7 @@
@ stub GdipTranslateRegion @ stub GdipTranslateRegion
@ stub GdipTranslateRegionI @ stub GdipTranslateRegionI
@ stub GdipTranslateTextureTransform @ stub GdipTranslateTextureTransform
@ stub GdipTranslateWorldTransform @ stdcall GdipTranslateWorldTransform(ptr long long long)
@ stub GdipVectorTransformMatrixPoints @ stub GdipVectorTransformMatrixPoints
@ stub GdipVectorTransformMatrixPointsI @ stub GdipVectorTransformMatrixPointsI
@ stub GdipWarpPath @ stub GdipWarpPath
......
...@@ -1594,3 +1594,12 @@ GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics *graphics, GpMatrix *matrix ...@@ -1594,3 +1594,12 @@ GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics *graphics, GpMatrix *matrix
GdipDeleteMatrix(graphics->worldtrans); GdipDeleteMatrix(graphics->worldtrans);
return GdipCloneMatrix(matrix, &graphics->worldtrans); return GdipCloneMatrix(matrix, &graphics->worldtrans);
} }
GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics *graphics, REAL dx,
REAL dy, GpMatrixOrder order)
{
if(!graphics)
return InvalidParameter;
return GdipTranslateMatrix(graphics->worldtrans, dx, dy, order);
}
...@@ -97,6 +97,7 @@ GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit); ...@@ -97,6 +97,7 @@ GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics*,GpUnit);
GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode); GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics*,PixelOffsetMode);
GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode); GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics*,SmoothingMode);
GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics*,GpMatrix*); GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics*,GpMatrix*);
GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics*,REAL,REAL,GpMatrixOrder);
GpStatus WINGDIPAPI GdipCloneBrush(GpBrush*,GpBrush**); GpStatus WINGDIPAPI GdipCloneBrush(GpBrush*,GpBrush**);
GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF*,INT,GpWrapMode, GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF*,INT,GpWrapMode,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment