MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / dp

Function dp

apps/automated/src/ui/layouts/layout-helper.ios.ts:204–206  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

202}
203
204export function dp(value: number): number {
205 return utils.layout.toDeviceIndependentPixels(value);
206}
207
208export function dip(value: number): number {
209 return utils.layout.toDevicePixels(value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected