gdiplus: Added GdipGetMatrixElements.
This commit is contained in:
parent
7a8866b347
commit
dd5e9a91f3
|
@ -313,7 +313,7 @@
|
|||
@ stub GdipGetLineWrapMode
|
||||
@ stub GdipGetLogFontA
|
||||
@ stub GdipGetLogFontW
|
||||
@ stub GdipGetMatrixElements
|
||||
@ stdcall GdipGetMatrixElements(ptr ptr)
|
||||
@ stub GdipGetMetafileDownLevelRasterizationLimit
|
||||
@ stub GdipGetMetafileHeaderFromEmf
|
||||
@ stub GdipGetMetafileHeaderFromFile
|
||||
|
|
|
@ -111,6 +111,17 @@ GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix *matrix)
|
|||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix *matrix,
|
||||
REAL *out)
|
||||
{
|
||||
if(!matrix || !out)
|
||||
return InvalidParameter;
|
||||
|
||||
memcpy(out, matrix->matrix, sizeof(matrix->matrix));
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix *matrix, GpMatrix* matrix2,
|
||||
GpMatrixOrder order)
|
||||
{
|
||||
|
|
|
@ -116,6 +116,7 @@ GpStatus WINGDIPAPI GdipCloneMatrix(GpMatrix*,GpMatrix**);
|
|||
GpStatus WINGDIPAPI GdipCreateMatrix2(REAL,REAL,REAL,REAL,REAL,REAL,GpMatrix**);
|
||||
GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix**);
|
||||
GpStatus WINGDIPAPI GdipDeleteMatrix(GpMatrix*);
|
||||
GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
|
||||
GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GpMatrix*,GpMatrixOrder);
|
||||
GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder);
|
||||
GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
|
||||
|
|
Loading…
Reference in New Issue