docs: def console_print_rect_ex(
      con: tcod.console.Console,
      x: int,
      y: int,
      w: int,
      h: int,
      flag: int,
      alignment: int,
      fmt: str,
  ) -> int:
      """Print a string constrained to a rectangle with blend and alignment.
  
      Returns:
          int: The number of lines of text once word-wrapped.
  
      .. deprecated:: 8.5
          Use :any:`Console.print_rect` instead.
      """
      return int(
          lib.TCOD_console_printf_rect_ex(
              _console(con), x, y, w, h, flag, alignment, _fmt(fmt)
          )
      )