public MapVectors ( |
||
result | ||
vectors | ||
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);
}
}
}
}
SKMatrix::MapVectors ( |