Table Of Contents
Low level Metrics¶
Module for low level metrics operations.
- kivy._metrics.dispatch_pixel_scale(*args)¶
Dispatches all properties that and watch pixel_scale_observers.
This should be called by Metrics when it changes any of the scaling properties.
- kivy._metrics.dpi2px(value, unicode ext) float ¶
Converts the value according to the ext.
- kivy._metrics.sync_pixel_scale(dpi=None, density=None, fontscale=None)¶
Internal method to manually updated the scaling factors when metrics changes, before anything has been dispatched.
Do not call in user code!