Function
Phocutils_compute_scale
[−]
Declaration [src]
float
phoc_utils_compute_scale (
int32_t phys_width,
int32_t phys_height,
int32_t width,
int32_t height
)
[−]
Parameters
phys_width
-
Type:
int32_t
The physical width.
phys_height
-
Type:
int32_t
The physical height.
width
-
Type:
int32_t
The width in pixels.
height
-
Type:
int32_t
The height in pixels.