GlyphRenderer.dosVga437 constructor
GlyphRenderer.dosVga437(
- CanvasRenderingContext2D context, [
- int? scale
Create a GlyphRenderer using the default built-in Code Page 437 glyph set
Implementation
factory GlyphRenderer.dosVga437(html.CanvasRenderingContext2D context,
[int? scale]) {
scale ??= html.window.devicePixelRatio.toInt();
var charSize = Vec2(dosVga437CharWidth, dosVga437CharHeight);
return GlyphRenderer(
dosVga437GlyphsSrc, defaultUnicodeMap, charSize, context, scale);
}