-void strat_set_bounding_box(void)
-{
- if (get_color() == I2C_COLOR_YELLOW) {
- strat_infos.area_bbox.x1 = 300;
- strat_infos.area_bbox.y1 = 200;
- strat_infos.area_bbox.x2 = 2720; /* needed for c1 */
- strat_infos.area_bbox.y2 = 1800;
- }
- else {
- strat_infos.area_bbox.x1 = 200;
- strat_infos.area_bbox.y1 = 300;
- strat_infos.area_bbox.x2 = 2720; /* needed for c1 */
- strat_infos.area_bbox.y2 = 1900;
- }
-
- polygon_set_boundingbox(strat_infos.area_bbox.x1,
- strat_infos.area_bbox.y1,
- strat_infos.area_bbox.x2,
- strat_infos.area_bbox.y2);
-}
-