Home
last modified time | relevance | path

Searched refs:rows (Results 1 – 2 of 2) sorted by relevance

/StarryEngine/starry_toolkit/src/layout/
H A Dgrid.rs178 let mut rows = Vec::new(); in arrange_elements() localVariable
183 while row >= rows.len() { in arrange_elements()
184 rows.push(Rect::default()); in arrange_elements()
190 if rect.width >= rows[row].width { in arrange_elements()
191 rows[row as usize].width = rect.width; in arrange_elements()
196 if rect.height >= rows[row].height { in arrange_elements()
197 rows[row as usize].height = rect.height; in arrange_elements()
201 self.max_row.set(rows.len()); in arrange_elements()
214 for row in rows.iter_mut() { in arrange_elements()
220 let grid_height = rows.len() as i32 * (rows[0].width as i32 + space_y) - space_y; in arrange_elements()
[all …]
/StarryEngine/starry_server/src/base/
H A Dimage.rs111 pub fn rows(&'a self) -> ImageRoiRows<'a> { in rows() method
132 for (self_row, other_row) in self.rows_mut().zip(other.rows()) { in blend()
156 for (self_row, other_row) in self.rows_mut().zip(other.rows()) { in cover()