[][src]Module rsvg_internals::float_eq_cairo

Utilities to compare floating-point numbers.

Constants

CAIRO_FIXED_FRAC_BITS
CAIRO_MAGIC_NUMBER_FIXED

Traits

ApproxEqCairo

Checks whether two floating-point numbers are approximately equal, considering Cairo's limitations on numeric representation.

FixedEqCairo

Implements a method to check whether two f64 numbers would have the same fixed-point representation in Cairo.

Functions

cairo_fixed_from_double
cairo_magic_double