Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boardsite-io/boardsite
/ functions
Functions
494 in github.com/boardsite-io/boardsite
⨍
Functions
494
◇
Types & classes
137
↓ 1 callers
Method
deserialize
( serialized: SerializedDrawingState )
src/state/drawing/serializers/index.ts:32
↓ 1 callers
Method
deserialize
(serialized: SerializedViewState)
src/state/view/serializers/index.ts:27
↓ 1 callers
Method
deserialize
( serialized: SerializedSettingsState )
src/state/settings/serializers/index.ts:28
↓ 1 callers
Method
deserialize
(serialized: SerializedOnlineState)
src/state/online/serializers/index.ts:32
↓ 1 callers
Function
drawCheckered
(ctx: CanvasRenderingContext2D, meta: PageMeta)
src/util/render/backgrounds/index.ts:33
↓ 1 callers
Function
drawDocument
( ctx: CanvasRenderingContext2D, meta: PageMeta )
src/util/render/backgrounds/index.ts:67
↓ 1 callers
Function
drawErased
( ctx: CanvasRenderingContext2D, stroke: Stroke | LiveStroke )
src/util/render/shapes/index.ts:23
↓ 1 callers
Function
drawPen
(ctx: CanvasRenderingContext2D, points: number[])
src/util/render/shapes/index.ts:65
↓ 1 callers
Function
drawRoundRect
( ctx: CanvasRenderingContext2D, x: number, y: number, width: number, height: number,
src/util/render/shapes/index.ts:201
↓ 1 callers
Function
drawRuled
(ctx: CanvasRenderingContext2D, meta: PageMeta)
src/util/render/backgrounds/index.ts:50
↓ 1 callers
Function
extractHandle
( e: MouseEvent<HTMLDivElement> | TouchEvent<HTMLDivElement> )
src/View/Board/RenderNG/Page/Transformer/helpers.ts:69
↓ 1 callers
Method
fitToPage
* Set the view scale so that the current page fits the viewport width
src/state/view/state/index.ts:132
↓ 1 callers
Function
getAdditionalModulePaths
* Get additional module paths based on the baseUrl of a compilerOptions object. * * @param {Object} options
config/modules.js:14
↓ 1 callers
Method
getAttachment
(attachId: string)
src/api/request.ts:230
↓ 1 callers
Function
getBasePage
( meta: PageMeta )
src/storage/pdf/util/index.ts:95
↓ 1 callers
Method
getConfig
()
src/api/request.ts:139
↓ 1 callers
Function
getDistance
(p1: Point, p2: Point)
src/state/view/util/multiTouch.ts:60
↓ 1 callers
Function
getGlobalState
()
src/state/subscription/useGState.ts:16
↓ 1 callers
Function
getHorizontalBounds
({ newTransform, pageWidth, keepCentered, innerWidth, }: GetHorizontalBoundsProps)
src/state/view/util/bounds.ts:14
↓ 1 callers
Function
getHttpsConfig
()
config/getHttpsConfig.js:52
↓ 1 callers
Function
getJestAliases
* Get jest aliases based on the baseUrl of a compilerOptions object. * * @param {*} options
config/modules.js:78
↓ 1 callers
Function
getModules
()
config/modules.js:94
↓ 1 callers
Method
getNumDocumentPages
()
src/drawing/attachment/pdf/index.tsx:48
↓ 1 callers
Function
getOuterBounds
( strokes: TransformStrokes | undefined )
src/View/Board/RenderNG/Page/Transformer/helpers.ts:14
↓ 1 callers
Method
getPage
(pageIndex: PageIndex)
src/state/board/state/index.ts:47
↓ 1 callers
Method
getPagesSync
()
src/api/request.ts:209
↓ 1 callers
Method
getPointDelta
(point: Point)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:255
↓ 1 callers
Function
getPointVector
(point: Point)
src/drawing/hitbox/index.ts:111
↓ 1 callers
Function
getPosition
(props: ToolTipBoxProps)
src/components/ToolTip/index.styled.ts:41
↓ 1 callers
Method
getScaleDelta
(delta: Point)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:262
↓ 1 callers
Method
getState
()
src/state/menu/state/index.ts:13
↓ 1 callers
Function
getStrokeHitboxes
(stroke: Stroke)
src/drawing/hitbox/index.ts:263
↓ 1 callers
Function
getStrokesInPoint
({ strokes, point, filterType, }: GetStrokesInPointProps)
src/drawing/hitbox/index.ts:54
↓ 1 callers
Function
getUpperBound
({ newTransform, innerHeight, }: GetUpperBoundProps)
src/state/view/util/bounds.ts:32
↓ 1 callers
Function
getViewCenterY
({ viewTransform, innerHeight, }: GetViewCenterYProps)
src/state/view/util/helpers.ts:18
↓ 1 callers
Function
getWebpackAliases
* Get webpack aliases based on the baseUrl of a compilerOptions object. * * @param {*} options
config/modules.js:57
↓ 1 callers
Function
handleExportPdf
()
src/storage/pdf/index.tsx:36
↓ 1 callers
Function
handleImportPdf
()
src/storage/pdf/index.tsx:13
↓ 1 callers
Method
handlePageChange
* 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 callers
Function
importPdfFile
(file: File)
src/storage/pdf/util/index.ts:14
↓ 1 callers
Function
isErrorResponse
(error: T, code: ErrorCode)
src/api/error.ts:3
↓ 1 callers
Method
isFullScreen
* 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 callers
Function
isInGitRepository
()
scripts/test.js:22
↓ 1 callers
Function
isInMercurialRepository
()
scripts/test.js:31
↓ 1 callers
Method
isReadOnly
()
src/state/online/state/index.ts:82
↓ 1 callers
Method
isReset
()
src/drawing/livestroke/index.types.ts:12
↓ 1 callers
Method
isSignedIn
()
src/state/online/state/index.ts:74
↓ 1 callers
Method
kickUser
({ id }: Pick<User, "id">)
src/state/online/state/index.ts:316
↓ 1 callers
Function
linearInterpolation
( a: T | U, b: T | U, t: number )
src/drawing/stroke/simplify.ts:43
↓ 1 callers
Method
loadAttachment
(type: AttachType, id: AttachId)
src/state/online/state/index.ts:519
↓ 1 callers
Function
loadIndexedDB
( name: StateInIndexedDB )
src/storage/local/index.ts:42
↓ 1 callers
Method
move
(point: Point)
src/drawing/livestroke/index.tsx:45
↓ 1 callers
Method
moveEraser
()
src/drawing/livestroke/index.tsx:74
↓ 1 callers
Function
multiTouchMove
({ viewTransform, p1, p2, }: MultiTouchMove)
src/state/view/util/multiTouch.ts:15
↓ 1 callers
Function
onClick
()
src/View/ToolRing/ActiveTool/index.tsx:19
↓ 1 callers
Function
onClickReadOnly
(session: Session | undefined)
src/View/MainMenu/menu/Session/SessionSettings/index.tsx:10
↓ 1 callers
Function
openInNewTab
(url: string)
src/View/MainMenu/menu/General/index.tsx:23
↓ 1 callers
Method
openShortcuts
* Open the shortcuts overview
src/state/menu/state/index.ts:63
↓ 1 callers
Method
openTextfieldSettings
* Open the shortcuts overview
src/state/menu/state/index.ts:79
↓ 1 callers
Function
pageToDataURL
( page: Page )
src/storage/pdf/util/rendering.tsx:14
↓ 1 callers
Method
pan
(delta: Point)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:128
↓ 1 callers
Function
parseFontSize
(fontSize: string)
src/util/lib/index.ts:13
↓ 1 callers
Function
perfectDrawing
(points: number[], point: Point)
src/drawing/stroke/simplify.ts:11
↓ 1 callers
Function
perpendicularDistance
(point: Point, line: [Point, Point])
src/drawing/stroke/simplify.ts:59
↓ 1 callers
Method
postPages
(pages: Page[], pageIndex: number[])
src/api/request.ts:167
↓ 1 callers
Method
postPagesSync
(sync: PageSync)
src/api/request.ts:213
↓ 1 callers
Method
postSessionWithConfig
( config: Partial<SessionConfig> )
src/api/request.ts:93
↓ 1 callers
Method
postUser
( user: Pick<User, "alias" | "color">, password?: string )
src/api/request.ts:102
↓ 1 callers
Method
putConfig
( secret: string, config: Partial<SessionConfig> )
src/api/request.ts:143
↓ 1 callers
Method
putKickUser
(secret: string, userId: string)
src/api/request.ts:127
↓ 1 callers
Method
putUser
(updatedUser: User)
src/api/request.ts:120
↓ 1 callers
Method
receive
(message: Message<unknown>)
src/state/online/state/index.ts:322
↓ 1 callers
Method
receiveStrokes
(strokes: Stroke[])
src/state/online/state/index.ts:366
↓ 1 callers
Function
registerStroke
(liveStroke: LiveStroke)
src/drawing/livestroke/register.ts:75
↓ 1 callers
Method
removeFavoriteTool
* Remove a favorite tool from the quick menu * @param index position of element to be removed
src/state/drawing/state/index.ts:159
↓ 1 callers
Method
removeNotification
()
src/state/notification/state/index.ts:37
↓ 1 callers
Function
renderAsPdf
()
src/storage/pdf/util/index.ts:78
↓ 1 callers
Method
replaceFavoriteTool
* Replace a favorite tool in the quick menu * @param index position of element to be replaced
src/state/drawing/state/index.ts:169
↓ 1 callers
Method
reset
()
src/drawing/livestroke/index.types.ts:10
↓ 1 callers
Method
resetViewScale
* Reset the view scale at the center of the screen
src/state/view/state/index.ts:125
↓ 1 callers
Method
scaleWithFixedY
* 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 callers
Method
selectLineCollision
(strokes: StrokeCollection)
src/drawing/livestroke/index.tsx:130
↓ 1 callers
Method
serialize
()
src/state/board/serializers/index.ts:24
↓ 1 callers
Method
serialize
()
src/state/drawing/serializers/index.ts:20
↓ 1 callers
Method
serialize
()
src/state/view/serializers/index.ts:20
↓ 1 callers
Method
serialize
()
src/state/settings/serializers/index.ts:20
↓ 1 callers
Method
serialize
()
src/state/online/serializers/index.ts:20
↓ 1 callers
Method
setBounds
(bounds: TrBounds)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:96
↓ 1 callers
Method
setColor
* Set the tool color * @param color desired tool color;
src/state/drawing/state/index.ts:49
↓ 1 callers
Method
setErasedStrokes
* 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 callers
Method
setFirstPointHandle
(trHandle: TrHandle)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:201
↓ 1 callers
Method
setState
(newState: DrawingState)
src/state/drawing/state/index.ts:22
↓ 1 callers
Method
setState
(newState: SettingsState)
src/state/settings/state/index.ts:16
↓ 1 callers
Method
setState
(newState: LoadingState)
src/state/loading/state/index.ts:16
↓ 1 callers
Method
setState
(newState: OnlineState)
src/state/online/state/index.ts:41
↓ 1 callers
Method
setTool
(tool: Tool)
src/drawing/livestroke/index.tsx:69
↓ 1 callers
Method
setWidth
* Set the tool width * @param width tool width;
src/state/drawing/state/index.ts:58
↓ 1 callers
Function
shiftPoints
(points: number[], x: number, y: number)
src/util/render/shapes/index.ts:9
↓ 1 callers
Function
simplifyRDP
( points: number[], epsilon: number, sections: number )
src/drawing/stroke/simplify.ts:78
↓ 1 callers
Method
startLoading
* 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
← previous
next →
201–300 of 494, ranked by callers