refactoring: switch from box_t<int> to rectangle_t<double> and region_t<int> to region_t<double> in entire code to match cairo choise. use typedef as shortcut
use safer theme position computation to avoid miss allignement due to floating computation
misc.