MCPcopy Create free account

hub / github.com/Acid-OP/DrawDeck / functions

Functions266 in github.com/Acid-OP/DrawDeck

↓ 45 callersMethodclearCanvas
()
apps/DrawDeck/app/draw/Game.ts:1662
↓ 29 callersFunctionuseTheme
()
apps/DrawDeck/context/ThemeContext.tsx:51
↓ 16 callersFunctioncn
(...inputs: ClassValue[])
packages/ui/src/lib/utils.ts:4
↓ 11 callersMethodscheduleLocalSave
()
apps/DrawDeck/app/draw/Game.ts:341
↓ 8 callersFunctionbroadcastToRoom
(roomId: string, sender: RTCClient, payload: any)
apps/rtc/src/index.ts:46
↓ 8 callersMethodgetDashArray
(style: number | string)
apps/DrawDeck/app/draw/Game.ts:1499
↓ 8 callersMethodisPointInsideShape
(x: number, y: number, shape: Shape)
apps/DrawDeck/app/draw/Game.ts:1141
↓ 8 callersMethodscheduleWriteAll
()
apps/DrawDeck/app/draw/Game.ts:2074
↓ 7 callersFunctionbroadcastToRoom
(roomId: string, data: any, exclude?: ClientInfo)
apps/ws/src/index.ts:263
↓ 7 callersMethodgenId
()
apps/DrawDeck/app/draw/Game.ts:124
↓ 7 callersMethodsafeSend
(payload: any, priority: number = 1)
apps/DrawDeck/app/draw/Game.ts:361
↓ 7 callersMethodtoLocalPoint
(shape: Shape, x: number, y: number)
apps/DrawDeck/app/draw/Game.ts:1567
↓ 5 callersMethoddrawHandleBox
( cx: number, cy: number, size = 10, color = "#9b7bff" )
apps/DrawDeck/app/draw/Game.ts:484
↓ 5 callersMethodgetLocalStorageKey
()
apps/DrawDeck/app/draw/Game.ts:818
↓ 5 callersFunctionhandleClientDisconnect
(client: ClientInfo)
apps/ws/src/index.ts:276
↓ 5 callersMethodsaveToHistory
()
apps/DrawDeck/app/draw/Game.ts:154
↓ 4 callersMethodbroadcastShape
(shape: Shape)
apps/DrawDeck/app/draw/Game.ts:383
↓ 4 callersMethodgetShapeCenter
(shape: Shape)
apps/DrawDeck/app/draw/Game.ts:1552
↓ 4 callersFunctionhandleRemoteUserDisconnected
()
apps/DrawDeck/components/VideoCall.tsx:179
↓ 4 callersMethodsaveToLocalStorage
()
apps/DrawDeck/app/draw/Game.ts:347
↓ 4 callersFunctionupdateRoomActivity
(roomId: string)
apps/ws/src/index.ts:236
↓ 3 callersMethodadaptShapeToTheme
(shape: Shape)
apps/DrawDeck/app/draw/Game.ts:1650
↓ 3 callersMethodcanRotate
(shape: Shape)
apps/DrawDeck/app/draw/Game.ts:1574
↓ 3 callersFunctioncleanupRoom
(roomId: string, reason: string = 'room_cleanup')
apps/rtc/src/index.ts:67
↓ 3 callersMethoddeleteShapeByIndex
(index: number)
apps/DrawDeck/app/draw/Game.ts:1475
↓ 3 callersMethoddrawCircleHandle
(x: number,y: number,isMid: boolean,r: number,isHovered: boolean = false)
apps/DrawDeck/app/draw/Game.ts:499
↓ 3 callersMethodgetCurveMidpoint
(shape: Extract<Shape, { type: "line" | "arrow" }>)
apps/DrawDeck/app/draw/Game.ts:1610
↓ 3 callersMethodgetShapeBBox
(shape: Shape)
apps/DrawDeck/app/draw/Game.ts:1506
↓ 3 callersMethodisPointNearLineSegment
(px: number, py: number,x1: number, y1: number,x2: number, y2: number,tol: number)
apps/DrawDeck/app/draw/Game.ts:801
↓ 3 callersFunctionrenderBall
( key: string, index: number, type: "square" | "diamond" | "circle" )
apps/DrawDeck/components/Loader.tsx:163
↓ 3 callersFunctionrenderOAuthButton
( provider: OAuthProvider, icon: ReactNode, ariaLabel: string )
apps/DrawDeck/components/SignupForm.tsx:123
↓ 3 callersFunctionrenderOAuthButton
( provider: OAuthProvider, icon: ReactNode, ariaLabel: string )
apps/DrawDeck/components/SigninForm.tsx:130
↓ 3 callersFunctionshowErrorToast
(error: string)
apps/DrawDeck/components/VideoCall.tsx:312
↓ 2 callersMethodblockIP
(ip: string, reason: string, duration = 5 * 60 * 1000)
apps/ws/src/index.ts:58
↓ 2 callersMethodbroadcastShapeUpdate
(shape: Shape)
apps/DrawDeck/app/draw/Game.ts:1446
↓ 2 callersMethodcopySelected
()
apps/DrawDeck/app/draw/Game.ts:211
↓ 2 callersMethoddeselectShape
()
apps/DrawDeck/app/draw/Game.ts:1826
↓ 2 callersMethoddrawDiamond
( top: { x: number; y: number }, right: { x: number; y: number }, bottom: { x: number; y: number }, le
apps/DrawDeck/app/draw/Game.ts:1245
↓ 2 callersMethoddrawLineHandles
( shape: Extract<Shape, { type: "line" | "arrow" }> )
apps/DrawDeck/app/draw/Game.ts:523
↓ 2 callersMethoddrawPencilPath
( points: { x: number; y: number }[], )
apps/DrawDeck/app/draw/Game.ts:1814
↓ 2 callersMethodgetClientIP
(req: IncomingMessage)
apps/ws/src/index.ts:32
↓ 2 callersFunctiongetIconColor
(target: 'light' | 'dark')
apps/DrawDeck/components/sidebar/ThemeToggle.tsx:14
↓ 2 callersMethodgetPanStorageKey
()
apps/DrawDeck/app/draw/Game.ts:2371
↓ 2 callersFunctiongetResponsiveSizes
()
apps/DrawDeck/components/Loader.tsx:6
↓ 2 callersMethodgetRotationHandlePos
(shape: Shape)
apps/DrawDeck/app/draw/Game.ts:1579
↓ 2 callersFunctiongetStrokeColors
(theme: "light" | "dark")
apps/DrawDeck/components/Canvas.tsx:97
↓ 2 callersFunctionhandleClose
()
apps/DrawDeck/components/modal/SharelinkModal.tsx:81
↓ 2 callersFunctionhandleColorSelect
(color: string)
apps/DrawDeck/components/sidebar/CanvasBackgroundPicker.tsx:21
↓ 2 callersMethodhasShapes
()
apps/DrawDeck/app/draw/Game.ts:149
↓ 2 callersMethodhitTestShapeHandle
(shape: Shape, mouseX: number, mouseY: number)
apps/DrawDeck/app/draw/Game.ts:403
↓ 2 callersMethodinitTouchHandlers
()
apps/DrawDeck/app/draw/Game.ts:822
↓ 2 callersFunctionmonitorAudioLevel
(analyser: AnalyserNode, setSpeaking: (speaking: boolean) => void)
apps/DrawDeck/components/VideoCall.tsx:246
↓ 2 callersMethodpasteFromClipboard
()
apps/DrawDeck/app/draw/Game.ts:225
↓ 2 callersMethodrotatePoint
(px: number, py: number, cx: number, cy: number, angle: number)
apps/DrawDeck/app/draw/Game.ts:1557
↓ 2 callersFunctionshowToastMessage
(message: string)
apps/DrawDeck/components/VideoCall.tsx:304
↓ 2 callersFunctionuseErrorBoundary
()
apps/DrawDeck/hooks/hooks.ts:16
↓ 2 callersFunctionuseErrorHandler
()
apps/DrawDeck/hooks/hooks.ts:4
↓ 1 callersMethodaddConnection
(ip: string, ws: any)
apps/ws/src/index.ts:109
↓ 1 callersMethodaddTextShape
(x: number, y: number, text: string)
apps/DrawDeck/app/draw/Game.ts:1057
↓ 1 callersFunctioncheckAudioLevel
()
apps/DrawDeck/components/VideoCall.tsx:250
↓ 1 callersMethodcheckConcurrentConnections
(ip: string)
apps/ws/src/index.ts:100
↓ 1 callersMethodcheckConnectionAttempts
(ip: string)
apps/ws/src/index.ts:66
↓ 1 callersFunctioncheckDevice
()
apps/DrawDeck/components/modal/LiveCollabModal.tsx:27
↓ 1 callersMethodcheckMessageRateLimit
(ip: string)
apps/ws/src/index.ts:126
↓ 1 callersFunctioncheckMobile
()
apps/DrawDeck/components/ZoomBar.tsx:24
↓ 1 callersFunctioncheckMobile
()
apps/DrawDeck/components/TopBar.tsx:29
↓ 1 callersFunctioncheckMobile
()
apps/DrawDeck/hooks/useIsMobile.ts:9
↓ 1 callersFunctioncheckScreen
()
apps/DrawDeck/components/modal/MobileLiveCollabModal.tsx:28
↓ 1 callersMethodcleanup
()
apps/ws/src/index.ts:160
↓ 1 callersFunctioncleanupAudioAnalysis
()
apps/DrawDeck/components/VideoCall.tsx:265
↓ 1 callersMethodclearAllShapes
()
apps/DrawDeck/app/draw/Game.ts:1334
↓ 1 callersMethodclearTextEditingState
()
apps/DrawDeck/app/draw/Game.ts:1119
↓ 1 callersFunctionconnectWebSocket
()
apps/DrawDeck/components/RoomCanvas.tsx:234
↓ 1 callersMethoddeleteSelected
()
apps/DrawDeck/app/draw/Game.ts:302
↓ 1 callersMethoddestroy
()
apps/DrawDeck/app/draw/Game.ts:1272
↓ 1 callersMethoddrawArrow
( ctx: CanvasRenderingContext2D, startX: number, startY: number, endX: number, endY: number, strok
apps/DrawDeck/app/draw/Game.ts:2029
↓ 1 callersMethoddrawArrowHead
( ctx: CanvasRenderingContext2D, tipX: number, tipY: number, fromX: number, fromY: number,
apps/DrawDeck/app/draw/Game.ts:1622
↓ 1 callersMethoddrawMultilineText
(text: string, x: number, y: number, fontSize: number, fillStyle: string)
apps/DrawDeck/app/draw/Game.ts:1043
↓ 1 callersMethoddrawRotationHandle
(shape: Shape)
apps/DrawDeck/app/draw/Game.ts:1586
↓ 1 callersMethoddrawSelectionBox
(shape: Shape)
apps/DrawDeck/app/draw/Game.ts:573
↓ 1 callersMethodduplicateSelected
()
apps/DrawDeck/app/draw/Game.ts:291
↓ 1 callersFunctiongenerateAESKey
()
apps/DrawDeck/lib/crypto.ts:1
↓ 1 callersFunctiongenerateFallbackKey
()
apps/DrawDeck/lib/crypto.ts:25
↓ 1 callersFunctiongenerateRoomId
()
apps/DrawDeck/lib/generateRoomId.ts:1
↓ 1 callersFunctiongenerateSecureKey
()
apps/DrawDeck/lib/crypto.ts:43
↓ 1 callersFunctiongetX
(index: number)
apps/DrawDeck/components/Loader.tsx:38
↓ 1 callersFunctionhandleClose
()
apps/DrawDeck/components/modal/MobileLiveCollabModal.tsx:22
↓ 1 callersFunctionhandleClose
()
apps/DrawDeck/components/modal/LiveCollabModal.tsx:73
↓ 1 callersFunctionhandleOAuth
(provider: OAuthProvider)
apps/DrawDeck/components/SignupForm.tsx:89
↓ 1 callersFunctionhandleOAuth
(provider: OAuthProvider)
apps/DrawDeck/components/SigninForm.tsx:96
↓ 1 callersMethodinit
()
apps/DrawDeck/app/draw/Game.ts:1302
↓ 1 callersMethodinitHandlers
()
apps/DrawDeck/app/draw/Game.ts:1385
↓ 1 callersMethodinitMouseHandlers
()
apps/DrawDeck/app/draw/Game.ts:2834
↓ 1 callersFunctionisAllowedOrigin
(origin: string)
apps/rtc/src/index.ts:12
↓ 1 callersFunctionisAllowedOrigin
(origin: string)
apps/ws/src/index.ts:198
↓ 1 callersMethodisIPBlocked
(ip: string)
apps/ws/src/index.ts:46
↓ 1 callersMethodisPointInsideSelectionBox
(shape: Shape, x: number, y: number)
apps/DrawDeck/app/draw/Game.ts:990
↓ 1 callersMethodloadPanOffset
()
apps/DrawDeck/app/draw/Game.ts:2357
↓ 1 callersFunctionparseHash
()
apps/DrawDeck/hooks/useRoomHash.ts:7
↓ 1 callersMethodredo
()
apps/DrawDeck/app/draw/Game.ts:188
next →1–100 of 266, ranked by callers