Lines Matching refs:_context

62 		_context = _canvas.getContext( '2d', {
116 if ( _context.setLineDash === undefined ) {
118 _context.setLineDash = function () {};
148 return _context;
154 return _context.getContextAttributes();
268 _context.clearRect(
284 _context.fillRect(
322 _context.fillRect( 0, 0, _canvasWidth, _canvasHeight );
333_context.setTransform( _viewportWidth / _canvasWidth, 0, 0, - _viewportHeight / _canvasHeight, _vi…
334 _context.translate( _canvasWidthHalf, _canvasHeightHalf );
434 _context.setTransform( 1, 0, 0, 1, 0, 0 );
557 _context.save();
558 _context.translate( v1.x, v1.y );
559 if ( material.rotation !== 0 ) _context.rotate( material.rotation );
560 _context.translate( - scaleX / 2, - scaleY / 2 );
561 _context.scale( cx, cy );
562 _context.translate( - ox, - oy );
563 _context.fillRect( ox, oy, sx, sy );
564 _context.restore();
574 _context.save();
575 _context.translate( v1.x, v1.y );
576 if ( material.rotation !== 0 ) _context.rotate( material.rotation );
577 _context.scale( scaleX, - scaleY );
578 _context.fillRect( - 0.5, - 0.5, 1, 1 );
579 _context.restore();
588 _context.save();
589 _context.translate( v1.x, v1.y );
590 if ( material.rotation !== 0 ) _context.rotate( material.rotation );
591 _context.scale( scaleX, scaleY );
593 material.program( _context );
595 _context.restore();
601 _context.save();
602 _context.translate( v1.x, v1.y );
603 if ( material.rotation !== 0 ) _context.rotate( material.rotation );
604 _context.scale( scaleX * material.size, - scaleY * material.size );
605 _context.fillRect( - 0.5, - 0.5, 1, 1 );
606 _context.restore();
627 _context.beginPath();
628 _context.moveTo( v1.positionScreen.x, v1.positionScreen.y );
629 _context.lineTo( v2.positionScreen.x, v2.positionScreen.y );
654 var grad = _context.createLinearGradient(
681 _context.stroke();
806 _context.beginPath();
807 _context.moveTo( x0, y0 );
808 _context.lineTo( x1, y1 );
809 _context.lineTo( x2, y2 );
810 _context.closePath();
821 _context.stroke();
830 _context.fill();
911 var pattern = _context.createPattern( canvas, repeat );
940 _context.fill();
982 _context.save();
983 _context.transform( a, b, c, d, e, f );
984 _context.fill();
985 _context.restore();
1053 _context.globalAlpha = value;
1066 _context.globalCompositeOperation = 'source-over';
1070 _context.globalCompositeOperation = 'lighter';
1074 _context.globalCompositeOperation = 'darker';
1078 _context.globalCompositeOperation = 'multiply';
1092 _context.lineWidth = value;
1105 _context.lineCap = value;
1118 _context.lineJoin = value;
1129 _context.strokeStyle = value;
1140 _context.fillStyle = value;
1151 _context.setLineDash( value );