setPixelFrom method

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

Sets a pixels at (dstX,dstY) with value from src at (srcX,srcY).

Implementation

void setPixelFrom(PCanvasPixels src, int srcX, int srcY, int dstX, int dstY) {
  _checkSameFormat(src);
  _setPixelFromImpl(src, srcX, srcY, dstX, dstY);
}