| 7938 | return this._glyphs; |
| 7939 | } |
| 7940 | addGlyph(e3) { |
| 7941 | this._glyphs.push(e3), this._usedPixels += e3.size.x * e3.size.y; |
| 7942 | } |
| 7943 | constructor(e3, t3, i3) { |
| 7944 | if (this._usedPixels = 0, this._glyphs = [], this.version = 0, this.currentRow = { x: 0, y: 0, height: 0 }, this.fixedRows = [], i3) for (const e4 of i3) this._glyphs.push(...e4.glyphs), this._usedPixels += e4._usedPixels; |
| 7945 | this.canvas = p(e3, t3, t3), this.ctx = (0, o.throwIfFalsy)(this.canvas.getContext("2d", { alpha: true })); |
| 7946 | } |