Home
last modified time | relevance | path

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

/StarryEngine/starry_toolkit/src/widgets/
H A Dimage.rs126 let local_rect = get_local_rect(self.rect.get(), panel_rect); in draw() localVariable
128 local_rect.x, in draw()
129 local_rect.y, in draw()
130 local_rect.width, in draw()
131 local_rect.height, in draw()
H A Dlabel.rs184 let local_rect = get_local_rect( in draw() localVariable
188 renderer.char(local_rect.x, local_rect.y, char, self.text_color.get()); in draw()