pub fn damage_y_to_viewport_y(size_info: &SizeInfo, rect: &Rect) -> i32
Expand description

Convert viewport y coordinate to Rect damage coordinate.