Searched refs:origin_rect (Results 1 – 2 of 2) sorted by relevance
163 let origin_rect = self.text_rect.get(); in draw() localVariable165 let origin_x = origin_rect.x; in draw()169 if origin_rect.height < 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()
19 origin_rect: Rect, in align_rect()39 let negative_width = -(origin_rect.width as i32); in align_rect()40 let negative_height = -(origin_rect.height as i32); in align_rect()59 origin_rect.width, in align_rect()60 origin_rect.height, in align_rect()