# format_draw_put

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L110
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-format-draw-c-format_draw_put/

```c
static void format_draw_put(struct screen_write_ctx *octx, u_int ocx, u_int ocy, struct screen *s, struct format_ranges *frs, u_int offset, u_int start, u_int width)
```

## Parameters

- `octx` (`struct screen_write_ctx *`)
- `ocx` (`u_int`)
- `ocy` (`u_int`)
- `s` (`struct screen *`)
- `frs` (`struct format_ranges *`)
- `offset` (`u_int`)
- `start` (`u_int`)
- `width` (`u_int`)

## Called by

- [`format_draw_absolute_centre`](/en/tmux/3.7c/reference/c-function-format-draw-c-format_draw_absolute_centre/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L590)
- [`format_draw_centre`](/en/tmux/3.7c/reference/c-function-format-draw-c-format_draw_centre/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L381)
- [`format_draw_left`](/en/tmux/3.7c/reference/c-function-format-draw-c-format_draw_left/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L278)
- [`format_draw_none`](/en/tmux/3.7c/reference/c-function-format-draw-c-format_draw_none/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L194)
- [`format_draw_put_list`](/en/tmux/3.7c/reference/c-function-format-draw-c-format_draw_put_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L134)
- [`format_draw_right`](/en/tmux/3.7c/reference/c-function-format-draw-c-format_draw_right/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L489)

## Calls

- [`format_update_ranges`](/en/tmux/3.7c/reference/c-function-format-draw-c-format_update_ranges/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L120)
- [`screen_write_cursormove`](/en/tmux/3.7c/reference/c-function-screen_write_cursormove/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L118)
- [`screen_write_fast_copy`](/en/tmux/3.7c/reference/c-function-screen_write_fast_copy/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L119)

## Referenced declarations

- [`format_ranges`](/en/tmux/3.7c/reference/c-struct-format_ranges/) (struct)
- [`format_range.s`](/en/tmux/3.7c/reference/c-struct-format_range-s/) (attribute)
- [`screen`](/en/tmux/3.7c/reference/c-struct-screen/) (struct)
- [`screen_write_ctx`](/en/tmux/3.7c/reference/c-struct-screen_write_ctx/) (struct)
- [`format_range.start`](/en/tmux/3.7c/reference/c-struct-format_range-start/) (attribute)
