本文整理汇总了C#中MatrixOrder类的典型用法代码示例。如果您正苦于以下问题:C# MatrixOrder类的具体用法?C# MatrixOrder怎么用?C# MatrixOrder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MatrixOrder类属于命名空间,在下文中一共展示了MatrixOrder类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: GdipTranslateWorldTransform
static internal extern Status GdipTranslateWorldTransform(IntPtr graphics, float dx, float dy, MatrixOrder order);
开发者ID:Profit0004,项目名称:mono,代码行数:1,代码来源:gdipFunctions.cs
示例2: MultiplyTransform
public void MultiplyTransform(Matrix matrix, MatrixOrder order)
{
if (matrix == null)
{
throw new ArgumentNullException("matrix");
}
gradientTransform.Multiply(matrix, order);
changed = true;
}
开发者ID:mono,项目名称:sysdrawing-coregraphics,代码行数:9,代码来源:LinearGradientBrush.cs
示例3: ScaleTransform
public void ScaleTransform(float sx, float sy, MatrixOrder order)
{
gradientTransform.Scale(sx, sy, order);
changed = true;
}
开发者ID:mono,项目名称:sysdrawing-coregraphics,代码行数:5,代码来源:LinearGradientBrush.cs
示例4: TranslateTransform
public void TranslateTransform(float dx, float dy, MatrixOrder order)
{
lock(this)
{
if(transform == null)
{
transform = new Matrix();
}
transform.Translate(dx, dy, order);
Modified();
}
}
开发者ID:jjenki11,项目名称:blaze-chem-rendering,代码行数:12,代码来源:TextureBrush.cs
示例5: GdipMultiplyWorldTransform
internal static extern GpStatus GdipMultiplyWorldTransform(GpGraphics graphics, GpMatrix matrix, MatrixOrder order);
开发者ID:Radytz,项目名称:DroppedBoxx,代码行数:1,代码来源:Graphics.cs
示例6: TranslateTransform
public void TranslateTransform(float tx, float ty, MatrixOrder order)
{
//Console.WriteLine ("Currently does not support anything but prepend mode");
modelMatrix.Translate(tx, ty, order);
applyModelView();
}
开发者ID:mono,项目名称:sysdrawing-coregraphics,代码行数:6,代码来源:Graphics.cs
示例7: RotateTransform
public void RotateTransform(float angle, MatrixOrder order)
{
lock(this)
{
if(transform == null)
{
transform = new Matrix();
}
transform.Rotate(angle, order);
Modified();
}
}
开发者ID:jjenki11,项目名称:blaze-chem-rendering,代码行数:12,代码来源:TextureBrush.cs
示例8: MultiplyTransform
public void MultiplyTransform(Matrix matrix, MatrixOrder order)
{
if (matrix == null)
{
throw new ArgumentNullException("matrix");
}
int status = SafeNativeMethods.Gdip.GdipMultiplyPathGradientTransform(new HandleRef(this, base.NativeBrush), new HandleRef(matrix, matrix.nativeMatrix), order);
if (status != 0)
{
throw SafeNativeMethods.Gdip.StatusException(status);
}
}
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:12,代码来源:PathGradientBrush.cs
示例9: TranslateTransform
public void TranslateTransform(float dx, float dy, MatrixOrder order)
{
int status = SafeNativeMethods.Gdip.GdipTranslatePathGradientTransform(new HandleRef(this, base.NativeBrush), dx, dy, order);
if (status != 0)
{
throw SafeNativeMethods.Gdip.StatusException(status);
}
}
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:8,代码来源:PathGradientBrush.cs
示例10: GdipScalePenTransform
internal static extern Status GdipScalePenTransform (IntPtr pen, float sx, float sy, MatrixOrder order);
开发者ID:Profit0004,项目名称:mono,代码行数:1,代码来源:gdipFunctions.cs
示例11: GdipTranslatePenTransform
internal static extern Status GdipTranslatePenTransform (IntPtr pen, float dx, float dy, MatrixOrder order);
开发者ID:Profit0004,项目名称:mono,代码行数:1,代码来源:gdipFunctions.cs
示例12: GdipRotatePenTransform
internal static extern Status GdipRotatePenTransform (IntPtr pen, float angle, MatrixOrder order);
开发者ID:Profit0004,项目名称:mono,代码行数:1,代码来源:gdipFunctions.cs
示例13: GdipMultiplyPenTransform
internal static extern Status GdipMultiplyPenTransform (IntPtr pen, IntPtr matrix, MatrixOrder order);
开发者ID:Profit0004,项目名称:mono,代码行数:1,代码来源:gdipFunctions.cs
示例14: GdipScaleWorldTransform
internal static extern Status GdipScaleWorldTransform (IntPtr graphics, float sx, float sy, MatrixOrder order);
开发者ID:Profit0004,项目名称:mono,代码行数:1,代码来源:gdipFunctions.cs
示例15: RotateTransform
public void RotateTransform(float angle, MatrixOrder order)
{
modelMatrix.Rotate(angle, order);
applyModelView();
}
开发者ID:mono,项目名称:sysdrawing-coregraphics,代码行数:5,代码来源:Graphics.cs
示例16: ScaleTransform
public void ScaleTransform(float sx, float sy, MatrixOrder order)
{
this._innerGraphics.ScaleTransform(sx, sy, order);
}
开发者ID:DnevnikRu,项目名称:SVG,代码行数:4,代码来源:SvgRenderer.cs
示例17: ScaleTransform
public void ScaleTransform(float sx, float sy, MatrixOrder order)
{
modelMatrix.Scale(sx,sy,order);
applyModelView();
}
开发者ID:mono,项目名称:sysdrawing-coregraphics,代码行数:5,代码来源:Graphics.cs
示例18: TranslateTransform
public void TranslateTransform(float dx, float dy, MatrixOrder order)
{
this._innerGraphics.TranslateTransform(dx, dy, order);
}
开发者ID:DnevnikRu,项目名称:SVG,代码行数:4,代码来源:SvgRenderer.cs
示例19: MultiplyTransform
public void MultiplyTransform(Matrix matrix, MatrixOrder order)
{
lock(this)
{
if(transform == null)
{
transform = new Matrix();
}
transform.Multiply(matrix, order);
Modified();
}
}
开发者ID:jjenki11,项目名称:blaze-chem-rendering,代码行数:12,代码来源:TextureBrush.cs
示例20: GdipTranslatePenTransform
internal static extern GpStatus GdipTranslatePenTransform(GpPen pen, float dx, float dy, MatrixOrder order);
开发者ID:north0808,项目名称:haina,代码行数:1,代码来源:Pens.cs
注:本文中的MatrixOrder类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论