|
Blender V4.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 |
| 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 |
Definition at line 93 of file annotate_paint.cc.
| char* tGPsdata::align_flag |
projection-mode flags (toolsettings - eGPencil_Placement_Flags)
Definition at line 126 of file annotate_paint.cc.
Referenced by annotation_paint_initstroke(), annotation_project_check(), and annotation_session_initdata().
| ScrArea* tGPsdata::area |
area where painting originated.
Definition at line 102 of file annotate_paint.cc.
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(), and annotation_visible_on_space().
| Main* tGPsdata::bmain |
Definition at line 94 of file annotate_paint.cc.
Referenced by annotation_paint_initstroke(), annotation_paint_strokeend(), and annotation_session_initdata().
| double tGPsdata::curtime |
Used when converting to path.
Definition at line 161 of file annotate_paint.cc.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), and annotation_draw_exec().
| float tGPsdata::custom_color[4] |
custom color - hack for enforcing a particular color for track/mask editing.
Definition at line 171 of file annotate_paint.cc.
Referenced by annotation_paint_initstroke(), and annotation_session_initdata().
| Depsgraph* tGPsdata::depsgraph |
Definition at line 97 of file annotate_paint.cc.
Referenced by annotation_paint_initstroke(), annotation_paint_strokeend(), annotation_session_initdata(), annotation_stroke_addpoint(), and annotation_stroke_doeraser().
| ViewDepths* tGPsdata::depths |
For operations that require occlusion testing.
Definition at line 108 of file annotate_paint.cc.
Referenced by annotation_paint_strokeend(), annotation_session_free(), annotation_stroke_doeraser(), annotation_stroke_eraser_is_occluded(), and annotation_stroke_newfrombuffer().
| void* tGPsdata::erasercursor |
radial cursor data for drawing eraser.
Definition at line 174 of file annotate_paint.cc.
Referenced by annotation_draw_toggle_eraser_cursor().
| eGPencil_PaintFlags tGPsdata::flags |
flags that can get set during runtime (eGPencil_PaintFlags)
Definition at line 133 of file annotate_paint.cc.
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(), and annotation_stroke_filtermval().
| bGPdata* tGPsdata::gpd |
gp-datablock layer comes from.
Definition at line 119 of file annotate_paint.cc.
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(), and annotation_stroke_newfrombuffer().
| bGPDframe* tGPsdata::gpf |
frame we're working on.
Definition at line 123 of file annotate_paint.cc.
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(), and annotation_stroke_newfrombuffer().
| bGPDlayer* tGPsdata::gpl |
layer we're working on.
Definition at line 121 of file annotate_paint.cc.
Referenced by annotation_paint_initstroke(), annotation_stroke_end(), and annotation_stroke_newfrombuffer().
| GP_SpaceConversion tGPsdata::gsc |
settings to pass to gp_points_to_xy().
Definition at line 114 of file annotate_paint.cc.
Referenced by annotation_paint_initstroke(), annotation_session_initdata(), and annotation_stroke_eraser_dostroke().
| float tGPsdata::imat[4][4] |
Inverted transformation matrix applying when converting coords from screen-space to region space.
Definition at line 167 of file annotate_paint.cc.
Referenced by annotation_session_initdata(), and annotation_stroke_convertcoords().
| double tGPsdata::inittime |
Used when converting to path.
Definition at line 159 of file annotate_paint.cc.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_exec(), annotation_session_cleanup(), annotation_session_validatebuffer(), annotation_stroke_addpoint(), and annotation_stroke_newfrombuffer().
| short tGPsdata::keymodifier |
key used for invoking the operator.
Definition at line 180 of file annotate_paint.cc.
Referenced by annotation_draw_init().
| float tGPsdata::mat[4][4] |
Definition at line 168 of file annotate_paint.cc.
Referenced by annotation_paint_initstroke(), and annotation_session_initdata().
| float tGPsdata::mval[2] |
current mouse-position.
Definition at line 144 of file annotate_paint.cc.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_exec(), annotation_stroke_doeraser(), and annotation_stroke_filtermval().
| float tGPsdata::mvalo[2] |
previous recorded mouse-position.
Definition at line 146 of file annotate_paint.cc.
Referenced by annotation_add_missing_events(), annotation_draw_apply(), annotation_draw_apply_event(), annotation_draw_exec(), and annotation_stroke_filtermval().
| double tGPsdata::ocurtime |
Used when converting to path.
Definition at line 163 of file annotate_paint.cc.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), and annotation_draw_exec().
| float tGPsdata::opressure |
previous stylus pressure.
Definition at line 151 of file annotate_paint.cc.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), and annotation_draw_exec().
| PointerRNA tGPsdata::ownerPtr |
pointer to owner of gp-datablock.
Definition at line 117 of file annotate_paint.cc.
Referenced by annotation_session_initdata().
| eGPencil_PaintModes tGPsdata::paintmode |
mode for painting.
Definition at line 131 of file annotate_paint.cc.
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(), and annotation_stroke_newfrombuffer().
| float tGPsdata::pressure |
current stylus pressure.
Definition at line 149 of file annotate_paint.cc.
Referenced by annotation_draw_apply(), annotation_draw_apply_event(), and annotation_draw_exec().
| short tGPsdata::radius |
radius of influence for eraser.
Definition at line 136 of file annotate_paint.cc.
Referenced by annotation_draw_eraser(), annotation_draw_exit(), annotation_draw_modal(), annotation_session_initpaint(), and annotation_stroke_doeraser().
| ARegion* tGPsdata::region |
region where painting originated.
Definition at line 104 of file annotate_paint.cc.
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(), and annotation_stroke_eraser_is_occluded().
| Scene* tGPsdata::scene |
current scene from context.
Definition at line 96 of file annotate_paint.cc.
Referenced by annotation_get_3d_reference(), annotation_paint_initstroke(), annotation_paint_strokeend(), annotation_session_initdata(), annotation_stroke_addpoint(), and annotation_stroke_newfrombuffer().
| void* tGPsdata::stabilizer_cursor |
Definition at line 141 of file annotate_paint.cc.
Referenced by annotation_draw_toggle_stabilizer_cursor().
| float tGPsdata::stabilizer_factor |
Definition at line 139 of file annotate_paint.cc.
Referenced by annotation_draw_apply(), and annotation_draw_invoke().
| char tGPsdata::stabilizer_radius |
Definition at line 140 of file annotate_paint.cc.
Referenced by annotation_draw_invoke(), and annotation_stroke_filtermval().
| eGPencil_PaintStatus tGPsdata::status |
current status of painting.
Definition at line 129 of file annotate_paint.cc.
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(), and annotation_stroke_end().
| short tGPsdata::straight[2] |
1: line horizontal, 2: line vertical, other: not defined, second element position.
Definition at line 177 of file annotate_paint.cc.
Referenced by annotation_draw_apply_event().
| const rctf* tGPsdata::subrect |
for using the camera rect within the 3d view.
Definition at line 110 of file annotate_paint.cc.
Referenced by annotation_paint_initstroke(), and annotation_stroke_convertcoords().
| rctf tGPsdata::subrect_data |
Definition at line 111 of file annotate_paint.cc.
Referenced by annotation_paint_initstroke().
| View2D* tGPsdata::v2d |
needed for GP_STROKE_2DSPACE.
Definition at line 106 of file annotate_paint.cc.
Referenced by annotation_paint_initstroke(), annotation_session_initdata(), and annotation_stroke_convertcoords().
| wmWindow* tGPsdata::win |
window where painting originated.
Definition at line 100 of file annotate_paint.cc.
Referenced by annotation_draw_cursor_set(), annotation_paint_strokeend(), annotation_session_initdata(), annotation_stroke_addpoint(), and annotation_stroke_doeraser().