MCPcopy Create free account

hub / github.com/boardsite-io/boardsite / functions

Functions494 in github.com/boardsite-io/boardsite

↓ 1 callersMethoddeserialize
( serialized: SerializedDrawingState )
src/state/drawing/serializers/index.ts:32
↓ 1 callersMethoddeserialize
(serialized: SerializedViewState)
src/state/view/serializers/index.ts:27
↓ 1 callersMethoddeserialize
( serialized: SerializedSettingsState )
src/state/settings/serializers/index.ts:28
↓ 1 callersMethoddeserialize
(serialized: SerializedOnlineState)
src/state/online/serializers/index.ts:32
↓ 1 callersFunctiondrawCheckered
(ctx: CanvasRenderingContext2D, meta: PageMeta)
src/util/render/backgrounds/index.ts:33
↓ 1 callersFunctiondrawDocument
( ctx: CanvasRenderingContext2D, meta: PageMeta )
src/util/render/backgrounds/index.ts:67
↓ 1 callersFunctiondrawErased
( ctx: CanvasRenderingContext2D, stroke: Stroke | LiveStroke )
src/util/render/shapes/index.ts:23
↓ 1 callersFunctiondrawPen
(ctx: CanvasRenderingContext2D, points: number[])
src/util/render/shapes/index.ts:65
↓ 1 callersFunctiondrawRoundRect
( ctx: CanvasRenderingContext2D, x: number, y: number, width: number, height: number,
src/util/render/shapes/index.ts:201
↓ 1 callersFunctiondrawRuled
(ctx: CanvasRenderingContext2D, meta: PageMeta)
src/util/render/backgrounds/index.ts:50
↓ 1 callersFunctionextractHandle
( e: MouseEvent<HTMLDivElement> | TouchEvent<HTMLDivElement> )
src/View/Board/RenderNG/Page/Transformer/helpers.ts:69
↓ 1 callersMethodfitToPage
* Set the view scale so that the current page fits the viewport width
src/state/view/state/index.ts:132
↓ 1 callersFunctiongetAdditionalModulePaths
* Get additional module paths based on the baseUrl of a compilerOptions object. * * @param {Object} options
config/modules.js:14
↓ 1 callersMethodgetAttachment
(attachId: string)
src/api/request.ts:230
↓ 1 callersFunctiongetBasePage
( meta: PageMeta )
src/storage/pdf/util/index.ts:95
↓ 1 callersMethodgetConfig
()
src/api/request.ts:139
↓ 1 callersFunctiongetDistance
(p1: Point, p2: Point)
src/state/view/util/multiTouch.ts:60
↓ 1 callersFunctiongetGlobalState
()
src/state/subscription/useGState.ts:16
↓ 1 callersFunctiongetHorizontalBounds
({ newTransform, pageWidth, keepCentered, innerWidth, }: GetHorizontalBoundsProps)
src/state/view/util/bounds.ts:14
↓ 1 callersFunctiongetHttpsConfig
()
config/getHttpsConfig.js:52
↓ 1 callersFunctiongetJestAliases
* Get jest aliases based on the baseUrl of a compilerOptions object. * * @param {*} options
config/modules.js:78
↓ 1 callersFunctiongetModules
()
config/modules.js:94
↓ 1 callersMethodgetNumDocumentPages
()
src/drawing/attachment/pdf/index.tsx:48
↓ 1 callersFunctiongetOuterBounds
( strokes: TransformStrokes | undefined )
src/View/Board/RenderNG/Page/Transformer/helpers.ts:14
↓ 1 callersMethodgetPage
(pageIndex: PageIndex)
src/state/board/state/index.ts:47
↓ 1 callersMethodgetPagesSync
()
src/api/request.ts:209
↓ 1 callersMethodgetPointDelta
(point: Point)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:255
↓ 1 callersFunctiongetPointVector
(point: Point)
src/drawing/hitbox/index.ts:111
↓ 1 callersFunctiongetPosition
(props: ToolTipBoxProps)
src/components/ToolTip/index.styled.ts:41
↓ 1 callersMethodgetScaleDelta
(delta: Point)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:262
↓ 1 callersMethodgetState
()
src/state/menu/state/index.ts:13
↓ 1 callersFunctiongetStrokeHitboxes
(stroke: Stroke)
src/drawing/hitbox/index.ts:263
↓ 1 callersFunctiongetStrokesInPoint
({ strokes, point, filterType, }: GetStrokesInPointProps)
src/drawing/hitbox/index.ts:54
↓ 1 callersFunctiongetUpperBound
({ newTransform, innerHeight, }: GetUpperBoundProps)
src/state/view/util/bounds.ts:32
↓ 1 callersFunctiongetViewCenterY
({ viewTransform, innerHeight, }: GetViewCenterYProps)
src/state/view/util/helpers.ts:18
↓ 1 callersFunctiongetWebpackAliases
* Get webpack aliases based on the baseUrl of a compilerOptions object. * * @param {*} options
config/modules.js:57
↓ 1 callersFunctionhandleExportPdf
()
src/storage/pdf/index.tsx:36
↓ 1 callersFunctionhandleImportPdf
()
src/storage/pdf/index.tsx:13
↓ 1 callersMethodhandlePageChange
* Detect if page index has changed and adjust the transform accordingly * @param newTransform updated transform * @returns adjusted transfor
src/state/view/state/index.ts:308
↓ 1 callersFunctionimportPdfFile
(file: File)
src/storage/pdf/util/index.ts:14
↓ 1 callersFunctionisErrorResponse
(error: T, code: ErrorCode)
src/api/error.ts:3
↓ 1 callersMethodisFullScreen
* Test if the view is zoomed in at least full screen * @param scale : optional input for testing for a specific scale * @returns true if the
src/state/view/state/index.ts:174
↓ 1 callersFunctionisInGitRepository
()
scripts/test.js:22
↓ 1 callersFunctionisInMercurialRepository
()
scripts/test.js:31
↓ 1 callersMethodisReadOnly
()
src/state/online/state/index.ts:82
↓ 1 callersMethodisReset
()
src/drawing/livestroke/index.types.ts:12
↓ 1 callersMethodisSignedIn
()
src/state/online/state/index.ts:74
↓ 1 callersMethodkickUser
({ id }: Pick<User, "id">)
src/state/online/state/index.ts:316
↓ 1 callersFunctionlinearInterpolation
( a: T | U, b: T | U, t: number )
src/drawing/stroke/simplify.ts:43
↓ 1 callersMethodloadAttachment
(type: AttachType, id: AttachId)
src/state/online/state/index.ts:519
↓ 1 callersFunctionloadIndexedDB
( name: StateInIndexedDB )
src/storage/local/index.ts:42
↓ 1 callersMethodmove
(point: Point)
src/drawing/livestroke/index.tsx:45
↓ 1 callersMethodmoveEraser
()
src/drawing/livestroke/index.tsx:74
↓ 1 callersFunctionmultiTouchMove
({ viewTransform, p1, p2, }: MultiTouchMove)
src/state/view/util/multiTouch.ts:15
↓ 1 callersFunctiononClick
()
src/View/ToolRing/ActiveTool/index.tsx:19
↓ 1 callersFunctiononClickReadOnly
(session: Session | undefined)
src/View/MainMenu/menu/Session/SessionSettings/index.tsx:10
↓ 1 callersFunctionopenInNewTab
(url: string)
src/View/MainMenu/menu/General/index.tsx:23
↓ 1 callersMethodopenShortcuts
* Open the shortcuts overview
src/state/menu/state/index.ts:63
↓ 1 callersMethodopenTextfieldSettings
* Open the shortcuts overview
src/state/menu/state/index.ts:79
↓ 1 callersFunctionpageToDataURL
( page: Page )
src/storage/pdf/util/rendering.tsx:14
↓ 1 callersMethodpan
(delta: Point)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:128
↓ 1 callersFunctionparseFontSize
(fontSize: string)
src/util/lib/index.ts:13
↓ 1 callersFunctionperfectDrawing
(points: number[], point: Point)
src/drawing/stroke/simplify.ts:11
↓ 1 callersFunctionperpendicularDistance
(point: Point, line: [Point, Point])
src/drawing/stroke/simplify.ts:59
↓ 1 callersMethodpostPages
(pages: Page[], pageIndex: number[])
src/api/request.ts:167
↓ 1 callersMethodpostPagesSync
(sync: PageSync)
src/api/request.ts:213
↓ 1 callersMethodpostSessionWithConfig
( config: Partial<SessionConfig> )
src/api/request.ts:93
↓ 1 callersMethodpostUser
( user: Pick<User, "alias" | "color">, password?: string )
src/api/request.ts:102
↓ 1 callersMethodputConfig
( secret: string, config: Partial<SessionConfig> )
src/api/request.ts:143
↓ 1 callersMethodputKickUser
(secret: string, userId: string)
src/api/request.ts:127
↓ 1 callersMethodputUser
(updatedUser: User)
src/api/request.ts:120
↓ 1 callersMethodreceive
(message: Message<unknown>)
src/state/online/state/index.ts:322
↓ 1 callersMethodreceiveStrokes
(strokes: Stroke[])
src/state/online/state/index.ts:366
↓ 1 callersFunctionregisterStroke
(liveStroke: LiveStroke)
src/drawing/livestroke/register.ts:75
↓ 1 callersMethodremoveFavoriteTool
* Remove a favorite tool from the quick menu * @param index position of element to be removed
src/state/drawing/state/index.ts:159
↓ 1 callersMethodremoveNotification
()
src/state/notification/state/index.ts:37
↓ 1 callersFunctionrenderAsPdf
()
src/storage/pdf/util/index.ts:78
↓ 1 callersMethodreplaceFavoriteTool
* Replace a favorite tool in the quick menu * @param index position of element to be replaced
src/state/drawing/state/index.ts:169
↓ 1 callersMethodreset
()
src/drawing/livestroke/index.types.ts:10
↓ 1 callersMethodresetViewScale
* Reset the view scale at the center of the screen
src/state/view/state/index.ts:125
↓ 1 callersMethodscaleWithFixedY
* Get the yOffset at which a rescale will not * change the position at a specified y coordinate * @param newScale new scale to be applied
src/state/view/state/index.ts:245
↓ 1 callersMethodselectLineCollision
(strokes: StrokeCollection)
src/drawing/livestroke/index.tsx:130
↓ 1 callersMethodserialize
()
src/state/board/serializers/index.ts:24
↓ 1 callersMethodserialize
()
src/state/drawing/serializers/index.ts:20
↓ 1 callersMethodserialize
()
src/state/view/serializers/index.ts:20
↓ 1 callersMethodserialize
()
src/state/settings/serializers/index.ts:20
↓ 1 callersMethodserialize
()
src/state/online/serializers/index.ts:20
↓ 1 callersMethodsetBounds
(bounds: TrBounds)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:96
↓ 1 callersMethodsetColor
* Set the tool color * @param color desired tool color;
src/state/drawing/state/index.ts:49
↓ 1 callersMethodsetErasedStrokes
* Set the strokes which are marked as erased * @param strokes the strokes which should be marked as erased
src/state/drawing/state/index.ts:67
↓ 1 callersMethodsetFirstPointHandle
(trHandle: TrHandle)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:201
↓ 1 callersMethodsetState
(newState: DrawingState)
src/state/drawing/state/index.ts:22
↓ 1 callersMethodsetState
(newState: SettingsState)
src/state/settings/state/index.ts:16
↓ 1 callersMethodsetState
(newState: LoadingState)
src/state/loading/state/index.ts:16
↓ 1 callersMethodsetState
(newState: OnlineState)
src/state/online/state/index.ts:41
↓ 1 callersMethodsetTool
(tool: Tool)
src/drawing/livestroke/index.tsx:69
↓ 1 callersMethodsetWidth
* Set the tool width * @param width tool width;
src/state/drawing/state/index.ts:58
↓ 1 callersFunctionshiftPoints
(points: number[], x: number, y: number)
src/util/render/shapes/index.ts:9
↓ 1 callersFunctionsimplifyRDP
( points: number[], epsilon: number, sections: number )
src/drawing/stroke/simplify.ts:78
↓ 1 callersMethodstartLoading
* Open a dialog with a loading animation and a specified text * @param messageId intl message id of the loading text
src/state/loading/state/index.ts:25
← previousnext →201–300 of 494, ranked by callers