MCPcopy Create free account
hub / github.com/e2b-dev/surf / getScaleFactor

Method getScaleFactor

lib/streaming/resolution.ts:73–75  ·  view source on GitHub ↗

* Get the scale factor between original and scaled resolutions * * @returns The scale factor

()

Source from the content-addressed store, hash-verified

71 * @returns The scale factor
72 */
73 public getScaleFactor(): number {
74 return this.scaleFactor;
75 }
76
77 /**
78 * Get the aspect ratio of the original resolution

Callers 2

runResolutionScalerTestsFunction · 0.95
testSmallTargetEdgeCasesFunction · 0.95

Calls

no outgoing calls

Tested by 2

runResolutionScalerTestsFunction · 0.76
testSmallTargetEdgeCasesFunction · 0.76