Lines Matching refs:rect
5 rect::Rect,
34 pub fn rect(&mut self, rect: &Rect, color: Color) { in rect() method
35 self.image.rect( in rect()
36 rect.left() - self.x, in rect()
37 rect.top() - self.y, in rect()
38 rect.width().try_into().unwrap_or(0), in rect()
39 rect.height().try_into().unwrap_or(0), in rect()
52 pub fn roi(&mut self, rect: &Rect) -> ImageRoi { in roi()
55 rect.left() - self.x, in roi()
56 rect.top() - self.y, in roi()
57 rect.width(), in roi()
58 rect.height(), in roi()