XkbComputeSectionBounds (3) - Linux Manuals

XkbComputeSectionBounds: Update the bounding box of a section


XkbComputeSectionBounds - Update the bounding box of a section


Bool XkbComputeSectionBounds (XkbGeometryPtr geom, XkbSectionPtr section);


- geom
geometry that contains the section
- section
section to be examined and updated


 If you add or delete a row to or from a section, or if you change the geometry  of any of the rows in that section, you may need to update the bounding box for that section.
  XkbComputeSectionBounds examines all the rows of the section and updates the bounding box of that section so that it contains all rows. XkbComputeSectionBounds returns False if any of the arguments is NULL; otherwise, it returns True.