Update documentation and implementations of bounding box calculations. Rename functions to fit their behavior

This commit is contained in:
2019-11-16 15:54:56 +01:00
parent 1b1f742ae1
commit 0c20db39bd
3 changed files with 96 additions and 17 deletions

View File

@@ -63,7 +63,7 @@ static void update_box_with_gfx(union bounding_box *box, struct gds_graphics *gf
* Please be aware if paths are the outmost elements of your cell.
* You might end up with a completely wrong calculated cell size.
*/
bounding_box_calculate_path_box(gfx->vertices, gfx->width_absolute,
bounding_box_update_with_path(gfx->vertices, gfx->width_absolute,
(conv_generic_to_vector_2d_t)&convert_gds_point_to_2d_vector,
&current_box);
break;