monaco-editor-core
Version:
A browser based code editor
17 lines • 901 B
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { ViewEventHandler } from '../../../common/viewEventHandler.js';
export class BaseRenderStrategy extends ViewEventHandler {
get glyphRasterizer() { return this._glyphRasterizer.value; }
constructor(_context, _viewGpuContext, _device, _glyphRasterizer) {
super();
this._context = _context;
this._viewGpuContext = _viewGpuContext;
this._device = _device;
this._glyphRasterizer = _glyphRasterizer;
this._context.addEventHandler(this);
}
}
//# sourceMappingURL=baseRenderStrategy.js.map