|
Blender
V3.3
|
Public Attributes | |
| Main * | bmain |
| Scene * | scene |
| struct Depsgraph * | depsgraph |
| wmWindow * | win |
| ScrArea * | area |
| ARegion * | region |
| View2D * | v2d |
| ViewDepths * | depths |
| rctf * | subrect |
| rctf | subrect_data |
| GP_SpaceConversion | gsc |
| PointerRNA | ownerPtr |
| bGPdata * | gpd |
| bGPDlayer * | gpl |
| bGPDframe * | gpf |
| char * | align_flag |
| eGPencil_PaintStatus | status |
| eGPencil_PaintModes | paintmode |
| eGPencil_PaintFlags | flags |
| short | radius |
| float | stabilizer_factor |
| char | stabilizer_radius |
| void * | stabilizer_cursor |
| float | mval [2] |
| float | mvalo [2] |
| float | pressure |
| float | opressure |
| double | inittime |
| double | curtime |
| double | ocurtime |
| float | imat [4][4] |
| float | mat [4][4] |
| float | custom_color [4] |
| void * | erasercursor |
| short | straight [2] |
| short | keymodifier |
| bContext * | C |
| Object * | ob |
| Object * | ob_eval |
| float | mvali [2] |
| float | diff_mat [4][4] |
| Material * | material |
| Brush * | brush |
| Brush * | eraser |
| int | lock_axis |
| bool | disable_fill |
| RNG * | rng |
| bool | shift |
| float | totpixlen |
| bool | disable_stabilizer |
| tGPguide | guide |
| ReportList * | reports |
| GpRandomSettings | random_settings |
Definition at line 100 of file annotate_paint.c.
| char * tGPsdata::align_flag |
projection-mode flags (toolsettings - eGPencil_Placement_Flags)
Definition at line 133 of file annotate_paint.c.
Referenced by annotation_paint_initstroke(), annotation_project_check(), annotation_session_initdata(), gpencil_get_3d_reference(), gpencil_paint_initstroke(), gpencil_project_check(), gpencil_reproject_toplane(), gpencil_session_initdata(), and gpencil_stroke_convertcoords().
| ScrArea * tGPsdata::area |
area where painting originated.
Definition at line 109 of file annotate_paint.c.
Referenced by annotation_draw_modal(), annotation_paint_initstroke(), annotation_paint_strokeend(), annotation_session_initdata(), annotation_stroke_addpoint(), annotation_stroke_begin(), annotation_stroke_doeraser(), annotation_stroke_eraser_is_occluded(), annotation_visible_on_space(), gpencil_draw_modal(), gpencil_paint_initstroke(), gpencil_paint_strokeend(), gpencil_session_initdata(), gpencil_stroke_begin(), and gpencil_stroke_doeraser().
| Main * tGPsdata::bmain |
main database pointer.
Definition at line 101 of file annotate_paint.c.
Referenced by annotation_paint_initstroke(), annotation_paint_strokeend(), annotation_session_initdata(), gpencil_init_colors(), gpencil_init_drawing_brush(), and gpencil_session_initdata().
| Brush* tGPsdata::brush |
current drawing brush
Definition at line 223 of file gpencil_paint.c.
Referenced by gpencil_add_arc_points(), gpencil_add_fake_points(), gpencil_brush_angle_segment(), gpencil_draw_apply(), gpencil_draw_apply_event(), gpencil_draw_invoke(), gpencil_draw_modal(), gpencil_init_colors(), gpencil_init_drawing_brush(), gpencil_session_validatebuffer(), gpencil_stroke_addpoint(), gpencil_stroke_doeraser(), gpencil_stroke_eraser_calc_influence(), gpencil_stroke_eraser_is_occluded(), gpencil_stroke_filtermval(), and gpencil_stroke_newfrombuffer().
| bContext* tGPsdata::C |
Definition at line 131 of file gpencil_paint.c.
Referenced by gpencil_draw_toggle_eraser_cursor(), gpencil_session_initdata(), and gpencil_stroke_newfrombuffer().
| double tGPsdata::curtime |
Used when converting to path.
Definition at line 168 of file annotate_paint.c.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_exec(), gpencil_draw_apply(), gpencil_draw_apply_event(), and gpencil_draw_exec().
| float tGPsdata::custom_color |
custom color - hack for enforcing a particular color for track/mask editing.
Definition at line 178 of file annotate_paint.c.
Referenced by annotation_paint_initstroke(), annotation_session_initdata(), and gpencil_paint_initstroke().
| struct Depsgraph * tGPsdata::depsgraph |
Definition at line 104 of file annotate_paint.c.
Referenced by annotation_paint_initstroke(), annotation_paint_strokeend(), annotation_session_initdata(), annotation_stroke_addpoint(), annotation_stroke_doeraser(), gpencil_paint_strokeend(), gpencil_session_initdata(), gpencil_stroke_addpoint(), gpencil_stroke_doeraser(), gpencil_stroke_eraser_is_occluded(), and gpencil_stroke_newfrombuffer().
| ViewDepths * tGPsdata::depths |
For operations that require occlusion testing.
Definition at line 115 of file annotate_paint.c.
Referenced by annotation_paint_strokeend(), annotation_session_free(), annotation_stroke_doeraser(), annotation_stroke_eraser_is_occluded(), annotation_stroke_newfrombuffer(), gpencil_paint_strokeend(), gpencil_session_free(), gpencil_stroke_doeraser(), gpencil_stroke_eraser_is_occluded(), and gpencil_stroke_newfrombuffer().
| float tGPsdata::diff_mat[4][4] |
Definition at line 211 of file gpencil_paint.c.
Referenced by gpencil_stroke_doeraser(), and gpencil_stroke_eraser_dostroke().
| bool tGPsdata::disable_fill |
the stroke is no fill mode
Definition at line 232 of file gpencil_paint.c.
Referenced by gpencil_paint_initstroke(), and gpencil_session_initdata().
| bool tGPsdata::disable_stabilizer |
Special mode for fill brush.
Definition at line 243 of file gpencil_paint.c.
Referenced by gpencil_add_fake_points(), gpencil_draw_apply(), gpencil_session_initdata(), and gpencil_stroke_filtermval().
| Brush* tGPsdata::eraser |
default eraser brush
Definition at line 225 of file gpencil_paint.c.
Referenced by gpencil_draw_exit(), gpencil_init_drawing_brush(), gpencil_stroke_doeraser(), gpencil_stroke_eraser_dostroke(), and gpencil_stroke_eraser_is_occluded().
| void * tGPsdata::erasercursor |
radial cursor data for drawing eraser.
Definition at line 181 of file annotate_paint.c.
Referenced by annotation_draw_toggle_eraser_cursor(), and gpencil_draw_toggle_eraser_cursor().
| eGPencil_PaintFlags tGPsdata::flags |
flags that can get set during runtime (eGPencil_PaintFlags)
Definition at line 140 of file annotate_paint.c.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_exec(), annotation_draw_invoke(), annotation_draw_modal(), annotation_paint_initstroke(), annotation_stroke_added_check(), annotation_stroke_added_enable(), annotation_stroke_addpoint(), annotation_stroke_doeraser(), annotation_stroke_eraser_dostroke(), annotation_stroke_eraser_is_occluded(), annotation_stroke_filtermval(), gpencil_draw_apply_event(), gpencil_draw_exec(), gpencil_draw_modal(), gpencil_paint_initstroke(), and gpencil_stroke_eraser_dostroke().
| bGPdata * tGPsdata::gpd |
gp-datablock layer comes from.
Definition at line 126 of file annotate_paint.c.
Referenced by annotation_draw_invoke(), annotation_draw_stabilizer(), annotation_paint_cleanup(), annotation_paint_initstroke(), annotation_paint_strokeend(), annotation_project_check(), annotation_session_cleanup(), annotation_session_initdata(), annotation_session_validatebuffer(), annotation_smooth_buffer(), annotation_stroke_addpoint(), annotation_stroke_convertcoords(), annotation_stroke_end(), annotation_stroke_eraser_dostroke(), annotation_stroke_filtermval(), annotation_stroke_newfrombuffer(), gpencil_add_arc_points(), gpencil_add_guide_points(), gpencil_apply_randomness(), gpencil_draw_apply(), gpencil_draw_invoke(), gpencil_draw_modal(), gpencil_init_colors(), gpencil_origin_get(), gpencil_paint_cleanup(), gpencil_paint_initstroke(), gpencil_paint_strokeend(), gpencil_project_check(), gpencil_reproject_toplane(), gpencil_session_cleanup(), gpencil_session_initdata(), gpencil_session_validatebuffer(), gpencil_smooth_buffer(), gpencil_stroke_addpoint(), gpencil_stroke_convertcoords(), gpencil_stroke_doeraser(), gpencil_stroke_eraser_dostroke(), gpencil_stroke_filtermval(), and gpencil_stroke_newfrombuffer().
| bGPDframe * tGPsdata::gpf |
frame we're working on.
Definition at line 130 of file annotate_paint.c.
Referenced by annotation_arrow_create(), annotation_paint_cleanup(), annotation_paint_initstroke(), annotation_stroke_added_check(), annotation_stroke_added_enable(), annotation_stroke_addpoint(), annotation_stroke_doeraser(), annotation_stroke_end(), annotation_stroke_newfrombuffer(), gpencil_paint_cleanup(), gpencil_paint_initstroke(), and gpencil_stroke_newfrombuffer().
| bGPDlayer * tGPsdata::gpl |
layer we're working on.
Definition at line 128 of file annotate_paint.c.
Referenced by annotation_paint_initstroke(), annotation_stroke_end(), annotation_stroke_newfrombuffer(), gpencil_paint_initstroke(), gpencil_reproject_toplane(), gpencil_stroke_addpoint(), and gpencil_stroke_newfrombuffer().
| GP_SpaceConversion tGPsdata::gsc |
settings to pass to gp_points_to_xy().
Definition at line 121 of file annotate_paint.c.
Referenced by annotation_paint_initstroke(), annotation_session_initdata(), annotation_stroke_eraser_dostroke(), gpencil_origin_get(), gpencil_paint_initstroke(), gpencil_stroke_doeraser(), gpencil_stroke_eraser_dostroke(), and gpencil_stroke_newfrombuffer().
| tGPguide tGPsdata::guide |
Definition at line 245 of file gpencil_paint.c.
Referenced by gpencil_add_guide_points(), gpencil_draw_apply_event(), gpencil_snap_to_guide(), and gpencil_speed_guide_init().
| float tGPsdata::imat |
Inverted transformation matrix applying when converting coords from screen-space to region space.
Definition at line 174 of file annotate_paint.c.
Referenced by annotation_session_initdata(), annotation_stroke_convertcoords(), and gpencil_session_initdata().
| double tGPsdata::inittime |
Used when converting to path.
Definition at line 166 of file annotate_paint.c.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_exec(), annotation_session_cleanup(), annotation_session_validatebuffer(), annotation_stroke_addpoint(), annotation_stroke_newfrombuffer(), gpencil_draw_apply(), gpencil_draw_apply_event(), gpencil_draw_exec(), gpencil_session_cleanup(), gpencil_session_validatebuffer(), gpencil_stroke_addpoint(), and gpencil_stroke_newfrombuffer().
| short tGPsdata::keymodifier |
key used for invoking the operator.
key used for invoking the operator
Definition at line 187 of file annotate_paint.c.
Referenced by annotation_draw_init(), and gpencil_draw_init().
| int tGPsdata::lock_axis |
lock drawing to one axis
Definition at line 230 of file gpencil_paint.c.
Referenced by gpencil_reproject_toplane(), gpencil_session_initdata(), and gpencil_stroke_addpoint().
| float tGPsdata::mat |
Definition at line 175 of file annotate_paint.c.
Referenced by annotation_paint_initstroke(), annotation_session_initdata(), gpencil_paint_initstroke(), and gpencil_session_initdata().
| Material* tGPsdata::material |
current material
Definition at line 221 of file gpencil_paint.c.
Referenced by gpencil_init_colors(), and gpencil_stroke_addpoint().
| float tGPsdata::mval |
current mouse-position.
Definition at line 151 of file annotate_paint.c.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_exec(), annotation_stroke_doeraser(), annotation_stroke_filtermval(), gpencil_draw_apply(), gpencil_draw_apply_event(), gpencil_draw_exec(), gpencil_draw_modal(), gpencil_stroke_doeraser(), and gpencil_stroke_filtermval().
| float tGPsdata::mvali[2] |
initial recorded mouse-position
Definition at line 187 of file gpencil_paint.c.
Referenced by gpencil_draw_apply_event(), gpencil_draw_modal(), gpencil_snap_to_guide(), and gpencil_speed_guide_init().
| float tGPsdata::mvalo |
previous recorded mouse-position.
Definition at line 153 of file annotate_paint.c.
Referenced by annotation_add_missing_events(), annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_exec(), annotation_stroke_filtermval(), gpencil_add_fake_points(), gpencil_draw_apply(), gpencil_draw_apply_event(), gpencil_draw_exec(), and gpencil_stroke_filtermval().
| Object* tGPsdata::ob |
Current object.
Definition at line 140 of file gpencil_paint.c.
Referenced by gpencil_init_colors(), gpencil_session_initdata(), gpencil_stroke_addpoint(), gpencil_stroke_doeraser(), and gpencil_stroke_newfrombuffer().
| Object* tGPsdata::ob_eval |
Evaluated object.
Definition at line 142 of file gpencil_paint.c.
Referenced by gpencil_paint_initstroke(), gpencil_session_cleanup(), gpencil_session_initdata(), and gpencil_stroke_addpoint().
| double tGPsdata::ocurtime |
Used when converting to path.
Definition at line 170 of file annotate_paint.c.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_exec(), gpencil_draw_apply(), gpencil_draw_apply_event(), and gpencil_draw_exec().
| float tGPsdata::opressure |
previous stylus pressure.
Definition at line 158 of file annotate_paint.c.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_exec(), gpencil_draw_apply(), gpencil_draw_apply_event(), and gpencil_draw_exec().
| PointerRNA tGPsdata::ownerPtr |
pointer to owner of gp-datablock.
Definition at line 124 of file annotate_paint.c.
Referenced by annotation_session_initdata(), gpencil_get_3d_reference(), gpencil_reproject_toplane(), gpencil_session_initdata(), gpencil_stroke_addpoint(), gpencil_stroke_eraser_is_occluded(), and gpencil_stroke_newfrombuffer().
| eGPencil_PaintModes tGPsdata::paintmode |
mode for painting.
Definition at line 138 of file annotate_paint.c.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_cursor_set(), annotation_draw_eraser(), annotation_draw_exec(), annotation_draw_exit(), annotation_draw_invoke(), annotation_draw_modal(), annotation_draw_status_indicators(), annotation_paint_initstroke(), annotation_stroke_addpoint(), annotation_stroke_begin(), annotation_stroke_newfrombuffer(), gpencil_draw_apply(), gpencil_draw_apply_event(), gpencil_draw_eraser(), gpencil_draw_exec(), gpencil_draw_exit(), gpencil_draw_invoke(), gpencil_draw_modal(), gpencil_draw_status_indicators(), gpencil_guide_event_handling(), gpencil_paint_initstroke(), gpencil_stroke_addpoint(), gpencil_stroke_begin(), and gpencil_stroke_newfrombuffer().
| float tGPsdata::pressure |
current stylus pressure.
Definition at line 156 of file annotate_paint.c.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_exec(), gpencil_draw_apply(), gpencil_draw_apply_event(), gpencil_draw_exec(), gpencil_stroke_doeraser(), and gpencil_stroke_eraser_calc_influence().
| short tGPsdata::radius |
radius of influence for eraser.
Definition at line 143 of file annotate_paint.c.
Referenced by annotation_draw_eraser(), annotation_draw_exit(), annotation_draw_modal(), annotation_session_initpaint(), annotation_stroke_doeraser(), gpencil_draw_eraser(), gpencil_draw_exit(), gpencil_draw_modal(), gpencil_init_drawing_brush(), and gpencil_stroke_doeraser().
| GpRandomSettings tGPsdata::random_settings |
Random settings by stroke
Definition at line 250 of file gpencil_paint.c.
Referenced by gpencil_apply_randomness(), gpencil_draw_apply_event(), gpencil_draw_invoke(), and gpencil_stroke_addpoint().
| ARegion * tGPsdata::region |
region where painting originated.
Definition at line 111 of file annotate_paint.c.
Referenced by annotation_draw_apply_event(), annotation_draw_modal(), annotation_paint_initstroke(), annotation_paint_strokeend(), annotation_session_initdata(), annotation_stroke_addpoint(), annotation_stroke_convertcoords(), annotation_stroke_doeraser(), annotation_stroke_eraser_is_occluded(), gpencil_draw_apply_event(), gpencil_draw_modal(), gpencil_paint_initstroke(), gpencil_paint_strokeend(), gpencil_reproject_toplane(), gpencil_session_initdata(), gpencil_speed_guide_init(), gpencil_stroke_addpoint(), gpencil_stroke_convertcoords(), gpencil_stroke_doeraser(), gpencil_stroke_eraser_is_occluded(), and gpencil_stroke_newfrombuffer().
| ReportList* tGPsdata::reports |
Definition at line 247 of file gpencil_paint.c.
Referenced by gpencil_draw_init(), and gpencil_paint_initstroke().
| RNG* tGPsdata::rng |
Definition at line 234 of file gpencil_paint.c.
Referenced by gpencil_apply_randomness(), gpencil_session_free(), gpencil_session_initpaint(), and gpencil_stroke_addpoint().
| Scene * tGPsdata::scene |
current scene from context.
Definition at line 103 of file annotate_paint.c.
Referenced by annotation_get_3d_reference(), annotation_paint_initstroke(), annotation_paint_strokeend(), annotation_session_initdata(), annotation_stroke_addpoint(), annotation_stroke_newfrombuffer(), gpencil_add_fake_points(), gpencil_draw_apply(), gpencil_draw_apply_event(), gpencil_draw_modal(), gpencil_draw_status_indicators(), gpencil_get_3d_reference(), gpencil_guide_event_handling(), gpencil_origin_get(), gpencil_origin_set(), gpencil_paint_initstroke(), gpencil_paint_strokeend(), gpencil_reproject_toplane(), gpencil_session_initdata(), gpencil_smooth_buffer(), gpencil_stroke_addpoint(), and gpencil_stroke_newfrombuffer().
| bool tGPsdata::shift |
shift modifier flag
Definition at line 239 of file gpencil_paint.c.
Referenced by gpencil_add_fake_points(), gpencil_draw_apply(), gpencil_draw_apply_event(), and gpencil_stroke_filtermval().
| void* tGPsdata::stabilizer_cursor |
Definition at line 148 of file annotate_paint.c.
Referenced by annotation_draw_toggle_stabilizer_cursor().
| float tGPsdata::stabilizer_factor |
Definition at line 146 of file annotate_paint.c.
Referenced by annotation_draw_apply(), and annotation_draw_invoke().
| char tGPsdata::stabilizer_radius |
Definition at line 147 of file annotate_paint.c.
Referenced by annotation_draw_invoke(), and annotation_stroke_filtermval().
| eGPencil_PaintStatus tGPsdata::status |
current status of painting.
Definition at line 136 of file annotate_paint.c.
Referenced by annotation_draw_apply(), annotation_draw_init(), annotation_draw_invoke(), annotation_draw_modal(), annotation_draw_status_indicators(), annotation_paint_initstroke(), annotation_session_initdata(), annotation_stroke_begin(), annotation_stroke_end(), gpencil_draw_apply(), gpencil_draw_init(), gpencil_draw_invoke(), gpencil_draw_modal(), gpencil_draw_status_indicators(), gpencil_paint_initstroke(), gpencil_session_initdata(), and gpencil_stroke_begin().
| short tGPsdata::straight |
1: line horizontal, 2: line vertical, other: not defined, second element position.
1: line horizontal, 2: line vertical, other: not defined
Definition at line 184 of file annotate_paint.c.
Referenced by annotation_draw_apply_event(), gpencil_draw_apply_event(), gpencil_draw_modal(), and gpencil_snap_to_guide().
| rctf * tGPsdata::subrect |
for using the camera rect within the 3d view.
Definition at line 117 of file annotate_paint.c.
Referenced by annotation_paint_initstroke(), annotation_stroke_convertcoords(), and gpencil_paint_initstroke().
| rctf tGPsdata::subrect_data |
Definition at line 118 of file annotate_paint.c.
Referenced by annotation_paint_initstroke(), and gpencil_paint_initstroke().
| float tGPsdata::totpixlen |
size in pixels for uv calculation
Definition at line 241 of file gpencil_paint.c.
Referenced by gpencil_stroke_addpoint().
| View2D * tGPsdata::v2d |
needed for GP_STROKE_2DSPACE.
Definition at line 113 of file annotate_paint.c.
Referenced by annotation_paint_initstroke(), annotation_session_initdata(), annotation_stroke_convertcoords(), and gpencil_paint_initstroke().
| wmWindow * tGPsdata::win |
window where painting originated.
Definition at line 107 of file annotate_paint.c.
Referenced by annotation_draw_cursor_set(), annotation_paint_strokeend(), annotation_session_initdata(), annotation_stroke_addpoint(), annotation_stroke_doeraser(), gpencil_draw_modal(), gpencil_paint_strokeend(), gpencil_session_initdata(), and gpencil_stroke_doeraser().