SkiaSharp.SKMatrix.MapVectors C# (CSharp) Method

MapVectors() public method

public MapVectors ( SKPoint result, SKPoint vectors ) : void
result SKPoint
vectors SKPoint
return void
        public void MapVectors(SKPoint[] result, SKPoint[] vectors)
        {
            if (result == null)
                throw new ArgumentNullException(nameof(result));
            if (vectors == null)
                throw new ArgumentNullException(nameof(vectors));
            int dl = result.Length;
            if (dl != vectors.Length)
                throw new ArgumentException("Buffers must be the same size.");
            unsafe
            {
                fixed (SKPoint* rp = &result[0])
                {
                    fixed (SKPoint* pp = &vectors[0])
                    {
                        SkiaApi.sk_matrix_map_vectors(ref this, (IntPtr)rp, (IntPtr)pp, dl);
                    }
                }
            }
        }

Same methods

SKMatrix::MapVectors ( SKPoint vectors ) : SkiaSharp.SKPoint[]