Lines Matching refs:w

1762     var imageModeCorner = function imageModeCorner(x, y, w, h, whAreSizes) {  argument
1766 w: w,
1772 var imageModeCorners = function imageModeCorners(x, y, w, h, whAreSizes) { argument
1776 w: whAreSizes ? w : w - x,
1781 var imageModeCenter = function imageModeCenter(x, y, w, h, whAreSizes) { argument
1783 x: x - w / 2,
1785 w: w,
3832 var x, y, z, w; variable in PMatrix3D
3837 w = 1;
3845 w = source[3] || 1;
3858 …get[0] = this.elements[0] * x + this.elements[1] * y + this.elements[2] * z + this.elements[3] * w;
3859 …get[1] = this.elements[4] * x + this.elements[5] * y + this.elements[6] * z + this.elements[7] * w;
3860 …t[2] = this.elements[8] * x + this.elements[9] * y + this.elements[10] * z + this.elements[11] * w;
3861 …3] = this.elements[12] * x + this.elements[13] * y + this.elements[14] * z + this.elements[15] * w;
4003 multX: function(x, y, z, w) {
4006 } else if (!w) {
4009 … return this.elements[0] * x + this.elements[1] * y + this.elements[2] * z + this.elements[3] * w;
4012 multY: function(x, y, z, w) {
4015 } else if (!w) {
4018 … return this.elements[4] * x + this.elements[5] * y + this.elements[6] * z + this.elements[7] * w;
4021 multZ: function(x, y, z, w) {
4022 if (!w) {
4025 …return this.elements[8] * x + this.elements[9] * y + this.elements[10] * z + this.elements[11] * w;
4028 multW: function(x, y, z, w) {
4029 if (!w) {
4032 …turn this.elements[12] * x + this.elements[13] * y + this.elements[14] * z + this.elements[15] * w;
6164 var z=i1 || 362436069, w= i2 || 521288629;
6167 w=(18000*(w&65535)+(w>>>16)) & 0xFFFFFFFF;
6168 return (((z&0xFFFF)<<16) | (w&0xFFFF)) & 0xFFFFFFFF;
6799 p.box = function(w, h, d) { argument
6804 h = d = w;
6809 model.scale(w, h, d);
7351 p.strokeWeight = function strokeWeight(w) { argument
7352 lineWidth = w;
7356 uniformf(programObject2D, "pointSize", w);
7358 curContext.lineWidth = w;
8869 var w = width / 2,
8872 var c_x = C * w,
8878 p.vertex(x + w, y);
8879 p.bezierVertex(x + w, y - c_y, x + c_x, y - h, x, y - h);
8880 p.bezierVertex(x - c_x, y - h, x - w, y - c_y, x - w, y);
8881 p.bezierVertex(x - w, y + c_y, x - c_x, y + h, x, y + h);
8882 p.bezierVertex(x + c_x, y + h, x + w, y + c_y, x + w, y);
8887 p.vertex(x + w, y);
8888 p.bezierVertex(x + w, y - c_y, 0, x + c_x, y - h, 0, x, y - h, 0);
8889 p.bezierVertex(x - c_x, y - h, 0, x - w, y - c_y, 0, x - w, y, 0);
8890 p.bezierVertex(x - w, y + c_y, 0, x - c_x, y + h, 0, x, y + h, 0);
8891 p.bezierVertex(x + c_x, y + h, 0, x + w, y + c_y, 0, x + w, y, 0);
8971 function getCanvasData(obj, w, h) { argument
8983 width = w || obj.width, height = h || obj.height;
9000 this.get = function(x, y, w, h) { argument
9006 return p.get(x, y, w, h, this);
9043 this.resize = function(w, h) { argument
9049 if (w === 0 && h !== 0) {
9050 w = this.width / this.height * h;
9051 } else if (h === 0 && w !== 0) {
9052 h = w / (this.width / this.height);
9057 var imageData = getCanvasData(canvas, w, h).context.getImageData(0, 0, w, h);
9198 p.createImage = function createImage(w, h, mode) { argument
9199 return new PImage(w,h,mode);
9280 function get$4(x, y, w, h) { argument
9282 var c = new PImage(w, h, PConstants.RGB);
9283 c.fromImageData(curContext.getImageData(x, y, w, h));
9286 function get$5(x, y, w, h, img) { argument
9293 var end = (y + h) * img.width * 4 + ((x + w) * 4);
9294 var c = new PImage(w, h, PConstants.RGB);
9298 if ((j+1) % (w*4) === 0) {
9300 i += (img.width - w) * 4;
9308 p.get = function get(x, y, w, h, img) {
9315 return get$5(x, y, w, h, img);
9317 return get$4(x, y, w, h);
9319 return get$3(x, y, w);
9327 p.createGraphics = function createGraphics(w, h, render) { argument
9330 pg.size(w, h, render);
9529 p.image = function image(img, x, y, w, h) { argument
9531 var wid = w || img.width;
9542 …var bounds = imageModeConvert(x || 0, y || 0, w || img.width, h || img.height, arguments.length < …
9564 …ge(getCanvasData(obj).canvas, 0, 0, img.width, img.height, bounds.x, bounds.y, bounds.w, bounds.h);
10044 var w = sw + sx1 - dx1;
10045 if (dw > w) {
10046 dw = w;