Lines Matching refs:h

1762     var imageModeCorner = function imageModeCorner(x, y, w, h, whAreSizes) {  argument
1767 h: h
1772 var imageModeCorners = function imageModeCorners(x, y, w, h, whAreSizes) { argument
1777 h: whAreSizes ? h : h - y
1781 var imageModeCenter = function imageModeCenter(x, y, w, h, whAreSizes) { argument
1784 y: y - h / 2,
1786 h: h
2622 case 104: // h - horizontal lineto (relative)
4703 p.color.toRGB = function(h, s, b) { argument
4705 h = (h > colorModeX) ? colorModeX : h;
4709 h = (h / colorModeX) * 360;
4718 var hue = h % 360;
6229 var h = i & 15; // convert into 12 gradient directions
6230 var u = h<8 ? x : y,
6231 v = h<4 ? y : h===12||h===14 ? x : z;
6232 return ((h&1) === 0 ? u : -u) + ((h&2) === 0 ? v : -v);
6799 p.box = function(w, h, d) { argument
6803 if (!h || !d) {
6804 h = d = w;
6809 model.scale(w, h, d);
8870 h = height / 2,
8873 c_y = C * h;
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);
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);
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);
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
9532 var hgt = h || img.height;
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);
10055 var h = sh + sy1 - dy1;
10056 if (dh > h) {
10057 dh = h;