Home
last modified time | relevance | path

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

/StarryEngine/starry_toolkit/src/widgets/
H A Dmod.rs58 fn pivot_offset(&self) -> &Cell<Vector2>; in pivot_offset() method
112 fn set_pivot_offset(&self, pivot_offset: Vector2) { in set_pivot_offset()
113 self.set_pivot_offset_base(pivot_offset); in set_pivot_offset()
117 fn set_pivot_offset_base(&self, pivot_offset: Vector2) { in set_pivot_offset_base()
118 self.pivot_offset().set(pivot_offset); in set_pivot_offset_base()
166 self.pivot_offset().get(), in arrange_self_base()
H A Dlabel.rs34 pivot_offset: Cell<Vector2>, field
55 pivot_offset: Cell::new(Vector2::new(0, 0)), in new()
146 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset() method
147 &self.pivot_offset in pivot_offset()
209 fn set_pivot_offset(&self, pivot_offset: Vector2) { in set_pivot_offset()
210 self.set_pivot_offset_base(pivot_offset); in set_pivot_offset()
H A Dimage.rs22 pivot_offset: Cell<Vector2>, field
48 pivot_offset: Cell::new(Vector2::new(0, 0)), in new_from_image()
106 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset() method
107 &self.pivot_offset in pivot_offset()
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dasset_item_list.rs23 pivot_offset: Cell<Vector2>, field
41 pivot_offset: Cell::new(Vector2::new(0, 0)), in new()
103 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset() method
104 &self.pivot_offset in pivot_offset()
H A Dasset_item_grid.rs28 pivot_offset: Cell<Vector2>, field
47 pivot_offset: Cell::new(Vector2::new(0, 0)), in new()
108 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset() method
109 &self.pivot_offset in pivot_offset()
/StarryEngine/starry_toolkit/src/layout/
H A Dlist.rs35 pivot_offset: Cell<Vector2>, field
56 pivot_offset: Cell::new(Vector2::new(0, 0)), in new()
192 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset() method
193 &self.pivot_offset in pivot_offset()
H A Dgrid.rs30 pivot_offset: Cell<Vector2>, field
66 pivot_offset: Cell::new(Vector2::new(0, 0)), in new()
263 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset() method
264 &self.pivot_offset in pivot_offset()
/StarryEngine/starry_toolkit/src/util/
H A Dmod.rs22 pivot_offset: Vector2, in align_rect()
37 let mut target_pos = relative_pos + pivot_offset; in align_rect()