MCPcopy Create free account

hub / github.com/pixijs-userland/graphics-smooth / functions

Functions145 in github.com/pixijs-userland/graphics-smooth

↓ 54 callersMethodlineStyle
(options: ILineStyleOptions | number = null, color: ColorSource = 0x0, alpha = 1, alignment = 0.5, sca
src/SmoothGraphics.ts:183
↓ 45 callersMethodlineTo
(x: number, y: number)
src/SmoothGraphics.ts:300
↓ 39 callersMethodendFill
()
src/SmoothGraphics.ts:488
↓ 33 callersMethodbeginFill
(color: ColorSource = 0, alpha = 1, smooth = false)
src/SmoothGraphics.ts:437
↓ 24 callersMethodmoveTo
(x: number, y: number)
src/SmoothGraphics.ts:291
↓ 14 callersMethoddrawRect
(x: number, y: number, width: number, height: number)
src/SmoothGraphics.ts:497
↓ 10 callersMethodadd
(texture: Texture, matrix: Matrix, lineWidth: number, lineAlignment: number, lineScaleMode: number)
src/core/BatchDrawCall.ts:153
↓ 8 callersMethoddrawCircle
(x: number, y: number, radius: number)
src/SmoothGraphics.ts:507
↓ 8 callersMethoddrawShape
(shape: IShape)
src/SmoothGraphics.ts:551
↓ 6 callersMethodclear
()
src/SmoothGraphicsGeometry.ts:207
↓ 6 callersMethodclear
()
src/core/BuildData.ts:12
↓ 6 callersMethodfinishPoly
()
src/SmoothGraphics.ts:275
↓ 6 callersMethodreset
()
src/core/LineStyle.ts:66
↓ 5 callersMethoddrawRoundedRect
(x: number, y: number, width: number, height: number, radius: number)
src/SmoothGraphics.ts:502
↓ 4 callersMethodclone
()
src/SmoothGraphics.ts:137
↓ 4 callersMethodfill
(graphicsData: SmoothGraphicsData, target: BuildData)
src/core/IShapeBuilder.ts:13
↓ 3 callersMethod_initCurve
(x = 0, y = 0)
src/SmoothGraphics.ts:320
↓ 3 callersMethodbegin
(style: LineStyle | FillStyle, startIndex: number, attribStart: number)
src/core/BatchPart.ts:23
↓ 3 callersMethoddrawEllipse
(x: number, y: number, width: number, height: number)
src/SmoothGraphics.ts:512
↓ 3 callersMethodline
(graphicsData: SmoothGraphicsData, target: BuildData)
src/core/IShapeBuilder.ts:11
↓ 3 callersMethodpath
(graphicsData: SmoothGraphicsData, target: BuildData)
src/core/IShapeBuilder.ts:9
↓ 3 callersMethodstartPoly
()
src/SmoothGraphics.ts:253
↓ 3 callersMethodtransformPoints
* Transform points using matrix. * * @protected * @param {number[]} points - Points to transform * @param {PIXI.Matrix} matrix - T
src/SmoothGraphicsGeometry.ts:905
↓ 2 callersFunctionaddLine
(graphics, y, len, rad, cap, alignment)
examples/joint-alignment.js:18
↓ 2 callersFunctionaddLine
(graphics, y, len, rad, cap)
examples/joint.js:18
↓ 2 callersMethodbeginTextureFill
(options?: IFillStyleOptions)
src/SmoothGraphics.ts:450
↓ 2 callersMethodclearBuild
()
src/core/SmoothGraphicsData.ts:63
↓ 2 callersMethodclearPath
()
src/core/SmoothGraphicsData.ts:57
↓ 2 callersMethodclosePath
()
src/SmoothGraphics.ts:911
↓ 2 callersMethodcopyTo
(obj: any)
src/core/FillStyle.ts:34
↓ 2 callersMethoddrawPolygon
(...path: any[])
src/SmoothGraphics.ts:520
↓ 2 callersMethodend
(endIndex: number, endAttrib: number)
src/core/BatchPart.ts:32
↓ 2 callersFunctionfillGraphics
(graphics, scaleMode)
examples/line_scale.js:12
↓ 2 callersFunctionfillGraphics
(graphics, alignment1, alignment2)
examples/line_alignment.js:11
↓ 2 callersFunctionfixOrientation
(points: number[], hole = false)
src/shapes/PolyBuilder.ts:10
↓ 2 callersMethodgoodJointType
()
src/core/SmoothGraphicsData.ts:103
↓ 2 callersFunctionmakeFigures
(graphics)
examples/simple.js:7
↓ 2 callersFunctionmakeFigures
(graphics)
examples/joint-alignment.js:35
↓ 2 callersFunctionmakeFigures
(graphics)
examples/degenerate.js:8
↓ 2 callersFunctionmakeFigures
(graphics)
examples/anim-alignment.js:108
↓ 2 callersFunctionmakeFigures
(graphics)
examples/joint.js:35
↓ 2 callersFunctionmakeFigures
(graphics)
examples/texture_fill.js:8
↓ 2 callersFunctionmakeFigures
(graphics)
examples/advanced.js:8
↓ 2 callersFunctionmakeFigures
(graphics)
examples/dash.js:10
↓ 2 callersFunctionmatrixEquals
(th: Matrix, matrix: Matrix, eps = 1e-3)
src/core/BatchDrawCall.ts:15
↓ 2 callersMethodnormalizeColor
(options: Pick<IFillStyleOptions, 'color' | 'alpha'>)
src/SmoothGraphics.ts:442
↓ 2 callersMethodpackInterleavedGeometry
(jointStart: number, jointLen: number, triangles: number[], lineStyle: number, color: number)
src/core/SegmentPacker.ts:83
↓ 2 callersMethodpackLineScale
* returns width multiplied by scaleMode
src/core/LineStyle.ts:55
↓ 2 callersMethodreset
()
src/core/BatchPart.ts:38
↓ 2 callersMethodupdateBufferSize
()
src/SmoothGraphicsGeometry.ts:341
↓ 1 callersMethod_compareStyles
* Affinity check * * @param {PIXI.FillStyle | PIXI.LineStyle} styleA * @param {PIXI.FillStyle | PIXI.LineStyle} styleB
src/SmoothGraphicsGeometry.ts:620
↓ 1 callersMethod_populateBatches
()
src/SmoothGraphics.ts:631
↓ 1 callersMethod_renderBatched
(renderer: Renderer)
src/SmoothGraphics.ts:676
↓ 1 callersMethod_renderDirect
(renderer: Renderer)
src/SmoothGraphics.ts:698
↓ 1 callersMethod_resolveDirectShader
(_renderer: Renderer)
src/SmoothGraphics.ts:817
↓ 1 callersFunctionaddLine
(graphics, y, len, rad, cap)
examples/anim-alignment.js:46
↓ 1 callersFunctionaddLine
(graphics, y)
examples/anim-line.js:32
↓ 1 callersFunctionaddLine2
(graphics, y, len, rad, cap)
examples/anim-alignment.js:77
↓ 1 callersMethodarc
(cx: number, cy: number, radius: number, startAngle: number, endAngle: number, anticlockwise = false)
src/SmoothGraphics.ts:378
↓ 1 callersMethodbeginPack
(buildData: BuildData, bufFloat: Float32Array, bufUint: Uint32Array, indices: Uint16Array, bufferPos =
src/core/SegmentPacker.ts:64
↓ 1 callersMethodbuildDrawCalls
* Converts intermediate batches data to drawCalls. * * @protected
src/SmoothGraphicsGeometry.ts:734
↓ 1 callersMethodcalculateBounds
* Update the local bounds of the object. Expensive to use performance-wise. * * @protected
src/SmoothGraphicsGeometry.ts:818
↓ 1 callersMethodcalculateTints
()
src/SmoothGraphics.ts:859
↓ 1 callersMethodcalculateVertices
()
src/SmoothGraphics.ts:877
↓ 1 callersMethodcapType
()
src/core/SmoothGraphicsData.ts:83
↓ 1 callersMethodcheck
(shader: Shader)
src/core/BatchDrawCall.ts:141
↓ 1 callersMethodcheckInstancing
(instanced: boolean, allow32Indices: boolean)
src/SmoothGraphicsGeometry.ts:146
↓ 1 callersMethodclone
()
src/core/FillStyle.ts:29
↓ 1 callersMethodcopyTo
(obj: any)
src/core/LineStyle.ts:34
↓ 1 callersMethoddestroy
()
src/core/BuildData.ts:20
↓ 1 callersMethoddrawHole
(shape: IShape, matrix: Matrix = null)
src/SmoothGraphicsGeometry.ts:233
↓ 1 callersMethodgenerateFragmentSrc
(settings: IGraphicsBatchSettings, fragmentSrc = smoothFrag)
src/SmoothShader.ts:494
↓ 1 callersMethodgenerateSampleSrc
(maxTextures: number)
src/SmoothShader.ts:507
↓ 1 callersMethodgenerateVertexSrc
(settings: IGraphicsBatchSettings, vertexSrc = smoothVert)
src/SmoothShader.ts:484
↓ 1 callersMethodgetTextureMatrix
()
src/core/FillStyle.ts:79
↓ 1 callersMethodinitAttributes
(_static: boolean)
src/SmoothGraphicsGeometry.ts:82
↓ 1 callersMethodinvalidate
* Call if you changed graphicsData manually. * Empties all batch buffers.
src/SmoothGraphicsGeometry.ts:177
↓ 1 callersMethodisBatchable
()
src/SmoothGraphicsGeometry.ts:709
↓ 1 callersMethodjointType
()
src/core/SmoothGraphicsData.ts:123
↓ 1 callersMethodlineTextureStyle
(options: ILineStyleOptions)
src/SmoothGraphics.ts:208
↓ 1 callersMethodpackBatches
* Offset the indices so that it works with the batcher. * * @protected
src/SmoothGraphicsGeometry.ts:691
↓ 1 callersMethodprocessHoles
(holes: Array<SmoothGraphicsData>)
src/SmoothGraphicsGeometry.ts:795
↓ 1 callersMethodreset
()
src/core/FillStyle.ts:53
↓ 1 callersMethodupdateBatches
(shaderSettings?: IGraphicsBatchSettings)
src/SmoothGraphicsGeometry.ts:425
↓ 1 callersMethodupdateBuild
()
src/SmoothGraphicsGeometry.ts:346
↓ 1 callersMethodupdatePack
()
src/SmoothGraphicsGeometry.ts:547
↓ 1 callersMethodvalidateBatching
* Test geometry for batching process. * * @protected
src/SmoothGraphicsGeometry.ts:666
Method_calculateBounds
()
src/SmoothGraphics.ts:835
Method_render
(renderer: Renderer)
src/SmoothGraphics.ts:600
Method_renderCanvas
(renderer: any)
src/SmoothGraphics.ts:595
Methodadd
(textureId: number, matrix: Matrix, lineWidth: number, lineAlignment: number, lineScaleMode: number,
src/core/BatchDrawCall.ts:55
MethodarcTo
(x1: number, y1: number, x2: number, y2: number, radius: number)
src/SmoothGraphics.ts:360
Methodbegin
(settings: IGraphicsBatchSettings, shader: Shader)
src/core/BatchDrawCall.ts:126
MethodbeginHole
()
src/SmoothGraphics.ts:931
MethodbezierCurveTo
(cpX: number, cpY: number, cpX2: number, cpY2: number, toX: number, toY: number)
src/SmoothGraphics.ts:351
MethodblendMode
(value: BLEND_MODES)
src/SmoothGraphics.ts:144
Methodbounds
* Get the current bounds of the graphic geometry. * * @member {PIXI.Bounds} * @readonly
src/SmoothGraphicsGeometry.ts:162
Methodclear
()
src/SmoothGraphics.ts:570
Methodclear
()
src/core/BatchDrawCall.ts:45
Methodclear
()
src/core/BatchDrawCall.ts:117
next →1–100 of 145, ranked by callers