gdiplus: Added GdipSetMatrixElements.
This commit is contained in:
parent
dd5e9a91f3
commit
ad251e7fe3
|
@ -543,7 +543,7 @@
|
||||||
@ stub GdipSetLineSigmaBlend
|
@ stub GdipSetLineSigmaBlend
|
||||||
@ stub GdipSetLineTransform
|
@ stub GdipSetLineTransform
|
||||||
@ stub GdipSetLineWrapMode
|
@ stub GdipSetLineWrapMode
|
||||||
@ stub GdipSetMatrixElements
|
@ stdcall GdipSetMatrixElements(ptr long long long long long long)
|
||||||
@ stub GdipSetMetafileDownLevelRasterizationLimit
|
@ stub GdipSetMetafileDownLevelRasterizationLimit
|
||||||
@ stdcall GdipSetPageScale(ptr long)
|
@ stdcall GdipSetPageScale(ptr long)
|
||||||
@ stdcall GdipSetPageUnit(ptr long)
|
@ stdcall GdipSetPageUnit(ptr long)
|
||||||
|
|
|
@ -186,6 +186,22 @@ GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix *matrix, REAL scaleX, REAL scaleY,
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix *matrix, REAL m11, REAL m12,
|
||||||
|
REAL m21, REAL m22, REAL dx, REAL dy)
|
||||||
|
{
|
||||||
|
if(!matrix)
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
matrix->matrix[0] = m11;
|
||||||
|
matrix->matrix[1] = m12;
|
||||||
|
matrix->matrix[2] = m21;
|
||||||
|
matrix->matrix[3] = m22;
|
||||||
|
matrix->matrix[4] = dx;
|
||||||
|
matrix->matrix[5] = dy;
|
||||||
|
|
||||||
|
return Ok;
|
||||||
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix *matrix, GpPointF *pts,
|
GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix *matrix, GpPointF *pts,
|
||||||
INT count)
|
INT count)
|
||||||
{
|
{
|
||||||
|
|
|
@ -120,6 +120,7 @@ GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
|
||||||
GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GpMatrix*,GpMatrixOrder);
|
GpStatus WINGDIPAPI GdipMultiplyMatrix(GpMatrix*,GpMatrix*,GpMatrixOrder);
|
||||||
GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder);
|
GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder);
|
||||||
GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
|
GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
|
||||||
|
GpStatus WINGDIPAPI GdipSetMatrixElements(GpMatrix*,REAL,REAL,REAL,REAL,REAL,REAL);
|
||||||
GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
|
GpStatus WINGDIPAPI GdipTransformMatrixPoints(GpMatrix*,GpPointF*,INT);
|
||||||
GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
|
GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix*,REAL,REAL,GpMatrixOrder);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue