Function copyRoi

Copies a strided ROI into a dense plane. The caller supplies element size through T; no allocation or ownership is hidden by the contract.

bool copyRoi(T)(
  PlaneWindow p,
  Roi roi,
  ref T[] destination
) @safe;