setPixelsColumnFrom method

void setPixelsColumnFrom(
  1. PCanvasPixels src,
  2. int srcX,
  3. int srcY,
  4. int dstX,
  5. int dstY,
  6. int height,
)

Implementation

void setPixelsColumnFrom(
    PCanvasPixels src, int srcX, int srcY, int dstX, int dstY, int height) {
  _checkSameFormat(src);

  for (var i = 0; i < height; ++i) {
    _setPixelFromImpl(src, srcX, srcY + i, dstX, dstY + i);
  }
}