xterm
[VSoRC/.git] / node_modules / xterm / src / browser / renderer / atlas / Types.d.ts
1 /**
2  * Copyright (c) 2017 The xterm.js authors. All rights reserved.
3  * @license MIT
4  */
5
6 import { FontWeight } from 'common/services/Services';
7 import { IPartialColorSet } from 'browser/Types';
8
9 export interface IGlyphIdentifier {
10   chars: string;
11   code: number;
12   bg: number;
13   fg: number;
14   bold: boolean;
15   dim: boolean;
16   italic: boolean;
17 }
18
19 export interface ICharAtlasConfig {
20   devicePixelRatio: number;
21   fontSize: number;
22   fontFamily: string;
23   fontWeight: FontWeight;
24   fontWeightBold: FontWeight;
25   scaledCharWidth: number;
26   scaledCharHeight: number;
27   allowTransparency: boolean;
28   colors: IPartialColorSet;
29 }