(fontname, fontsize, fontweight)
| 2432 | /*--- TEXT -----------------------------------------------------------------------------------------*/ |
| 2433 | |
| 2434 | function _ctx_font(fontname, fontsize, fontweight) { |
| 2435 | // Wrappers for _ctx.font, only calling it when necessary. |
| 2436 | if (fontweight.length > ITALIC.length && fontweight == BOLD+ITALIC || fontweight == ITALIC+BOLD) { |
| 2437 | fontweight = ITALIC + " " + BOLD; |
| 2438 | } |
| 2439 | _ctx.font = fontweight + " " + fontsize + "px " + fontname; |
| 2440 | } |
| 2441 | |
| 2442 | function str(v) { |
| 2443 | return v.toString(); |
no outgoing calls
no test coverage detected
searching dependent graphs…