Function pangocairo::prelude::functions::context_get_resolution
source · pub fn context_get_resolution(context: &Context) -> f64
Expand description
Gets the resolution for the context.
See [funcPangoCairo
]
context
a pango::Context
, from a pangocairo font map
Returns
the resolution in “dots per inch”. A negative value will be returned if no resolution has previously been set.