ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { memoize } from '../../../../base/common/decorators.js';
import { Disposable } from '../../../../base/common/lifecycle.js';
import { isMacintosh } from '../../../../base/common/platform.js';
import { StringBuilder } from '../../../common/core/stringBuilder.js';
import { ColorId, FontStyle, TokenMetadata } from '../../../common/encodedTokenAttributes.js';
import type { DecorationStyleCache } from '../css/decorationStyleCache.js';
import { ensureNonNullable } from '../gpuUtils.js';
nextId
id nextId
_canvas OffscreenCanvas
_ctx OffscreenCanvasRenderingContext2D
_textMetrics TextMetrics
_workGlyph IRasterizedGlyph
source
boundingBox
left
bottom
right
top
originOffset
x
y
fontBoundingBoxAscent
fontBoundingBoxDescent
_workGlyphConfig chars tokenMetadata decorationStyleSetId chars tokenMetadata decorationStyleSetId
_antiAliasing isMacintosh
fontSize
fontFamily
devicePixelRatio
_decorationStyleCache DecorationStyleCache
devicePixelFontSize MathfontSize devicePixelRatio
_canvas devicePixelFontSize devicePixelFontSize
_ctx _canvas
willReadFrequently
alpha _antiAliasing
_ctxtextBaseline
_ctxfillStyle
_ctxfont
_textMetrics _ctx
chars
tokenMetadata
decorationStyleSetId
colorMap
ReadonlyIRasterizedGlyph
chars
source _canvas
boundingBox top left bottom right
originOffset x y
fontBoundingBoxAscent
fontBoundingBoxDescent
_workGlyphConfigchars chars _workGlyphConfigtokenMetadata tokenMetadata _workGlyphConfigdecorationStyleSetId decorationStyleSetId
_workGlyph
_workGlyphConfigchars chars
_workGlyphConfigtokenMetadata tokenMetadata
_workGlyphConfigdecorationStyleSetId decorationStyleSetId
chars tokenMetadata decorationStyleSetId colorMap
chars
tokenMetadata
decorationStyleSetId
colorMap
ReadonlyIRasterizedGlyph
devicePixelFontSize MathfontSize devicePixelRatio
canvasDim devicePixelFontSize
_canvaswidth canvasDim
_canvaswidth canvasDim
_canvasheight canvasDim
_ctx
subPixelXOffset tokenMetadata
bgId TokenMetadatatokenMetadata
bg colorMapbgId colorMapColorIdDefaultBackground
decorationStyleSet _decorationStyleCachedecorationStyleSetId
_antiAliasing
_ctxfillStyle bg
_ctx _canvaswidth _canvasheight
_ctx _canvaswidth _canvasheight
fontSb
fontStyle TokenMetadatatokenMetadata
fontStyle FontStyleItalic
fontSb
decorationStyleSetbold
decorationStyleSetbold
fontSb
fontStyle FontStyleBold
fontSb
fontSb
_ctxfont fontSb
originX devicePixelFontSize
originY devicePixelFontSize
decorationStyleSetcolor
_ctxfillStyle
_ctxfillStyle colorMapTokenMetadatatokenMetadata
decorationStyleSetopacity
_ctxglobalAlpha decorationStyleSetopacity
_ctxtextBaseline
_ctxchars originX subPixelXOffset originY
decorationStyleSetstrikethrough
strikethroughY MathoriginY _textMetricsalphabeticBaseline
lineWidth decorationStyleSetstrikethroughThickness
MathdecorationStyleSetstrikethroughThickness devicePixelRatio
Math MathdevicePixelFontSize
decorationStyleSetstrikethroughColor
_ctxfillStyle
_ctxoriginX strikethroughY MathlineWidth Math_textMetricswidth lineWidth
_ctx
imageData _ctx _canvaswidth _canvasheight
_antiAliasing
bgR bg
bgG bg
bgB bg
imageData bgR bgG bgB
_ctximageData
imageData _workGlyphboundingBox
_workGlyphsource _canvas
_workGlyphoriginOffsetx _workGlyphboundingBoxleft originX
_workGlyphoriginOffsety _workGlyphboundingBoxtop originY
_workGlyphfontBoundingBoxAscent _textMetricsfontBoundingBoxAscent
_workGlyphfontBoundingBoxDescent _textMetricsfontBoundingBoxDescent
_workGlyph
imageData ImageData r g b
offset offset imageDatadatalength offset
imageDatadataoffset r
imageDatadataoffset g
imageDatadataoffset b
imageDatadataoffset
imageData ImageData outBoundingBox IBoundingBox
height _canvasheight
width _canvaswidth
found
y y height y
x x width x
alphaOffset y width x
imageDatadataalphaOffset
outBoundingBoxtop y
found
found
outBoundingBoxleft
found
x x width x
y y height y
alphaOffset y width x
imageDatadataalphaOffset
outBoundingBoxleft x
found
found
outBoundingBoxright width
found
x width x outBoundingBoxleft x
y y height y
alphaOffset y width x
imageDatadataalphaOffset
outBoundingBoxright x
found
found
outBoundingBoxbottom outBoundingBoxtop
found
y height y y
x x width x
alphaOffset y width x
imageDatadataalphaOffset
outBoundingBoxbottom y
found
found
text TextMetrics
_ctxtext