public virtual void GradientFill(TRIVERTEX[] pVertex, GRADIENT_TRIANGLE[] pMesh, uint dwMode) { GDI32.GradientFill(HDC, pVertex, (uint)pVertex.Length, pMesh, (uint)pMesh.Length, dwMode); }
public virtual void GradientTriangle(TRIVERTEX[] pVertex, GRADIENT_TRIANGLE[] pMesh, int dwMode) { GDI32.GradientTriangle(DeviceContext, pVertex, pVertex.Length, pMesh, pMesh.Length, dwMode); }
public static extern bool GradientTriangle( [In] SafeHandle hdc, // handle to DC TRIVERTEX[] pVertex, // array of vertices int dwNumVertex, // number of vertices GRADIENT_TRIANGLE[] pMesh, // array of gradients int dwNumMesh, // size of gradient array int dwMode // gradient fill mode );
public override void GradientTriangle(TRIVERTEX[] pVertex, GRADIENT_TRIANGLE[] pMesh, uint dwMode) { EMRGRADIENTFILL gradFill = new EMRGRADIENTFILL(); gradFill.rclBounds = RECT.Empty; gradFill.nVer = (uint)pVertex.Length; gradFill.nTri = (uint)pMesh.Length; gradFill.ulMode = dwMode; gradFill.Ver = pVertex; PackCommand(gradFill); }