gdiplus: Implement GdipCreateMatrix3I.
This commit is contained in:
parent
fd0cbca787
commit
0f42f4c532
|
@ -106,7 +106,7 @@
|
|||
@ stub GdipCreateLineBrushI
|
||||
@ stdcall GdipCreateMatrix2(long long long long long long ptr)
|
||||
@ stdcall GdipCreateMatrix3(ptr ptr ptr)
|
||||
@ stub GdipCreateMatrix3I
|
||||
@ stdcall GdipCreateMatrix3I(ptr ptr ptr)
|
||||
@ stdcall GdipCreateMatrix(ptr)
|
||||
@ stdcall GdipCreateMetafileFromEmf(ptr long ptr)
|
||||
@ stub GdipCreateMetafileFromFile
|
||||
|
|
|
@ -89,6 +89,23 @@ GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *rect,
|
|||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect *rect, GDIPCONST GpPoint *pt,
|
||||
GpMatrix **matrix)
|
||||
{
|
||||
GpRectF rectF;
|
||||
GpPointF ptF;
|
||||
|
||||
rectF.X = (REAL)rect->X;
|
||||
rectF.Y = (REAL)rect->Y;
|
||||
rectF.Width = (REAL)rect->Width;
|
||||
rectF.Height = (REAL)rect->Height;
|
||||
|
||||
ptF.X = (REAL)pt->X;
|
||||
ptF.Y = (REAL)pt->Y;
|
||||
|
||||
return GdipCreateMatrix3(&rectF, &ptF, matrix);
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix *matrix, GpMatrix **clone)
|
||||
{
|
||||
if(!matrix || !clone)
|
||||
|
|
|
@ -219,6 +219,8 @@ GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix**);
|
|||
GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
|
||||
GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *,GDIPCONST GpPointF*,
|
||||
GpMatrix**);
|
||||
GpStatus WINGDIPAPI GdipCreateMatrix3I(GDIPCONST GpRect*,GDIPCONST GpPoint*,GpMatrix**);
|
||||
|
||||
GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*);
|
||||
GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
|
||||
GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GpMatrix*,GpMatrixOrder);
|
||||
|
|
Loading…
Reference in New Issue