Variable cairo_text_extents_t.x_bearing

the horizontal distance from the origin to the leftmost part of the glyphs as drawn. Positive if the glyphs lie entirely to the right of the origin.

Declaration

struct cairo_text_extents_t
{
  // ...
  double x_bearing;
  // ...
}

Authors

Johannes Pfau cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1