Home
last modified time | relevance | path

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

/StarryEngine/starry_toolkit/src/widgets/
H A Dlabel.rs164 let mut current_rect = self.text_rect.get(); // 当前字符渲染矩形 in draw() localVariable
176 current_rect.x = origin_x; in draw()
177 current_rect.y += 16; in draw()
180 if current_rect.x + 8 <= origin_rect.x + origin_rect.width as i32 in draw()
181 && current_rect.y + 16 <= origin_rect.y + origin_rect.height as i32 in draw()
185 current_rect, in draw()
193 current_rect.x += 8; in draw()