43 float zoom[2], x_fac, y_fac;
60 float viewport_size[4];
66 "colors", (
float *)(
float[][4]){{1.0f, 0.0f, 0.0f, 1.0f}, {1.0f, 1.0f, 1.0f, 1.0f}}, 2);
87 "colors", (
float *)(
float[][4]){{1.0f, 1.0f, 1.0f, 1.0f}, {0.0f, 0.0f, 0.0f, 1.0f}}, 2);
MINLINE void mul_v2_fl(float r[2], float f)
void GPU_matrix_translate_2fv(const float vec[2])
void GPU_matrix_translate_2f(float x, float y)
@ GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR
void GPU_line_width(float width)
void GPU_viewport_size_get_f(float coords[4])
void UI_view2d_scale_get_inverse(const struct View2D *v2d, float *r_x, float *r_y)
void ED_image_draw_cursor(ARegion *region, const float cursor[2])