Blender V5.0
transform_draw_cursors.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
12
13struct bContext;
14
15namespace blender::ed::transform {
16
17/* Callbacks for #WM_paint_cursor_activate. */
18
23bool transform_draw_cursor_poll(bContext *C);
28void transform_draw_cursor_draw(bContext *C,
29 const blender::int2 &xy,
30 const blender::float2 &tilt,
31 void *customdata);
32
33} // namespace blender::ed::transform
#define C
Definition RandGen.cpp:29
void transform_draw_cursor_draw(bContext *C, const blender::int2 &xy, const blender::float2 &, void *customdata)
bool transform_draw_cursor_poll(bContext *C)
VecBase< int32_t, 2 > int2
VecBase< float, 2 > float2
int xy[2]
Definition wm_draw.cc:178