rat_widget

Module reloc

Source
Expand description

Relocatable widgets.

Traits§

  • Widgets can be rendered to a temporary buffer using the buffers own coordinate system.

Functions§

  • Shift the area by offset and clip it.
  • Shift the area by offset and clip it.
  • Shift the position by offset and clip it. Returns None if the position is clipped.
  • Shift the position by offset and clip it. Clipped positions are replaced with (0,0) for this function.