MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / buildImageBitmap

Function buildImageBitmap

src/test/builders/browserFakes.ts:384–394  ·  view source on GitHub ↗
({
  width = 1,
  height = 1,
  close = () => undefined,
}: ImageBitmapBuilderOptions = {})

Source from the content-addressed store, hash-verified

382}
383
384export function buildImageBitmap({
385 width = 1,
386 height = 1,
387 close = () => undefined,
388}: ImageBitmapBuilderOptions = {}): ImageBitmap {
389 return {
390 width,
391 height,
392 close,
393 };
394}
395
396export function buildIdleDeadline({
397 didTimeout = false,

Callers 11

createBitmapFunction · 0.90
createPendingFunction · 0.90
createBitmapStubFunction · 0.90
createPendingFunction · 0.90
createBitmapFunction · 0.90
createPendingFunction · 0.90
createBitmapStubFunction · 0.90
builders.test.tsFile · 0.85

Calls

no outgoing calls

Tested by 7

createBitmapFunction · 0.72
createPendingFunction · 0.72
createBitmapStubFunction · 0.72
createPendingFunction · 0.72
createBitmapFunction · 0.72
createPendingFunction · 0.72
createBitmapStubFunction · 0.72