Lines Matching refs:rect
232 self.rect(x0 - x, y0 + y, x as u32, 1, color); in arc()
235 self.rect(x0, y0 + y, x as u32 + 1, 1, color); in arc()
238 self.rect(x0 - y, y0 + x, y as u32, 1, color); in arc()
241 self.rect(x0, y0 + x, y as u32 + 1, 1, color); in arc()
244 self.rect(x0 - x, y0 - y, x as u32, 1, color); in arc()
247 self.rect(x0, y0 - y, x as u32 + 1, 1, color); in arc()
250 self.rect(x0 - y, y0 - x, y as u32, 1, color); in arc()
253 self.rect(x0, y0 - x, y as u32 + 1, 1, color); in arc()
347 self.rect(x0 - x, y0 + y, x as u32 * 2 + 1, 1, color); in line4points()
350 self.rect(x0 - x, y0 - y, x as u32 * 2 + 1, 1, color); in line4points()
456 fn rect(&mut self, x: i32, y: i32, w: u32, h: u32, color: Color) { in rect() method