Function pangocairo::context_get_resolution[][src]

pub fn context_get_resolution(context: &Context) -> f64
Expand description

Gets the resolution for the context. See context_set_resolution()

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.