Class MatrixHelper
Inheritance
System.Object
MatrixHelper
Assembly: Mapsui.Rendering.Xaml.dll
Syntax
public static class MatrixHelper : object
Methods
|
Improve this Doc
View Source
Append(ref Matrix, Matrix)
Declaration
public static void Append(ref Matrix matrix, Matrix matrixOther)
Parameters
Type |
Name |
Description |
Matrix |
matrix |
|
Matrix |
matrixOther |
|
|
Improve this Doc
View Source
CreateScaling(Double, Double, Double, Double)
Declaration
public static Matrix CreateScaling(double scaleX, double scaleY, double centerX, double centerY)
Parameters
Type |
Name |
Description |
System.Double |
scaleX |
|
System.Double |
scaleY |
|
System.Double |
centerX |
|
System.Double |
centerY |
|
Returns
|
Improve this Doc
View Source
InvertX(ref Matrix, Double)
Declaration
public static void InvertX(ref Matrix matrix, double centerX = null)
Parameters
Type |
Name |
Description |
Matrix |
matrix |
|
System.Double |
centerX |
|
|
Improve this Doc
View Source
InvertY(ref Matrix, Double)
Declaration
public static void InvertY(ref Matrix matrix, double centerY = null)
Parameters
Type |
Name |
Description |
Matrix |
matrix |
|
System.Double |
centerY |
|
|
Improve this Doc
View Source
Multiply(ref Matrix, Matrix)
Declaration
public static void Multiply(ref Matrix trans1, Matrix trans2)
Parameters
Type |
Name |
Description |
Matrix |
trans1 |
|
Matrix |
trans2 |
|
|
Improve this Doc
View Source
Rotate(ref Matrix, Double)
Declaration
public static void Rotate(ref Matrix matrix, double angle)
Parameters
Type |
Name |
Description |
Matrix |
matrix |
|
System.Double |
angle |
|
|
Improve this Doc
View Source
RotateAt(ref Matrix, Double, Double, Double)
Declaration
public static void RotateAt(ref Matrix matrix, double angle, double centerX = null, double centerY = null)
Parameters
Type |
Name |
Description |
Matrix |
matrix |
|
System.Double |
angle |
|
System.Double |
centerX |
|
System.Double |
centerY |
|
|
Improve this Doc
View Source
ScaleAt(ref Matrix, Double, Double, Double, Double)
Declaration
public static void ScaleAt(ref Matrix matrix, double scaleX, double scaleY, double centerX = null, double centerY = null)
Parameters
Type |
Name |
Description |
Matrix |
matrix |
|
System.Double |
scaleX |
|
System.Double |
scaleY |
|
System.Double |
centerX |
|
System.Double |
centerY |
|
|
Improve this Doc
View Source
Translate(ref Matrix, Double, Double)
Declaration
public static void Translate(ref Matrix matrix, double offsetX, double offsetY)
Parameters
Type |
Name |
Description |
Matrix |
matrix |
|
System.Double |
offsetX |
|
System.Double |
offsetY |
|