Function graphics::math::relative_source_rectangle
[−]
[src]
pub fn relative_source_rectangle(rect: SourceRectangle, x: i32, y: i32) -> SourceRectangle
Computes a relative source rectangle using the source rectangle as a tile.