nukescripts.renderdialog.bboxToTopLeft
- nukescripts.renderdialog.bboxToTopLeft(height, roi)[source]
Convert the roi passed from a origin at the bottom left to the top left. Also replaces the r and t keys with w and h keys. :type height: :param height: the height used to determine the top. :type roi: :param roi: the roi with a bottom left origin, must have x, y, r & t keys. @result dict with x, y, w & h keys