Creates a bundle of fixed areas mappings
fixed_areas_bundle.Rd
Puts together several fixed areas mappings to make them all (de)activated by the same rule
Arguments
- ...
A varying number of pairs of coordinate vectors. The first of these pairs should always represent an area on the screen, and the second one an area on the unscrolled image. Each vector should take the form c(top_left_x, top_left_y, bottom_right_x, bottom_right_y)
Examples
if (FALSE) {
top_fixed_area_screen <- c(0, 89, 1919, 276)
top_fixed_area_image <- c(0, 0, 1919, 187)
right_fixed_area_screen <- c(1632, 277, 1919, 936)
right_fixed_area_image <- c(1632, 188, 1919, 847)
area_bundle <- fixed_areas_bundle(top_fixed_area_screen,
top_fixed_area_image,
right_fixed_area_screen,
right_fixed_area_image)
fixed_areas <- list(area_bundle)
}