drawPixels method
void
drawPixels(])
Implementation
void drawPixels(
BitmapData source, Rectangle<num> sourceRect, Point<num> destPoint,
[BlendMode? blendMode]) {
final sourceQuad = source.renderTextureQuad.cut(sourceRect);
final renderState =
RenderState(_renderContext, _drawMatrix, 1.0, blendMode);
renderState.globalMatrix.prependTranslation(destPoint.x, destPoint.y);
renderState.renderTextureQuad(sourceQuad);
}