PushBounds pushes the current bounds onto the stack and sets new bounds. This is the essential first step in rendering. See [State.PushBoundsGeom] for a version that takes more arguments.
(b image.Rectangle)
| 116 | // This is the essential first step in rendering. See [State.PushBoundsGeom] |
| 117 | // for a version that takes more arguments. |
| 118 | func (rs *State) PushBounds(b image.Rectangle) { |
| 119 | rs.PushBoundsGeom(b, styles.SideFloats{}) |
| 120 | } |
| 121 | |
| 122 | // PushBoundsGeom pushes the current bounds onto the stack and sets new bounds. |
| 123 | // This is the essential first step in rendering. It also takes the border radius |