Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/corleone113/my-matting
/ functions
Functions
641 in github.com/corleone113/my-matting
⨍
Functions
641
◇
Types & classes
73
↓ 1 callers
Function
ce
(e)
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
checkResources
(args: WebGLResource[])
src/libs/webgl-debug.ts:357
↓ 1 callers
Function
clearCanvas
清除画布中之前的内容
src/helpers/dom-helper.ts:111
↓ 1 callers
Function
clearErrors
()
src/libs/webgl-debug.ts:367
↓ 1 callers
Function
computeBoardRect
(canvas: HTMLCanvasElement)
src/helpers/init-compute.ts:7
↓ 1 callers
Function
computeBoardRectSize
(inputBoardRect: DOMRect, domRect: DOMRect)
src/helpers/init-compute.ts:13
↓ 1 callers
Function
computeInterpolationStep
(interpolationConfig: RenderInterpolationConfig)
src/helpers/drawing-compute.ts:28
↓ 1 callers
Function
computeMovements
(movements: MouseMovements)
src/helpers/drawing-compute.ts:14
↓ 1 callers
Function
computePositionAndMovements
计算绘制点坐标位置及鼠标指针水平、垂直移动距离
src/helpers/init-drawing-listeners.ts:163
↓ 1 callers
Function
computePositionRange
计算自适应变换后的绘制区域
src/helpers/init-compute.ts:60
↓ 1 callers
Function
computeRangeScaleRatio
计算绘制范围的变化比率
src/helpers/transform-helper.ts:67
↓ 1 callers
Function
computeRealMovements
计算相对于真实图像尺寸的移动距离
src/helpers/init-drawing-listeners.ts:181
↓ 1 callers
Function
computeRealPosition
计算相对于真实图像尺寸的鼠标位置
src/helpers/init-drawing-listeners.ts:173
↓ 1 callers
Function
computeRealRadius
(rawRadius: number, scaleRatio: number)
src/helpers/util.ts:20
↓ 1 callers
Function
computeScaledImageSize
(imageSize: RectSize, scaleRatio: number)
src/helpers/util.ts:43
↓ 1 callers
Function
computeStep
(radius: number)
src/helpers/util.ts:25
↓ 1 callers
Function
computeStepBase
(radius: number)
src/helpers/util.ts:15
↓ 1 callers
Function
computeTransformConfig
计算画板的变换配置对象
src/helpers/init-matting.ts:84
↓ 1 callers
Function
computeTransformParameters
(transformParametersConfig: TransformParametersConfig)
src/helpers/init-compute.ts:53
↓ 1 callers
Method
creatCursorCanvas
()
src/composables/use-matting-cursor.ts:33
↓ 1 callers
Method
creatCursorCanvas
()
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
create3DContext
( canvas: HTMLCanvasElement, glAttributes: any )
src/libs/webgl-utils.ts:155
↓ 1 callers
Method
createCursorImage
()
src/composables/use-matting-cursor.ts:44
↓ 1 callers
Method
createCursorImage
()
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
createProgram
( gl: WebGLRenderingContext, vshader: string, fshader: string )
src/libs/cuon-utils.ts:42
↓ 1 callers
Function
createRawImageContext2D
创建绘制了原始尺寸图片的绘制上下文
src/helpers/dom-helper.ts:192
↓ 1 callers
Function
createResultImageContext2D
创建绘制了原始尺寸结果图的绘制上下文
src/helpers/dom-helper.ts:182
↓ 1 callers
Function
d
(e,t)
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
down
(ev)
src/helpers/init-drawing-listeners.ts:37
↓ 1 callers
Function
drawBoardImageBorder
绘制画板上图像的边框
src/helpers/dom-helper.ts:132
↓ 1 callers
Method
drawIcon
()
src/composables/use-matting-cursor.ts:60
↓ 1 callers
Method
drawIcon
()
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
drawImageBorder
绘制抠图成果图的线框
src/helpers/dom-helper.ts:119
↓ 1 callers
Function
drawMattingInterpolationTrack
绘制插值轨迹
src/helpers/drawing-helper.ts:46
↓ 1 callers
Function
drawMattingPoint
绘制擦补/抠图区域的圆点
src/helpers/drawing-helper.ts:66
↓ 1 callers
Function
drawResultArea
在呈现的画布上绘制图像
src/helpers/drawing-helper.ts:89
↓ 1 callers
Function
drawResultImageInContext2D
在传入的绘制上下文上绘制原始尺寸的结果图
src/helpers/dom-helper.ts:199
↓ 1 callers
Function
ee
(e,t)
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
el
(t,e,r)
docs/vendor.84e83234.js:10
↓ 1 callers
Function
et
(n)
docs/vendor.84e83234.js:1
↓ 1 callers
Function
executeMattingDrawing
(drawingConfigs: MattingDrawingConfig[])
src/helpers/drawing-helper.ts:13
↓ 1 callers
Function
freeResources
()
src/libs/webgl-debug.ts:406
↓ 1 callers
Function
gc
(n)
docs/vendor.84e83234.js:10
↓ 1 callers
Function
ge
(n,t)
docs/vendor.84e83234.js:1
↓ 1 callers
Method
genWrapListener
(listenerConfig: ListenerConfig)
src/helpers/listener-manager.ts:130
↓ 1 callers
Method
genWrapListener
(e)
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
generateBrushBaseConfig
生成画笔的基础配置对象
src/helpers/init-drawing-listeners.ts:112
↓ 1 callers
Function
generateDrawingListener
生成擦补画笔的绘制监听器
src/helpers/init-drawing-listeners.ts:125
↓ 1 callers
Function
generateDrawingListenerConfig
生成绘制监听器的配置对象
src/helpers/init-drawing-listeners.ts:64
↓ 1 callers
Function
generateMaskImageSource
生成蒙版后的图像资源
src/helpers/init-matting.ts:51
↓ 1 callers
Function
getImageSourceFromCtx
(config: GetImageSourceConfig)
src/helpers/dom-helper.ts:104
↓ 1 callers
Function
getPositionRangeMaxX
(transformParametersConfig: TransformParametersConfig, scaledImageSize: RectSize)
src/helpers/init-compute.ts:81
↓ 1 callers
Function
getPositionRangeMaxY
(transformParametersConfig: TransformParametersConfig, scaledImageSize: RectSize)
src/helpers/init-compute.ts:85
↓ 1 callers
Function
getRawDistance
(xDistance: number, yDistance: number)
src/helpers/util.ts:10
↓ 1 callers
Function
getValidTransformConfig
获取有效的变换配置
src/helpers/init-matting.ts:67
↓ 1 callers
Function
getWebGLContext
( canvas: HTMLCanvasElement, opt_debug?: boolean )
src/libs/cuon-utils.ts:123
↓ 1 callers
Function
gi
(n)
docs/vendor.84e83234.js:10
↓ 1 callers
Function
gl
(n)
docs/vendor.84e83234.js:10
↓ 1 callers
Function
glFunctionArgToString
* Returns the string version of a WebGL argument. * Attempts to convert enum arguments to strings. * @param {string} functionName the name of the
src/libs/webgl-debug.ts:183
↓ 1 callers
Function
init
* Initializes this module. Safe to call more than once. * @param {!WebGLRenderingContext} ctx A WebGL context. If * you have more than one cont
src/libs/webgl-debug.ts:130
↓ 1 callers
Function
initBuffers
(gl: WebGLRenderingContext)
src/helpers/mask-renderer.ts:63
↓ 1 callers
Function
initDragListener
(mattingTransformConfig: InitMattingDragConfig)
src/helpers/init-transform-listener.ts:5
↓ 1 callers
Function
initDrawingListeners
(config: InitDrawingListenerConfig)
src/helpers/init-drawing-listeners.ts:23
↓ 1 callers
Function
initHiddenBoardWithSource
(initConfig: InitHiddenBoardWithImageConfig)
src/helpers/dom-helper.ts:83
↓ 1 callers
Function
initMaskRenderer
(cvs: HTMLCanvasElement, maskColor: GLColor = DEFAULT_MASK_COLOR)
src/helpers/mask-renderer.ts:26
↓ 1 callers
Function
initMatting
(initMattingConfig: InitMattingConfig)
src/helpers/init-matting.ts:14
↓ 1 callers
Function
initScaleListener
(mattingTransformConfig: InitMattingScaleConfig)
src/helpers/init-transform-listener.ts:21
↓ 1 callers
Function
initShaders
( gl: WebGLRenderingContext, vshader: string, fshader: string )
src/libs/cuon-utils.ts:18
↓ 1 callers
Function
initTexture
(gl: WebGLRenderingContext, image: TexImageSource)
src/helpers/mask-renderer.ts:94
↓ 1 callers
Function
initUniform
(gl: WebGLRenderingContext, location: string, val: number | GLColor)
src/helpers/mask-renderer.ts:51
↓ 1 callers
Method
initWheelListener
初始化wheel事件监听器
src/helpers/listener-manager.ts:78
↓ 1 callers
Method
initWheelListener
(e)
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
isInImageRange
(inRangeConfig: InImageRangeConfig)
src/helpers/drawing-compute.ts:8
↓ 1 callers
Function
isInResultBoard
(isErasing: boolean | undefined)
src/helpers/drawing-helper.ts:101
↓ 1 callers
Function
isInvalidTransformConfig
判断变换配置是否无效
src/helpers/init-matting.ts:78
↓ 1 callers
Function
isMaxMovement
是否为最大移动距离
src/helpers/drawing-compute.ts:45
↓ 1 callers
Method
isNeedToBindToTargets
是否需要绑定在目标元素上
src/helpers/listener-manager.ts:144
↓ 1 callers
Method
isNeedToBindToTargets
(e)
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
isWebGLResource
(obj: WebGLResource)
src/libs/webgl-debug.ts:345
↓ 1 callers
Function
ke
(e,t=k)
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
lc
(n)
docs/vendor.84e83234.js:10
↓ 1 callers
Function
le
(e,t)
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
log
(msg: string)
src/libs/webgl-debug.ts:32
↓ 1 callers
Function
makeErrorWrapper
(ctx: WebGLRenderingContext, functionName: WebGLContextFuncKey)
src/libs/webgl-debug.ts:226
↓ 1 callers
Function
makeFailHTML
(msg: string)
src/libs/webgl-utils.ts:66
↓ 1 callers
Function
makeLostContextWrapper
(ctx: WebGLRenderingContext, functionName: WebGLContextFuncKey)
src/libs/webgl-debug.ts:375
↓ 1 callers
Function
me
(e,t,n)
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
mo
(n,t,e,r,o=null)
docs/vendor.84e83234.js:1
↓ 1 callers
Function
move
(ev)
src/helpers/init-drawing-listeners.ts:49
↓ 1 callers
Function
needDrawInterpolation
(maxMovement: number, radius: number)
src/helpers/drawing-compute.ts:23
↓ 1 callers
Function
needDrawInterpolationPoint
(movement: number, moved: number, step: number)
src/helpers/drawing-compute.ts:60
↓ 1 callers
Function
nn
(n,t,e)
docs/vendor.84e83234.js:1
↓ 1 callers
Function
oe
(n)
docs/vendor.84e83234.js:10
↓ 1 callers
Method
onHideCursor
()
src/composables/use-matting-cursor.ts:78
↓ 1 callers
Method
onHideCursor
()
docs/index.b0c8c9b4.js:1
↓ 1 callers
Method
onShowCursor
()
src/composables/use-matting-cursor.ts:74
↓ 1 callers
Method
onShowCursor
()
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
qe
(e)
docs/index.b0c8c9b4.js:1
↓ 1 callers
Function
rc
(n)
docs/vendor.84e83234.js:10
↓ 1 callers
Function
redrawMattingBoardsWhileScaling
(ev: WheelEvent, scalingConfig: InitMattingTransformConfig)
src/helpers/transform-helper.ts:25
← previous
next →
401–500 of 641, ranked by callers