// Once this is called, the resultant path is made of line segments and // the original path information is lost. When matrix is null, the // identity matrix is assumed. public GpStatus Warp(GpPointF[] destPoints, GpRectF srcRect, Matrix matrix, WarpMode warpMode, float flatness) { GpMatrix nativeMatrix = new GpMatrix(); if (matrix != null) { nativeMatrix = matrix.nativeMatrix; } return(SetStatus(NativeMethods.GdipWarpPath( nativePath, nativeMatrix, destPoints, destPoints.Length, srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height, warpMode, flatness))); }
// This is not always the tightest bounds. //Status GetBounds(out GpRectF bounds, // Matrix matrix, // Pen pen ) ; //Status GetBounds(OUT GpRect* bounds, // Matrix* matrix = null, // Pen* pen = null) ; // Once flattened, the resultant path is made of line segments and // the original path information is lost. When matrix is null the // identity matrix is assumed. public GpStatus Flatten(Matrix matrix, float flatness) { GpMatrix nativeMatrix = new GpMatrix(); if (matrix != null) { nativeMatrix = matrix.nativeMatrix; } return(SetStatus(NativeMethods.GdipFlattenPath( nativePath, nativeMatrix, flatness ))); }
public GpStatus Outline( Matrix matrix, float flatness ) { GpMatrix nativeMatrix = new GpMatrix(); if (matrix != null) { nativeMatrix = matrix.nativeMatrix; } return(SetStatus(NativeMethods.GdipWindingModeOutline( nativePath, nativeMatrix, flatness ))); }
public GpStatus Widen( PenPlus pen, Matrix matrix, float flatness ) { GpMatrix nativeMatrix = new GpMatrix(); if (matrix != null) { nativeMatrix = matrix.nativeMatrix; } return(SetStatus(NativeMethods.GdipWidenPath( nativePath, pen.nativePen, nativeMatrix, flatness ))); }
GdipSetPenTransform(GpPen pen, GpMatrix matrix);
GdipSetMatrixElements(GpMatrix matrix, float m11, float m12, float m21, float m22, float dx, float dy);
GdipGetMatrixElements(GpMatrix matrix, float[] matrixOut);
GdipMultiplyPathGradientTransform(GpPathGradient brush, GpMatrix matrix, MatrixOrder order);
GdipGetRegionScansCount(GpRegion region, out uint count, GpMatrix matrix);
protected Matrix(GpMatrix nativeMatrix) { lastResult = GpStatus.Ok; SetNativeMatrix(nativeMatrix); }
GdipSetWorldTransform(GpGraphics graphics, GpMatrix matrix);
GdipTransformPath(GpPath path, GpMatrix matrix);
GdipGetPathWorldBoundsI(GpPath path, GpRect[] bounds, out GpMatrix matrix, out GpPen pen);
GdipWidenPath( GpPath nativePath, GpPen pen, GpMatrix matrix, float flatness );
GdipWarpPath(GpPath path, GpMatrix matrix, GpPointF[] points, int count, float srcx, float srcy, float srcwidth, float srcheight, WarpMode warpMode, float flatness);
GdipWindingModeOutline( GpPath path, GpMatrix matrix, float flatness );
GdipFlattenPath(GpPath path, GpMatrix matrix, float flatness);
GdipGetRegionScansI(GpRegion region, GpRect[] rects, ref int count, GpMatrix matrix);
GdipGetPenTransform(GpPen pen, out GpMatrix matrix);
GdipCreateMatrix(out GpMatrix matrix);
GdipMultiplyPenTransform(GpPen pen, GpMatrix matrix, MatrixOrder order);
GdipSetTextureTransform(GpTexture brush, GpMatrix matrix);
void SetNativeMatrix(GpMatrix nativeMatrix) { this.nativeMatrix = nativeMatrix; }
GdipSetPathGradientTransform(GpPathGradient brush, GpMatrix matrix);
GdipMultiplyWorldTransform(GpGraphics graphics, GpMatrix matrix, MatrixOrder order);
GdipDeleteMatrix(GpMatrix matrix);
GdipCreateMatrix2(float m11, float m12, float m21, float m22, float dx, float dy, out GpMatrix matrix);
GdipMultiplyTextureTransform(GpTexture brush, GpMatrix matrix, MatrixOrder order);
GdipCreateMatrix3(GpRectF rect, GpPointF[] dstplg, out GpMatrix matrix);
GdipGetPathGradientTransform(GpPathGradient brush, out GpMatrix matrix);