We changed plans from moving web worker compatible code to shared/ to enforcing layers using core/, common/, ui/ and public/. This change moves files back from the shared/ dir to clean up the codebase. Part of #1507
25 lines
561 B
TypeScript
25 lines
561 B
TypeScript
/**
|
|
* Copyright (c) 2017 The xterm.js authors. All rights reserved.
|
|
* @license MIT
|
|
*
|
|
* A dummy CharAtlas implementation that always fails to draw characters.
|
|
*/
|
|
|
|
import { IGlyphIdentifier, ICharAtlasConfig } from './Types';
|
|
import BaseCharAtlas from './BaseCharAtlas';
|
|
|
|
export default class NoneCharAtlas extends BaseCharAtlas {
|
|
constructor(document: Document, config: ICharAtlasConfig) {
|
|
super();
|
|
}
|
|
|
|
public draw(
|
|
ctx: CanvasRenderingContext2D,
|
|
glyph: IGlyphIdentifier,
|
|
x: number,
|
|
y: number
|
|
): boolean {
|
|
return false;
|
|
}
|
|
}
|