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