MCPcopy Create free account

hub / github.com/camenduru/TostUI / functions

Functions115 in github.com/camenduru/TostUI

↓ 30 callersFunctionsaveToHistory
(newLayers: Layer[], newSelectedIds: string[])
components/canvas-editor.tsx:680
↓ 27 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 12 callersFunctioncropTransparent
(img: HTMLImageElement)
components/canvas-editor.tsx:3868
↓ 6 callersFunctioncleanup
()
components/canvas-editor.tsx:386
↓ 6 callersFunctionupdateTextLayerDimensions
(layer: Layer)
components/canvas-editor.tsx:3166
↓ 5 callersFunctionaddEmptyImageLayer
(width: number, height: number, aspectRatio: string)
components/canvas-editor.tsx:3251
↓ 5 callersFunctionisPointInLayer
(x: number, y: number, layer: Layer)
components/canvas-editor.tsx:2329
↓ 4 callersFunctiondrawCanvas
(hideSelection = false, drawBackground = true)
components/canvas-editor.tsx:1052
↓ 4 callersFunctiongetTextFileKey
(serviceId: string, type: string, file: string)
components/canvas-editor.tsx:4631
↓ 4 callersFunctionprocessErrorMessage
(errorData: any)
components/canvas-editor.tsx:177
↓ 4 callersFunctionscreenToCanvas
(screenX: number, screenY: number)
components/canvas-editor.tsx:2260
↓ 4 callersFunctionstopVideoLoop
()
components/canvas-editor.tsx:4849
↓ 3 callersFunctiongetHandleAtPosition
(x: number, y: number, layer: Layer)
components/canvas-editor.tsx:2284
↓ 3 callersFunctiongetServiceIconComponent
(iconName: string)
components/canvas-editor.tsx:543
↓ 3 callersFunctionhandleServiceResult
(resultUrl: string, layerName = "AI Generated Content", timing?: { delayTime?: number, executionTime?: number
components/canvas-editor.tsx:3931
↓ 3 callersFunctionloadImage
(file: File)
components/canvas-editor.tsx:1232
↓ 3 callersFunctionpauseAudio
(layerId: string)
components/canvas-editor.tsx:4714
↓ 3 callersFunctionpauseVideo
(layerId: string)
components/canvas-editor.tsx:4683
↓ 2 callersFunctiongenerateJobId
()
components/canvas-editor.tsx:172
↓ 2 callersFunctiongetCategoryColor
(category: string)
lib/ai-services.ts:58
↓ 2 callersFunctiongetTouchDistance
(touch1: React.Touch, touch2: React.Touch)
components/canvas-editor.tsx:2278
↓ 2 callersFunctionmoveLayerDown
(layerId: string)
components/canvas-editor.tsx:4524
↓ 2 callersFunctionmoveLayerUp
(layerId: string)
components/canvas-editor.tsx:4513
↓ 2 callersFunctionmoveServiceDown
(serviceId: string)
components/canvas-editor.tsx:4566
↓ 2 callersFunctionmoveServiceUp
(serviceId: string)
components/canvas-editor.tsx:4556
↓ 2 callersFunctionplayAudio
(layerId: string)
components/canvas-editor.tsx:4701
↓ 2 callersFunctionplayVideo
(layerId: string)
components/canvas-editor.tsx:4670
↓ 2 callersFunctionseekAudio
(layerId: string, time: number)
components/canvas-editor.tsx:4767
↓ 1 callersFunctioncalculateDimensionsFromAspectRatio
(aspectRatio: string, baseSize: number)
components/canvas-editor.tsx:3222
↓ 1 callersFunctionconvertLayer
(service: any)
components/canvas-editor.tsx:3357
↓ 1 callersFunctioncopyLayerToClipboard
(layerId: string)
components/canvas-editor.tsx:3094
↓ 1 callersFunctiondeleteSelectedLayer
()
components/canvas-editor.tsx:2884
↓ 1 callersFunctionexecuteService
(serviceId: string)
components/canvas-editor.tsx:4612
↓ 1 callersFunctionexportLayer
(layerId: string)
components/canvas-editor.tsx:2894
↓ 1 callersFunctiongenerateThumbnails
()
components/canvas-editor.tsx:437
↓ 1 callersFunctiongetInputLabel
(ext: string | undefined)
components/canvas-editor.tsx:7036
↓ 1 callersFunctiongetLoraModelForService
(serviceId: string)
components/canvas-editor.tsx:4635
↓ 1 callersFunctiongetOutputLabel
(ext: string | undefined)
components/canvas-editor.tsx:7114
↓ 1 callersFunctiongetTouchCenter
(touches: React.TouchList)
components/canvas-editor.tsx:2267
↓ 1 callersFunctionhandleLayerDragOver
(e: React.DragEvent<HTMLDivElement>, layerId: string)
components/canvas-editor.tsx:4907
↓ 1 callersFunctionhandleLayerDragStart
(e: React.DragEvent<HTMLDivElement>, layerId: string)
components/canvas-editor.tsx:4902
↓ 1 callersFunctionhandleLayerDrop
(e: React.DragEvent<HTMLDivElement>, targetLayerId: string)
components/canvas-editor.tsx:4913
↓ 1 callersFunctionhandlePropertiesResizeEnd
()
components/canvas-editor.tsx:4875
↓ 1 callersFunctionhandlePropertiesResizeMove
(e: MouseEvent)
components/canvas-editor.tsx:4864
↓ 1 callersFunctionhandlePropertiesResizeTouchEnd
()
components/canvas-editor.tsx:4898
↓ 1 callersFunctionhandlePropertiesResizeTouchMove
(e: TouchEvent)
components/canvas-editor.tsx:4887
↓ 1 callersFunctionhandlePropertiesResizeTouchStart
(e: React.TouchEvent)
components/canvas-editor.tsx:4880
↓ 1 callersFunctionhandleServiceDragOver
(e: React.DragEvent<HTMLDivElement>, serviceId: string)
components/canvas-editor.tsx:4581
↓ 1 callersFunctionhandleServiceDragStart
(e: React.DragEvent<HTMLDivElement>, serviceId: string)
components/canvas-editor.tsx:4576
↓ 1 callersFunctionhandleServiceDrop
(e: React.DragEvent<HTMLDivElement>, targetServiceId: string)
components/canvas-editor.tsx:4587
↓ 1 callersFunctionhandleServiceSelect
(service: AIService)
components/canvas-editor.tsx:560
↓ 1 callersFunctionhandleViewExamples
(service: AIService)
components/canvas-editor.tsx:618
↓ 1 callersFunctionhasTransparency
(layer: Layer | null)
components/canvas-editor.tsx:655
↓ 1 callersFunctionloadAiServices
()
lib/ai-services.ts:37
↓ 1 callersFunctionloadBgRemovalModels
()
components/canvas-editor.tsx:2951
↓ 1 callersFunctionloadServices
()
components/canvas-editor.tsx:783
↓ 1 callersFunctionloadTextFileContent
(filePath: string, fileKey: string)
components/canvas-editor.tsx:4619
↓ 1 callersFunctionprocessBgRemovalQueue
(models: {model: any, processor: any}, queue: string[])
components/canvas-editor.tsx:2970
↓ 1 callersFunctionredo
()
components/canvas-editor.tsx:701
↓ 1 callersFunctionremoveBackground
(layerIds: string[])
components/canvas-editor.tsx:3066
↓ 1 callersFunctionseekVideo
(layerId: string, time: number)
components/canvas-editor.tsx:4731
↓ 1 callersFunctionstartVideoLoop
()
components/canvas-editor.tsx:4795
↓ 1 callersFunctionundo
()
components/canvas-editor.tsx:691
↓ 1 callersFunctionupdateCanvasSize
()
components/canvas-editor.tsx:712
FunctionBadge
({ className, variant, ...props }: BadgeProps)
components/ui/badge.tsx:30
FunctionButton
({ className, variant, size, asChild = false, ...props }: React.ComponentProps<'button'> & Variant
components/ui/button.tsx:39
FunctionCanvasEditor
()
components/canvas-editor.tsx:195
FunctionGET
(request: NextRequest)
app/api/image-proxy/route.ts:3
FunctionGET
()
app/api/ai-services/route.ts:3
FunctionGLBViewerWindow
({ glbUrl, title, onClose, onCapture, initialPosition = { x: 100, y: 100 }, initialSize = {
components/glb-viewer-window.tsx:29
FunctionHome
()
app/page.tsx:3
FunctionPOST
(request: NextRequest)
app/api/upload/route.ts:4
FunctionPOST
( request: NextRequest, { params }: { params: Promise<{ jobId: string }> } )
app/api/status/[jobId]/route.ts:3
FunctionPOST
(request: NextRequest)
app/api/run/route.ts:3
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode }>)
app/layout.tsx:16
FunctionThemeProvider
({ children, ...props }: ThemeProviderProps)
components/theme-provider.tsx:9
FunctionThemeToggle
()
components/theme-toggle.tsx:9
FunctionWaveformOverlay
({ audioUrl, width, height, layerId, currentTime = 0, duration = 0, onSeek, onReady }
components/waveform-overlay.tsx:17
FunctionaddTextLayer
()
components/canvas-editor.tsx:3181
FunctioncaptureCanvasAsLayer
()
components/canvas-editor.tsx:3306
FunctioncheckTokenRemaining
()
components/canvas-editor.tsx:4650
FunctiongenerateJobId
()
lib/ai-services.ts:73
FunctiongetCategoryIcon
(category: string)
lib/ai-services.ts:43
FunctionhandleAudioTimeUpdate
()
components/canvas-editor.tsx:1987
FunctionhandleBackToServices
()
components/canvas-editor.tsx:642
FunctionhandleCanvasMouseDown
(e: React.MouseEvent<HTMLCanvasElement>)
components/canvas-editor.tsx:2341
FunctionhandleCanvasMouseMove
(e: React.MouseEvent<HTMLCanvasElement>)
components/canvas-editor.tsx:2463
FunctionhandleCanvasMouseUp
()
components/canvas-editor.tsx:2609
FunctionhandleCapture
()
components/glb-viewer-window.tsx:167
FunctionhandleDragLeave
(e: React.DragEvent<HTMLCanvasElement>)
components/canvas-editor.tsx:1656
FunctionhandleDragOver
(e: React.DragEvent<HTMLCanvasElement>)
components/canvas-editor.tsx:1650
FunctionhandleDrop
(e: React.DragEvent<HTMLCanvasElement>)
components/canvas-editor.tsx:1662
FunctionhandleGlobalMouseMove
(e: MouseEvent)
components/glb-viewer-window.tsx:84
FunctionhandleGlobalMouseUp
()
components/glb-viewer-window.tsx:97
FunctionhandleKeyDown
(e: KeyboardEvent)
components/canvas-editor.tsx:4940
FunctionhandleLayerUpload
(e: React.ChangeEvent<HTMLInputElement>)
components/canvas-editor.tsx:1242
FunctionhandleLoad
()
components/glb-viewer-window.tsx:121
FunctionhandleMetadataLoaded
()
components/canvas-editor.tsx:911
FunctionhandleMouseMove
(e: MouseEvent)
components/canvas-editor.tsx:4967
FunctionhandleMouseUp
()
components/canvas-editor.tsx:4971
next →1–100 of 115, ranked by callers