• Home
  • Raw
  • Download

Lines Matching refs:writeText

88         result->writeText("pop ");  in interpolate_color_code()
95 result->writeText("dup "); in interpolate_color_code()
100 result->writeText(" "); in interpolate_color_code()
104 result->writeText(" mul "); in interpolate_color_code()
108 result->writeText(" add "); in interpolate_color_code()
113 result->writeText("exch\n"); in interpolate_color_code()
156 result->writeText("dup 0 le {pop "); in gradient_function_code()
158 result->writeText(" "); in gradient_function_code()
160 result->writeText(" "); in gradient_function_code()
162 result->writeText(" }\n"); in gradient_function_code()
172 result->writeText("{dup "); in gradient_function_code()
174 result->writeText(" le {"); in gradient_function_code()
177 result->writeText(" sub\n"); in gradient_function_code()
182 result->writeText("}\n"); in gradient_function_code()
186 result->writeText("{pop "); in gradient_function_code()
188 result->writeText(" "); in gradient_function_code()
190 result->writeText(" "); in gradient_function_code()
194 result->writeText("} ifelse\n"); in gradient_function_code()
297 result->writeText("dup truncate sub\n"); // Get the fractional part. in tileModeCode()
298 result->writeText("dup 0 le {1 add} if\n"); // Map (-1,0) => (0,1) in tileModeCode()
305 result->writeText("abs " // Map negative to positive. in tileModeCode()
347 code->writeText(" dup "); // x y y in apply_perspective_to_coordinates()
349 code->writeText(" mul " // x y y*p1 in apply_perspective_to_coordinates()
352 code->writeText(" mul "); // x y y*p1 x*p0 in apply_perspective_to_coordinates()
354 code->writeText(" add " // x y y*p1 x*p0+p2 in apply_perspective_to_coordinates()
368 function->writeText("{"); in linearCode()
372 function->writeText("pop\n"); // Just ditch the y value. in linearCode()
375 function->writeText("}"); in linearCode()
381 function->writeText("{"); in radialCode()
386 function->writeText("dup " // x y y in radialCode()
396 function->writeText("}"); in radialCode()
416 function->writeText("{"); in twoPointConicalCode()
420 function->writeText("2 copy "); in twoPointConicalCode()
424 function->writeText(" mul exch "); in twoPointConicalCode()
426 function->writeText(" mul add "); in twoPointConicalCode()
428 function->writeText(" add -2 mul dup dup mul\n"); in twoPointConicalCode()
431 function->writeText("4 2 roll dup mul exch dup mul add "); in twoPointConicalCode()
433 function->writeText(" sub dup 4 1 roll\n"); in twoPointConicalCode()
441 function->writeText("pop pop div neg dup "); in twoPointConicalCode()
445 function->writeText(" mul "); in twoPointConicalCode()
447 function->writeText(" add\n"); in twoPointConicalCode()
450 function->writeText("0 lt {pop false} {true} ifelse\n"); in twoPointConicalCode()
459 function->writeText(" mul sub dup\n"); in twoPointConicalCode()
462 function->writeText("0 ge {\n"); in twoPointConicalCode()
466 function->writeText("sqrt exch dup 0 lt {exch -1 mul} if"); in twoPointConicalCode()
467 function->writeText(" add -0.5 mul dup\n"); in twoPointConicalCode()
471 function->writeText(" div\n"); in twoPointConicalCode()
474 function->writeText("3 1 roll div\n"); in twoPointConicalCode()
477 function->writeText("2 copy gt {exch} if\n"); in twoPointConicalCode()
480 function->writeText("dup "); in twoPointConicalCode()
482 function->writeText(" mul "); in twoPointConicalCode()
484 function->writeText(" add\n"); in twoPointConicalCode()
487 function->writeText(" 0 gt {exch pop true}\n"); in twoPointConicalCode()
490 function->writeText("{pop dup\n"); in twoPointConicalCode()
492 function->writeText(" mul "); in twoPointConicalCode()
494 function->writeText(" add\n"); in twoPointConicalCode()
497 function->writeText("0 le {pop false} {true} ifelse\n"); in twoPointConicalCode()
498 function->writeText("} ifelse\n"); in twoPointConicalCode()
501 function->writeText("} {pop pop pop false} ifelse\n"); in twoPointConicalCode()
505 function->writeText("{"); in twoPointConicalCode()
510 function->writeText("} {0 0 0} ifelse }"); in twoPointConicalCode()
516 function->writeText("{exch atan 360 div\n"); in sweepCode()
519 function->writeText("}"); in sweepCode()