MCPcopy Create free account

hub / github.com/corleone113/my-matting / functions

Functions641 in github.com/corleone113/my-matting

↓ 1 callersFunctionce
(e)
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctioncheckResources
(args: WebGLResource[])
src/libs/webgl-debug.ts:357
↓ 1 callersFunctionclearCanvas
清除画布中之前的内容
src/helpers/dom-helper.ts:111
↓ 1 callersFunctionclearErrors
()
src/libs/webgl-debug.ts:367
↓ 1 callersFunctioncomputeBoardRect
(canvas: HTMLCanvasElement)
src/helpers/init-compute.ts:7
↓ 1 callersFunctioncomputeBoardRectSize
(inputBoardRect: DOMRect, domRect: DOMRect)
src/helpers/init-compute.ts:13
↓ 1 callersFunctioncomputeInterpolationStep
(interpolationConfig: RenderInterpolationConfig)
src/helpers/drawing-compute.ts:28
↓ 1 callersFunctioncomputeMovements
(movements: MouseMovements)
src/helpers/drawing-compute.ts:14
↓ 1 callersFunctioncomputePositionAndMovements
计算绘制点坐标位置及鼠标指针水平、垂直移动距离
src/helpers/init-drawing-listeners.ts:163
↓ 1 callersFunctioncomputePositionRange
计算自适应变换后的绘制区域
src/helpers/init-compute.ts:60
↓ 1 callersFunctioncomputeRangeScaleRatio
计算绘制范围的变化比率
src/helpers/transform-helper.ts:67
↓ 1 callersFunctioncomputeRealMovements
计算相对于真实图像尺寸的移动距离
src/helpers/init-drawing-listeners.ts:181
↓ 1 callersFunctioncomputeRealPosition
计算相对于真实图像尺寸的鼠标位置
src/helpers/init-drawing-listeners.ts:173
↓ 1 callersFunctioncomputeRealRadius
(rawRadius: number, scaleRatio: number)
src/helpers/util.ts:20
↓ 1 callersFunctioncomputeScaledImageSize
(imageSize: RectSize, scaleRatio: number)
src/helpers/util.ts:43
↓ 1 callersFunctioncomputeStep
(radius: number)
src/helpers/util.ts:25
↓ 1 callersFunctioncomputeStepBase
(radius: number)
src/helpers/util.ts:15
↓ 1 callersFunctioncomputeTransformConfig
计算画板的变换配置对象
src/helpers/init-matting.ts:84
↓ 1 callersFunctioncomputeTransformParameters
(transformParametersConfig: TransformParametersConfig)
src/helpers/init-compute.ts:53
↓ 1 callersMethodcreatCursorCanvas
()
src/composables/use-matting-cursor.ts:33
↓ 1 callersMethodcreatCursorCanvas
()
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctioncreate3DContext
( canvas: HTMLCanvasElement, glAttributes: any )
src/libs/webgl-utils.ts:155
↓ 1 callersMethodcreateCursorImage
()
src/composables/use-matting-cursor.ts:44
↓ 1 callersMethodcreateCursorImage
()
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctioncreateProgram
( gl: WebGLRenderingContext, vshader: string, fshader: string )
src/libs/cuon-utils.ts:42
↓ 1 callersFunctioncreateRawImageContext2D
创建绘制了原始尺寸图片的绘制上下文
src/helpers/dom-helper.ts:192
↓ 1 callersFunctioncreateResultImageContext2D
创建绘制了原始尺寸结果图的绘制上下文
src/helpers/dom-helper.ts:182
↓ 1 callersFunctiond
(e,t)
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctiondown
(ev)
src/helpers/init-drawing-listeners.ts:37
↓ 1 callersFunctiondrawBoardImageBorder
绘制画板上图像的边框
src/helpers/dom-helper.ts:132
↓ 1 callersMethoddrawIcon
()
src/composables/use-matting-cursor.ts:60
↓ 1 callersMethoddrawIcon
()
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctiondrawImageBorder
绘制抠图成果图的线框
src/helpers/dom-helper.ts:119
↓ 1 callersFunctiondrawMattingInterpolationTrack
绘制插值轨迹
src/helpers/drawing-helper.ts:46
↓ 1 callersFunctiondrawMattingPoint
绘制擦补/抠图区域的圆点
src/helpers/drawing-helper.ts:66
↓ 1 callersFunctiondrawResultArea
在呈现的画布上绘制图像
src/helpers/drawing-helper.ts:89
↓ 1 callersFunctiondrawResultImageInContext2D
在传入的绘制上下文上绘制原始尺寸的结果图
src/helpers/dom-helper.ts:199
↓ 1 callersFunctionee
(e,t)
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctionel
(t,e,r)
docs/vendor.84e83234.js:10
↓ 1 callersFunctionet
(n)
docs/vendor.84e83234.js:1
↓ 1 callersFunctionexecuteMattingDrawing
(drawingConfigs: MattingDrawingConfig[])
src/helpers/drawing-helper.ts:13
↓ 1 callersFunctionfreeResources
()
src/libs/webgl-debug.ts:406
↓ 1 callersFunctiongc
(n)
docs/vendor.84e83234.js:10
↓ 1 callersFunctionge
(n,t)
docs/vendor.84e83234.js:1
↓ 1 callersMethodgenWrapListener
(listenerConfig: ListenerConfig)
src/helpers/listener-manager.ts:130
↓ 1 callersMethodgenWrapListener
(e)
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctiongenerateBrushBaseConfig
生成画笔的基础配置对象
src/helpers/init-drawing-listeners.ts:112
↓ 1 callersFunctiongenerateDrawingListener
生成擦补画笔的绘制监听器
src/helpers/init-drawing-listeners.ts:125
↓ 1 callersFunctiongenerateDrawingListenerConfig
生成绘制监听器的配置对象
src/helpers/init-drawing-listeners.ts:64
↓ 1 callersFunctiongenerateMaskImageSource
生成蒙版后的图像资源
src/helpers/init-matting.ts:51
↓ 1 callersFunctiongetImageSourceFromCtx
(config: GetImageSourceConfig)
src/helpers/dom-helper.ts:104
↓ 1 callersFunctiongetPositionRangeMaxX
(transformParametersConfig: TransformParametersConfig, scaledImageSize: RectSize)
src/helpers/init-compute.ts:81
↓ 1 callersFunctiongetPositionRangeMaxY
(transformParametersConfig: TransformParametersConfig, scaledImageSize: RectSize)
src/helpers/init-compute.ts:85
↓ 1 callersFunctiongetRawDistance
(xDistance: number, yDistance: number)
src/helpers/util.ts:10
↓ 1 callersFunctiongetValidTransformConfig
获取有效的变换配置
src/helpers/init-matting.ts:67
↓ 1 callersFunctiongetWebGLContext
( canvas: HTMLCanvasElement, opt_debug?: boolean )
src/libs/cuon-utils.ts:123
↓ 1 callersFunctiongi
(n)
docs/vendor.84e83234.js:10
↓ 1 callersFunctiongl
(n)
docs/vendor.84e83234.js:10
↓ 1 callersFunctionglFunctionArgToString
* 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 callersFunctioninit
* 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 callersFunctioninitBuffers
(gl: WebGLRenderingContext)
src/helpers/mask-renderer.ts:63
↓ 1 callersFunctioninitDragListener
(mattingTransformConfig: InitMattingDragConfig)
src/helpers/init-transform-listener.ts:5
↓ 1 callersFunctioninitDrawingListeners
(config: InitDrawingListenerConfig)
src/helpers/init-drawing-listeners.ts:23
↓ 1 callersFunctioninitHiddenBoardWithSource
(initConfig: InitHiddenBoardWithImageConfig)
src/helpers/dom-helper.ts:83
↓ 1 callersFunctioninitMaskRenderer
(cvs: HTMLCanvasElement, maskColor: GLColor = DEFAULT_MASK_COLOR)
src/helpers/mask-renderer.ts:26
↓ 1 callersFunctioninitMatting
(initMattingConfig: InitMattingConfig)
src/helpers/init-matting.ts:14
↓ 1 callersFunctioninitScaleListener
(mattingTransformConfig: InitMattingScaleConfig)
src/helpers/init-transform-listener.ts:21
↓ 1 callersFunctioninitShaders
( gl: WebGLRenderingContext, vshader: string, fshader: string )
src/libs/cuon-utils.ts:18
↓ 1 callersFunctioninitTexture
(gl: WebGLRenderingContext, image: TexImageSource)
src/helpers/mask-renderer.ts:94
↓ 1 callersFunctioninitUniform
(gl: WebGLRenderingContext, location: string, val: number | GLColor)
src/helpers/mask-renderer.ts:51
↓ 1 callersMethodinitWheelListener
初始化wheel事件监听器
src/helpers/listener-manager.ts:78
↓ 1 callersMethodinitWheelListener
(e)
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctionisInImageRange
(inRangeConfig: InImageRangeConfig)
src/helpers/drawing-compute.ts:8
↓ 1 callersFunctionisInResultBoard
(isErasing: boolean | undefined)
src/helpers/drawing-helper.ts:101
↓ 1 callersFunctionisInvalidTransformConfig
判断变换配置是否无效
src/helpers/init-matting.ts:78
↓ 1 callersFunctionisMaxMovement
是否为最大移动距离
src/helpers/drawing-compute.ts:45
↓ 1 callersMethodisNeedToBindToTargets
是否需要绑定在目标元素上
src/helpers/listener-manager.ts:144
↓ 1 callersMethodisNeedToBindToTargets
(e)
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctionisWebGLResource
(obj: WebGLResource)
src/libs/webgl-debug.ts:345
↓ 1 callersFunctionke
(e,t=k)
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctionlc
(n)
docs/vendor.84e83234.js:10
↓ 1 callersFunctionle
(e,t)
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctionlog
(msg: string)
src/libs/webgl-debug.ts:32
↓ 1 callersFunctionmakeErrorWrapper
(ctx: WebGLRenderingContext, functionName: WebGLContextFuncKey)
src/libs/webgl-debug.ts:226
↓ 1 callersFunctionmakeFailHTML
(msg: string)
src/libs/webgl-utils.ts:66
↓ 1 callersFunctionmakeLostContextWrapper
(ctx: WebGLRenderingContext, functionName: WebGLContextFuncKey)
src/libs/webgl-debug.ts:375
↓ 1 callersFunctionme
(e,t,n)
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctionmo
(n,t,e,r,o=null)
docs/vendor.84e83234.js:1
↓ 1 callersFunctionmove
(ev)
src/helpers/init-drawing-listeners.ts:49
↓ 1 callersFunctionneedDrawInterpolation
(maxMovement: number, radius: number)
src/helpers/drawing-compute.ts:23
↓ 1 callersFunctionneedDrawInterpolationPoint
(movement: number, moved: number, step: number)
src/helpers/drawing-compute.ts:60
↓ 1 callersFunctionnn
(n,t,e)
docs/vendor.84e83234.js:1
↓ 1 callersFunctionoe
(n)
docs/vendor.84e83234.js:10
↓ 1 callersMethodonHideCursor
()
src/composables/use-matting-cursor.ts:78
↓ 1 callersMethodonHideCursor
()
docs/index.b0c8c9b4.js:1
↓ 1 callersMethodonShowCursor
()
src/composables/use-matting-cursor.ts:74
↓ 1 callersMethodonShowCursor
()
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctionqe
(e)
docs/index.b0c8c9b4.js:1
↓ 1 callersFunctionrc
(n)
docs/vendor.84e83234.js:10
↓ 1 callersFunctionredrawMattingBoardsWhileScaling
(ev: WheelEvent, scalingConfig: InitMattingTransformConfig)
src/helpers/transform-helper.ts:25
← previousnext →401–500 of 641, ranked by callers