|
Blender V5.3
|
Public Attributes | |
| Main * | bmain |
| Scene * | scene |
| Depsgraph * | depsgraph |
| wmWindow * | win |
| ScrArea * | area |
| ARegion * | region |
| View2D * | v2d |
| ViewDepths * | depths |
| const rctf * | subrect |
| rctf | subrect_data |
| GP_SpaceConversion | gsc |
| PointerRNA | ownerPtr |
| bGPdata * | gpd |
| bGPDlayer * | gpl |
| bGPDframe * | gpf |
| eGPencil_Placement_Flags * | 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 |
Definition at line 98 of file annotate_paint.cc.
| eGPencil_Placement_Flags* blender::tGPsdata::align_flag |
projection-mode flags (toolsettings - eGPencil_Placement_Flags)
Definition at line 131 of file annotate_paint.cc.
Referenced by blender::annotation_paint_initstroke(), blender::annotation_project_check(), and blender::annotation_session_initdata().
| ScrArea* blender::tGPsdata::area |
area where painting originated.
Definition at line 107 of file annotate_paint.cc.
Referenced by blender::annotation_draw_modal(), blender::annotation_paint_initstroke(), blender::annotation_paint_strokeend(), blender::annotation_session_initdata(), blender::annotation_stroke_addpoint(), blender::annotation_stroke_begin(), blender::annotation_stroke_doeraser(), blender::annotation_stroke_eraser_is_occluded(), and blender::annotation_visible_on_space().
| Main* blender::tGPsdata::bmain |
Definition at line 99 of file annotate_paint.cc.
Referenced by blender::annotation_paint_initstroke(), blender::annotation_paint_strokeend(), and blender::annotation_session_initdata().
| double blender::tGPsdata::curtime |
Used when converting to path.
Definition at line 166 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), and blender::annotation_draw_exec().
| float blender::tGPsdata::custom_color[4] |
custom color - hack for enforcing a particular color for track/mask editing.
Definition at line 178 of file annotate_paint.cc.
Referenced by blender::annotation_paint_initstroke(), and blender::annotation_session_initdata().
| Depsgraph* blender::tGPsdata::depsgraph |
Definition at line 102 of file annotate_paint.cc.
Referenced by blender::annotation_paint_initstroke(), blender::annotation_paint_strokeend(), blender::annotation_session_initdata(), blender::annotation_stroke_addpoint(), and blender::annotation_stroke_doeraser().
| ViewDepths* blender::tGPsdata::depths |
For operations that require occlusion testing.
Definition at line 113 of file annotate_paint.cc.
Referenced by blender::annotation_paint_strokeend(), blender::annotation_session_free(), blender::annotation_stroke_doeraser(), blender::annotation_stroke_eraser_is_occluded(), and blender::annotation_stroke_newfrombuffer().
| void* blender::tGPsdata::erasercursor |
radial cursor data for drawing eraser.
Definition at line 181 of file annotate_paint.cc.
Referenced by blender::annotation_draw_toggle_eraser_cursor().
| eGPencil_PaintFlags blender::tGPsdata::flags |
flags that can get set during runtime (eGPencil_PaintFlags)
Definition at line 138 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), blender::annotation_draw_exec(), blender::annotation_draw_invoke(), blender::annotation_draw_modal(), blender::annotation_paint_initstroke(), blender::annotation_stroke_added_check(), blender::annotation_stroke_added_enable(), blender::annotation_stroke_addpoint(), blender::annotation_stroke_doeraser(), blender::annotation_stroke_eraser_dostroke(), blender::annotation_stroke_eraser_is_occluded(), and blender::annotation_stroke_filtermval().
| bGPdata* blender::tGPsdata::gpd |
gp-datablock layer comes from.
Definition at line 124 of file annotate_paint.cc.
Referenced by blender::annotation_draw_invoke(), blender::annotation_draw_stabilizer(), blender::annotation_paint_cleanup(), blender::annotation_paint_initstroke(), blender::annotation_paint_strokeend(), blender::annotation_project_check(), blender::annotation_session_cleanup(), blender::annotation_session_initdata(), blender::annotation_session_validatebuffer(), blender::annotation_smooth_buffer(), blender::annotation_stroke_addpoint(), blender::annotation_stroke_convertcoords(), blender::annotation_stroke_end(), blender::annotation_stroke_eraser_dostroke(), blender::annotation_stroke_filtermval(), and blender::annotation_stroke_newfrombuffer().
| bGPDframe* blender::tGPsdata::gpf |
frame we're working on.
Definition at line 128 of file annotate_paint.cc.
Referenced by blender::annotation_arrow_create(), blender::annotation_paint_cleanup(), blender::annotation_paint_initstroke(), blender::annotation_stroke_added_check(), blender::annotation_stroke_added_enable(), blender::annotation_stroke_addpoint(), blender::annotation_stroke_doeraser(), blender::annotation_stroke_end(), and blender::annotation_stroke_newfrombuffer().
| bGPDlayer* blender::tGPsdata::gpl |
layer we're working on.
Definition at line 126 of file annotate_paint.cc.
Referenced by blender::annotation_paint_initstroke(), blender::annotation_stroke_end(), and blender::annotation_stroke_newfrombuffer().
| GP_SpaceConversion blender::tGPsdata::gsc |
settings to pass to gp_points_to_xy().
Definition at line 119 of file annotate_paint.cc.
Referenced by blender::annotation_paint_initstroke(), blender::annotation_session_initdata(), and blender::annotation_stroke_eraser_dostroke().
| float blender::tGPsdata::imat[4][4] |
Inverted transformation matrix applying when converting coords from screen-space to region space.
Definition at line 174 of file annotate_paint.cc.
Referenced by blender::annotation_session_initdata(), and blender::annotation_stroke_convertcoords().
| double blender::tGPsdata::inittime |
Used when converting to path.
Definition at line 164 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), blender::annotation_draw_exec(), blender::annotation_session_cleanup(), blender::annotation_session_validatebuffer(), blender::annotation_stroke_addpoint(), and blender::annotation_stroke_newfrombuffer().
| short blender::tGPsdata::keymodifier |
key used for invoking the operator.
Definition at line 187 of file annotate_paint.cc.
Referenced by blender::annotation_draw_init().
| float blender::tGPsdata::mat[4][4] |
Definition at line 175 of file annotate_paint.cc.
Referenced by blender::annotation_paint_initstroke(), and blender::annotation_session_initdata().
| float blender::tGPsdata::mval[2] |
current mouse-position.
Definition at line 149 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), blender::annotation_draw_exec(), blender::annotation_stroke_doeraser(), and blender::annotation_stroke_filtermval().
| float blender::tGPsdata::mvalo[2] |
previous recorded mouse-position.
Definition at line 151 of file annotate_paint.cc.
Referenced by blender::annotation_add_missing_events(), blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), blender::annotation_draw_exec(), and blender::annotation_stroke_filtermval().
| double blender::tGPsdata::ocurtime |
Used when converting to path.
Definition at line 168 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), and blender::annotation_draw_exec().
| float blender::tGPsdata::opressure |
previous stylus pressure.
Definition at line 156 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), and blender::annotation_draw_exec().
| PointerRNA blender::tGPsdata::ownerPtr |
pointer to owner of gp-datablock.
Definition at line 122 of file annotate_paint.cc.
Referenced by blender::annotation_session_initdata().
| eGPencil_PaintModes blender::tGPsdata::paintmode |
mode for painting.
Definition at line 136 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), blender::annotation_draw_cursor_set(), blender::annotation_draw_eraser(), blender::annotation_draw_exec(), blender::annotation_draw_exit(), blender::annotation_draw_invoke(), blender::annotation_draw_modal(), blender::annotation_draw_status_indicators(), blender::annotation_paint_initstroke(), blender::annotation_stroke_addpoint(), blender::annotation_stroke_begin(), and blender::annotation_stroke_newfrombuffer().
| float blender::tGPsdata::pressure |
current stylus pressure.
Definition at line 154 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), and blender::annotation_draw_exec().
| short blender::tGPsdata::radius |
radius of influence for eraser.
Definition at line 141 of file annotate_paint.cc.
Referenced by blender::annotation_draw_eraser(), blender::annotation_draw_exit(), blender::annotation_draw_modal(), blender::annotation_session_initpaint(), and blender::annotation_stroke_doeraser().
| ARegion* blender::tGPsdata::region |
region where painting originated.
Definition at line 109 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply_event(), blender::annotation_draw_modal(), blender::annotation_paint_initstroke(), blender::annotation_paint_strokeend(), blender::annotation_session_initdata(), blender::annotation_stroke_addpoint(), blender::annotation_stroke_convertcoords(), blender::annotation_stroke_doeraser(), and blender::annotation_stroke_eraser_is_occluded().
| Scene* blender::tGPsdata::scene |
current scene from context.
Definition at line 101 of file annotate_paint.cc.
Referenced by blender::annotation_get_3d_reference(), blender::annotation_paint_initstroke(), blender::annotation_paint_strokeend(), blender::annotation_session_initdata(), blender::annotation_stroke_addpoint(), and blender::annotation_stroke_newfrombuffer().
| void* blender::tGPsdata::stabilizer_cursor |
Definition at line 146 of file annotate_paint.cc.
Referenced by blender::annotation_draw_toggle_stabilizer_cursor().
| float blender::tGPsdata::stabilizer_factor |
Definition at line 144 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply(), and blender::annotation_draw_invoke().
| char blender::tGPsdata::stabilizer_radius |
Definition at line 145 of file annotate_paint.cc.
Referenced by blender::annotation_draw_invoke(), and blender::annotation_stroke_filtermval().
| eGPencil_PaintStatus blender::tGPsdata::status |
current status of painting.
Definition at line 134 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply(), blender::annotation_draw_init(), blender::annotation_draw_invoke(), blender::annotation_draw_modal(), blender::annotation_draw_status_indicators(), blender::annotation_paint_initstroke(), blender::annotation_session_initdata(), blender::annotation_stroke_begin(), and blender::annotation_stroke_end().
| short blender::tGPsdata::straight[2] |
1: line horizontal, 2: line vertical, other: not defined, second element position.
Definition at line 184 of file annotate_paint.cc.
Referenced by blender::annotation_draw_apply_event().
| const rctf* blender::tGPsdata::subrect |
for using the camera rect within the 3d view.
Definition at line 115 of file annotate_paint.cc.
Referenced by blender::annotation_paint_initstroke(), and blender::annotation_stroke_convertcoords().
| rctf blender::tGPsdata::subrect_data |
Definition at line 116 of file annotate_paint.cc.
Referenced by blender::annotation_paint_initstroke().
| View2D* blender::tGPsdata::v2d |
needed for GP_STROKE_2DSPACE.
Definition at line 111 of file annotate_paint.cc.
Referenced by blender::annotation_paint_initstroke(), blender::annotation_session_initdata(), and blender::annotation_stroke_convertcoords().
| wmWindow* blender::tGPsdata::win |
window where painting originated.
Definition at line 105 of file annotate_paint.cc.
Referenced by blender::annotation_draw_cursor_set(), and blender::annotation_session_initdata().