Blender  V3.3
Public Attributes | List of all members
PaintStroke Struct Reference

Public Attributes

voidmode_data
 
voidstroke_cursor
 
wmTimertimer
 
struct RNGrng
 
ViewContext vc
 
Brushbrush
 
UnifiedPaintSettingsups
 
ListBase line
 
PaintSample samples [PAINT_MAX_INPUT_SAMPLES]
 
int num_samples
 
int cur_sample
 
int tot_samples
 
float last_mouse_position [2]
 
float last_world_space_position [3]
 
float last_scene_spacing_delta [3]
 
bool stroke_over_mesh
 
float stroke_distance
 
bool stroke_started
 
bool rake_started
 
int event_type
 
bool stroke_init
 
bool brush_init
 
float initial_mouse [2]
 
float cached_size_pressure
 
float last_pressure
 
int stroke_mode
 
float last_tablet_event_pressure
 
float zoom_2d
 
int pen_flip
 
float x_tilt
 
float y_tilt
 
bool constrain_line
 
float constrained_pos [2]
 
StrokeGetLocation get_location
 
StrokeTestStart test_start
 
StrokeUpdateStep update_step
 
StrokeRedraw redraw
 
StrokeDone done
 
bool original
 

Detailed Description

Definition at line 59 of file paint_stroke.c.

Member Data Documentation

◆ brush

Brush* PaintStroke::brush

◆ brush_init

bool PaintStroke::brush_init

Definition at line 99 of file paint_stroke.c.

Referenced by paint_brush_update().

◆ cached_size_pressure

float PaintStroke::cached_size_pressure

Definition at line 102 of file paint_stroke.c.

Referenced by paint_brush_update().

◆ constrain_line

bool PaintStroke::constrain_line

◆ constrained_pos

float PaintStroke::constrained_pos[2]

Definition at line 118 of file paint_stroke.c.

Referenced by paint_draw_line_cursor(), and paint_stroke_line_constrain().

◆ cur_sample

int PaintStroke::cur_sample

Definition at line 77 of file paint_stroke.c.

Referenced by paint_stroke_add_sample().

◆ done

StrokeDone PaintStroke::done

Definition at line 124 of file paint_stroke.c.

Referenced by paint_stroke_new(), and stroke_done().

◆ event_type

int PaintStroke::event_type

Definition at line 95 of file paint_stroke.c.

Referenced by paint_stroke_modal(), and paint_stroke_new().

◆ get_location

StrokeGetLocation PaintStroke::get_location

Definition at line 120 of file paint_stroke.c.

Referenced by paint_brush_update(), and paint_stroke_new().

◆ initial_mouse

float PaintStroke::initial_mouse[2]

Definition at line 100 of file paint_stroke.c.

Referenced by paint_brush_update().

◆ last_mouse_position

float PaintStroke::last_mouse_position[2]

◆ last_pressure

float PaintStroke::last_pressure

◆ last_scene_spacing_delta

float PaintStroke::last_scene_spacing_delta[3]

Definition at line 82 of file paint_stroke.c.

Referenced by paint_brush_stroke_add_step(), and paint_space_stroke().

◆ last_tablet_event_pressure

float PaintStroke::last_tablet_event_pressure

Definition at line 107 of file paint_stroke.c.

Referenced by paint_stroke_modal().

◆ last_world_space_position

float PaintStroke::last_world_space_position[3]

◆ line

ListBase PaintStroke::line

Definition at line 71 of file paint_stroke.c.

Referenced by paint_stroke_free().

◆ mode_data

void* PaintStroke::mode_data

Definition at line 60 of file paint_stroke.c.

Referenced by paint_stroke_mode_data(), and paint_stroke_set_mode_data().

◆ num_samples

int PaintStroke::num_samples

Definition at line 76 of file paint_stroke.c.

Referenced by paint_stroke_add_sample(), and paint_stroke_sample_average().

◆ original

bool PaintStroke::original

◆ pen_flip

int PaintStroke::pen_flip

◆ rake_started

bool PaintStroke::rake_started

Definition at line 93 of file paint_stroke.c.

Referenced by paint_brush_update().

◆ redraw

StrokeRedraw PaintStroke::redraw

Definition at line 123 of file paint_stroke.c.

Referenced by paint_stroke_modal(), paint_stroke_new(), and stroke_done().

◆ rng

struct RNG* PaintStroke::rng

Definition at line 63 of file paint_stroke.c.

Referenced by paint_brush_update(), and paint_stroke_free().

◆ samples

PaintSample PaintStroke::samples[PAINT_MAX_INPUT_SAMPLES]

Definition at line 75 of file paint_stroke.c.

Referenced by paint_stroke_add_sample(), and paint_stroke_sample_average().

◆ stroke_cursor

void* PaintStroke::stroke_cursor

Definition at line 61 of file paint_stroke.c.

Referenced by paint_stroke_free(), and paint_stroke_modal().

◆ stroke_distance

float PaintStroke::stroke_distance

◆ stroke_init

bool PaintStroke::stroke_init

Definition at line 97 of file paint_stroke.c.

Referenced by paint_stroke_modal().

◆ stroke_mode

int PaintStroke::stroke_mode

◆ stroke_over_mesh

bool PaintStroke::stroke_over_mesh

◆ stroke_started

bool PaintStroke::stroke_started

◆ test_start

StrokeTestStart PaintStroke::test_start

◆ timer

wmTimer* PaintStroke::timer

Definition at line 62 of file paint_stroke.c.

Referenced by paint_stroke_free(), and paint_stroke_modal().

◆ tot_samples

int PaintStroke::tot_samples

Definition at line 78 of file paint_stroke.c.

Referenced by paint_brush_stroke_add_step().

◆ update_step

StrokeUpdateStep PaintStroke::update_step

◆ ups

UnifiedPaintSettings* PaintStroke::ups

◆ vc

ViewContext PaintStroke::vc

◆ x_tilt

float PaintStroke::x_tilt

Definition at line 113 of file paint_stroke.c.

Referenced by paint_brush_stroke_add_step(), and paint_stroke_modal().

◆ y_tilt

float PaintStroke::y_tilt

Definition at line 114 of file paint_stroke.c.

Referenced by paint_brush_stroke_add_step(), and paint_stroke_modal().

◆ zoom_2d

float PaintStroke::zoom_2d

The documentation for this struct was generated from the following file: