Lines Matching +refs:text +refs:line +refs:d

36             new Processing(canvas, scripts[i].text);
47 new Processing(canvasArray[j], scripts[i].text);
2019 p.line(this.params[0], this.params[1],
2022 p.line(this.params[0], this.params[1], this.params[2],
3077 parseUnitSize: function (text) { argument
3078 var len = text.length - 2;
3079 if (len < 0) { return text; }
3080 if (text.indexOf("pt") === len) {
3081 return parseFloat(text.substring(0, len)) * 1.25;
3082 } else if (text.indexOf("pc") === len) {
3083 return parseFloat( text.substring( 0, len)) * 15;
3084 } else if (text.indexOf("mm") === len) {
3085 return parseFloat( text.substring(0, len)) * 3.543307;
3086 } else if (text.indexOf("cm") === len) {
3087 return parseFloat(text.substring(0, len)) * 35.43307;
3088 } else if (text.indexOf("in") === len) {
3089 return parseFloat(text.substring(0, len)) * 90;
3090 } else if (text.indexOf("px") === len) {
3091 return parseFloat(text.substring(0, len));
3093 return parseFloat(text);
3670 var d = this.determinant();
3671 if ( Math.abs( d ) > PConstants.FLOAT_MIN ) {
3678 this.elements[0] = old11 / d;
3679 this.elements[3] = -old10 / d;
3680 this.elements[1] = -old01 / d;
3681 this.elements[1] = old00 / d;
3682 this.elements[2] = (old01 * old12 - old11 * old02) / d;
3683 this.elements[5] = (old10 * old02 - old00 * old12) / d;
5246 p.status = function(text) { argument
5247 window.status = text;
5496 var decimalToHex = function decimalToHex(d, padding) { argument
5499 if (d < 0) {
5500 d = 0xFFFFFFFF + d + 1;
5502 var hex = Number(d).toString(16).toUpperCase();
5731 createTextNode = function(text) { argument
5732 return doc.createTextNode(text);
6012 if (typeof val[i] === 'string' && !/^\s*[+\-]?\d+\s*$/.test(val[i])) {
6799 p.box = function(w, h, d) { argument
6803 if (!h || !d) {
6804 h = d = w;
6809 model.scale(w, h, d);
8117 p.line(vertArray[i][0], vertArray[i][1], vertArray[i+1][0], vertArray[i+1][1]);
8574 p.line = function line() { function
8681 p.bezierPoint = function bezierPoint(a, b, c, d, t) { argument
8682 … * (1 - t) * (1 - t) * a + 3 * (1 - t) * (1 - t) * t * b + 3 * (1 - t) * t * t * c + t * t * t * d;
8685 p.bezierTangent = function bezierTangent(a, b, c, d, t) { argument
8686 return (3 * t * t * (-a + 3 * b - 3 * c + d) + 6 * t * (a - 2 * b + c) + 3 * (-a + b));
8689 p.curvePoint = function curvePoint(a, b, c, d, t) { argument
8690 … 0.5 * ((2 * b) + (-a + c) * t + (2 * a - 5 * b + 4 * c - d) * t * t + (-a + 3 * b - 3 * c + d) * …
8693 p.curveTangent = function curveTangent(a, b, c, d, t) { argument
8694 …return 0.5 * ((-a + c) + 2 * (2 * a - 5 * b + 4 * c - d) * t + 3 * (-a + 3 * b - 3 * c + d) * t * …
10620 graphics.text(character, 0, curTextSize);
10676 graphics.text(character, 0, 0);
10982 var line = lines[i];
10983 lineFunction(line, x, y + yOffset, z, horizontalTextAlignment);
11029 drawCommands.push({text:str.substring(start, j), width: lineWidth, offset: yOffset});
11032 … drawCommands.push({text:str.substring(start, spaceMark + 1), width: lineWidth, offset: yOffset});
11044 drawCommands.push({text:str.substring(start), width: lineWidth, offset: yOffset});
11073 …lineFunction(command.text, x + xOffset, y + command.offset + boxYOffset1 + boxYOffset2, z, horizon…
11077 p.text = function text() { function
11093 hud.text(arguments[0], 0, asc);
11123 var x, y, cx, cy, nx, ny, d, a, lastCom, lenC, horiz_adv_x, getXY = '[0-9\\-]+', path;
11139 var buildPath = function buildPath(d) { argument
11140 var c = regex("[A-Za-z][0-9\\- ]+|Z", d);
11151 d = 0;
11193 d = Math.sqrt(Math.pow(x - cx, 2) + Math.pow(cy - y, 2));
11195 cx = x + (Math.sin(a) * (d));
11196 cy = y + (Math.cos(a) * (d));
11257 d = glyph[i].getAttribute("d");
11259 if (d !== undef) {
11260 path = buildPath(d);
11859 function addAtom(text, type) { argument
11861 atoms.push(text);