Merge branch 'master' into dev
This commit is contained in:
commit
e76f2cbb9d
@ -4,5 +4,5 @@
|
||||
* @defgroup trigonometric Trigonometric Helper Functions
|
||||
*
|
||||
* The trigonometric helper function are used to calculate bounding boxes
|
||||
* @warning Code is incomplete. Please double check the functionality!
|
||||
* @warning Code is incomplete. Please double check for functionality!
|
||||
*/
|
||||
|
@ -36,7 +36,8 @@
|
||||
|
||||
/**
|
||||
* @brief function name expected to be found in external library.
|
||||
* @detail The function has to be defined as follows:
|
||||
*
|
||||
* The function has to be defined as follows:
|
||||
* @code
|
||||
* int function_name(gds_cell *toplevel, GList *layer_info_list, char *output_file_name)
|
||||
* @endcode
|
||||
|
@ -40,7 +40,7 @@ enum cell_store_columns {
|
||||
CELL_SEL_CELL_ERROR_STATE, /**< Used for cell color and selectability */
|
||||
CELL_SEL_MODDATE,
|
||||
CELL_SEL_ACCESSDATE,
|
||||
CELL_SEL_COLUMN_COUNT /**< Not a column. Used to determine count of coumns **/
|
||||
CELL_SEL_COLUMN_COUNT /**< @brief Not a column. Used to determine count of columns */
|
||||
};
|
||||
|
||||
struct tree_stores {
|
||||
|
@ -180,10 +180,11 @@ void bounding_box_update_point(union bounding_box *destination, conv_generic_to_
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief bounding_box_apply_transform
|
||||
* @param scale scaling factor
|
||||
* @param rotation roation of bounding box around the origin in degrees (counterclockwise)
|
||||
* @param box bounding box the operations should be applied to
|
||||
* @brief Apply transformations onto bounding box.
|
||||
* @param scale Scaling factor
|
||||
* @param rotation_deg Roation of bounding box around the origin in degrees (counterclockwise)
|
||||
* @param flip_at_x Flip the boundig box on the x axis before rotating.
|
||||
* @param box Bounding box the operations should be applied to.
|
||||
*/
|
||||
void bounding_box_apply_transform(double scale, double rotation_deg, bool flip_at_x, union bounding_box *box)
|
||||
{
|
||||
|
@ -38,9 +38,9 @@ static void convert_gds_point_to_2d_vector(struct gds_point *pt, struct vector_2
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief update_box_with_gfx
|
||||
* @param box
|
||||
* @param gfx_list
|
||||
* @brief Update the given bounding box with the bounding box of a graphics element.
|
||||
* @param box box to update
|
||||
* @param gfx Graphics element
|
||||
*/
|
||||
static void update_box_with_gfx(union bounding_box *box, struct gds_graphics *gfx)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user