|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | bGPDcontrolpoint |
| struct | bGPDspoint_Runtime |
| struct | bGPDspoint |
| struct | bGPDtriangle |
| struct | bGPDpalettecolor |
| struct | bGPDpalette |
| struct | bGPDcurve_point |
| struct | bGPDcurve |
| struct | bGPDstroke_Runtime |
| struct | bGPDstroke |
| struct | bGPDframe_Runtime |
| struct | bGPDframe |
| struct | bGPDlayer_Mask |
| struct | bGPDlayer_Runtime |
| struct | bGPDlayer |
| struct | bGPdata_Runtime |
| struct | bGPgrid |
| struct | bGPdata |
Definition at line 38 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_data_addnew(), and blo_do_versions_290().
| #define GP_DEFAULT_CURVE_ERROR 0.1f |
Definition at line 37 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_data_addnew(), and blo_do_versions_290().
| #define GP_DEFAULT_CURVE_RESOLUTION 32 |
Definition at line 36 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_data_addnew(), and blo_do_versions_290().
| #define GP_DEFAULT_GRID_LINES 4 |
Definition at line 33 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_data_addnew(), and blo_do_versions_280().
| #define GP_DEFAULT_PIX_FACTOR 1.0f |
Definition at line 32 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_data_addnew(), and blo_do_versions_280().
| #define GP_MAX_INPUT_SAMPLES 10 |
Definition at line 34 of file DNA_gpencil_legacy_types.h.
Referenced by rna_def_gpencil_options().
| #define GPENCIL_ANY_EDIT_MODE | ( | gpd | ) |
Definition at line 888 of file DNA_gpencil_legacy_types.h.
| #define GPENCIL_ANY_MODE | ( | gpd | ) |
Definition at line 883 of file DNA_gpencil_legacy_types.h.
Referenced by blender::ed::object::object_join_exec(), and view3d_select_exec().
Definition at line 903 of file DNA_gpencil_legacy_types.h.
Referenced by blender::ed::sculpt_paint::greasepencil::GrabOperation::on_stroke_begin(), blender::ed::sculpt_paint::greasepencil::PinchOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::PushOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::RandomizeOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::SmoothOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::StrengthOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::ThicknessOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::TwistOperation::on_stroke_extended(), and OVERLAY_edit_gpencil_legacy_cache_init().
Definition at line 907 of file DNA_gpencil_legacy_types.h.
Referenced by blender::ed::sculpt_paint::greasepencil::VertexAverageOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::VertexBlurOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::VertexPaintOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::VertexReplaceOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::VertexSmearOperation::on_stroke_extended(), and OVERLAY_edit_gpencil_legacy_cache_init().
| #define GPENCIL_CURVE_EDIT_SESSIONS_ON | ( | gpd | ) | ((gpd) && ((gpd)->flag & (GP_DATA_STROKE_EDITMODE)) && ((gpd)->flag & GP_DATA_CURVE_EDIT_MODE)) |
Definition at line 879 of file DNA_gpencil_legacy_types.h.
Referenced by applyGPOpacity(), applyGPShrinkFatten(), createTransGPencil(), OVERLAY_edit_gpencil_legacy_cache_init(), and recalcData_gpencil_strokes().
| #define GPENCIL_EDIT_MODE | ( | gpd | ) | ((gpd) && ((gpd)->flag & GP_DATA_STROKE_EDITMODE)) |
Definition at line 887 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_object_is_in_editmode(), blender::ed::outliner::is_object_data_in_editmode(), and OVERLAY_edit_gpencil_legacy_cache_init().
| #define GPENCIL_LAZY_MODE | ( | brush, | |
| shift ) |
Definition at line 898 of file DNA_gpencil_legacy_types.h.
| #define GPENCIL_MAX_FILL_FAC 8.0f |
Definition at line 41 of file DNA_gpencil_legacy_types.h.
Referenced by rna_def_gpencil_options().
| #define GPENCIL_MIN_FILL_FAC 0.05f |
Definition at line 40 of file DNA_gpencil_legacy_types.h.
Referenced by rna_def_gpencil_options().
| #define GPENCIL_MULTIEDIT_SESSIONS_ON | ( | gpd | ) |
Definition at line 872 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_visible_stroke_advanced_iter(), createTransGPencil(), and OVERLAY_edit_gpencil_legacy_cache_init().
| #define GPENCIL_NONE_EDIT_MODE | ( | gpd | ) |
Definition at line 895 of file DNA_gpencil_legacy_types.h.
| #define GPENCIL_PAINT_MODE | ( | gpd | ) | ((gpd) && (gpd->flag & GP_DATA_STROKE_PAINTMODE)) |
Definition at line 891 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_visible_stroke_advanced_iter(), and OVERLAY_edit_gpencil_legacy_cache_init().
| #define GPENCIL_PLAY_ON | ( | gpd | ) | ((gpd) && ((gpd)->runtime.playing == 1)) |
Definition at line 911 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_visible_stroke_advanced_iter().
| #define GPENCIL_SCULPT_MODE | ( | gpd | ) | ((gpd) && (gpd->flag & GP_DATA_STROKE_SCULPTMODE)) |
Definition at line 892 of file DNA_gpencil_legacy_types.h.
Referenced by OVERLAY_edit_gpencil_legacy_cache_init().
| #define GPENCIL_VERTEX_MODE | ( | gpd | ) | ((gpd) && (gpd->flag & GP_DATA_STROKE_VERTEXMODE)) |
Definition at line 894 of file DNA_gpencil_legacy_types.h.
Referenced by gpencil_layer_cache_add(), and OVERLAY_edit_gpencil_legacy_cache_init().
| #define GPENCIL_WEIGHT_MODE | ( | gpd | ) | ((gpd) && (gpd->flag & GP_DATA_STROKE_WEIGHTMODE)) |
Definition at line 893 of file DNA_gpencil_legacy_types.h.
Referenced by OVERLAY_edit_gpencil_legacy_cache_init().
| typedef struct bGPdata bGPdata |
Grease-Pencil Annotations - 'DataBlock'.
| typedef struct bGPdata_Runtime bGPdata_Runtime |
| typedef struct bGPDcontrolpoint bGPDcontrolpoint |
| typedef struct bGPDcurve bGPDcurve |
| typedef enum bGPDcurve_Flag bGPDcurve_Flag |
| typedef struct bGPDcurve_point bGPDcurve_point |
| typedef struct bGPDframe bGPDframe |
Grease-Pencil Annotations - 'Frame' -> Acts as storage for the 'image' formed by strokes
| typedef struct bGPDframe_Runtime bGPDframe_Runtime |
| typedef struct bGPDlayer bGPDlayer |
Grease-Pencil Annotations - 'Layer'.
| typedef struct bGPDlayer_Mask bGPDlayer_Mask |
| typedef struct bGPDlayer_Runtime bGPDlayer_Runtime |
Runtime temp data for bGPDlayer.
| typedef struct bGPDpalette bGPDpalette |
| typedef struct bGPDpalettecolor bGPDpalettecolor |
| typedef struct bGPDspoint bGPDspoint |
Grease-Pencil Annotations - 'Stroke Point' -> Coordinates may either be 2d or 3d depending on settings at the time -> Coordinates of point on stroke, in proportions of window size This assumes that the bottom-left corner is (0,0)
| typedef struct bGPDspoint_Runtime bGPDspoint_Runtime |
| typedef struct bGPDstroke bGPDstroke |
Grease-Pencil Annotations - 'Stroke' -> A stroke represents a (simplified version) of the curve drawn by the user in one 'mouse-down'->'mouse-up' operation
| typedef struct bGPDstroke_Runtime bGPDstroke_Runtime |
| typedef struct bGPDtriangle bGPDtriangle |
| typedef struct bGPgrid bGPgrid |
| typedef enum ebGPDlayer_Mask_Flag ebGPDlayer_Mask_Flag |
| typedef enum eGP_DepthOrdering eGP_DepthOrdering |
| typedef enum eGP_DrawMode eGP_DrawMode |
| typedef enum eGP_OnionModes eGP_OnionModes |
| typedef enum eGPD_OnionFlag eGPD_OnionFlag |
| typedef enum eGPdata_Flag eGPdata_Flag |
NOTE: A few flags have been deprecated since early 2.5, since they have been made redundant by interaction changes made during the porting process.
| typedef enum eGPDcurve_point_Flag eGPDcurve_point_Flag |
| typedef enum eGPDframe_Flag eGPDframe_Flag |
| typedef enum eGPDlayer_Flag eGPDlayer_Flag |
| typedef enum eGPDlayer_OnionFlag eGPDlayer_OnionFlag |
| typedef enum eGPDpalette_Flag eGPDpalette_Flag |
| typedef enum eGPDstroke_Arrowstyle eGPDstroke_Arrowstyle |
#bGPDataRuntime.arrowstyle
| typedef enum eGPDstroke_Flag eGPDstroke_Flag |
| typedef enum eGPLayerBlendModes eGPLayerBlendModes |
| typedef enum eGPDspoint_Flag eGPSPoint_Flag |
| typedef enum eGPDstroke_Caps GPDstroke_Caps |
| typedef struct GPUBatchHandle GPUBatchHandle |
Definition at line 28 of file DNA_gpencil_legacy_types.h.
| typedef struct GPUVertBufHandle GPUVertBufHandle |
Definition at line 29 of file DNA_gpencil_legacy_types.h.
| enum bGPDcurve_Flag |
| Enumerator | |
|---|---|
| GP_CURVE_NEEDS_STROKE_UPDATE | |
| GP_CURVE_SELECT | |
Definition at line 233 of file DNA_gpencil_legacy_types.h.
| enum ebGPDlayer_Mask_Flag |
| Enumerator | |
|---|---|
| GP_MASK_HIDE | |
| GP_MASK_INVERT | |
Definition at line 458 of file DNA_gpencil_legacy_types.h.
| enum eGP_DepthOrdering |
| Enumerator | |
|---|---|
| GP_XRAY_FRONT | |
| GP_XRAY_3DSPACE | |
Definition at line 857 of file DNA_gpencil_legacy_types.h.
| enum eGP_DrawMode |
| Enumerator | |
|---|---|
| GP_DRAWMODE_2D | |
| GP_DRAWMODE_3D | |
Definition at line 863 of file DNA_gpencil_legacy_types.h.
| enum eGP_OnionModes |
| Enumerator | |
|---|---|
| GP_ONION_MODE_ABSOLUTE | |
| GP_ONION_MODE_RELATIVE | |
| GP_ONION_MODE_SELECTED | |
Definition at line 850 of file DNA_gpencil_legacy_types.h.
| enum eGPD_OnionFlag |
| Enumerator | |
|---|---|
| GP_ONION_GHOST_PREVCOL | |
| GP_ONION_GHOST_NEXTCOL | |
| GP_ONION_GHOST_ALWAYS | |
| GP_ONION_FADE | |
| GP_ONION_LOOP | |
Definition at line 836 of file DNA_gpencil_legacy_types.h.
| enum eGPdata_Flag |
NOTE: A few flags have been deprecated since early 2.5, since they have been made redundant by interaction changes made during the porting process.
Definition at line 773 of file DNA_gpencil_legacy_types.h.
| enum eGPDcurve_point_Flag |
| Enumerator | |
|---|---|
| GP_CURVE_POINT_SELECT | |
Definition at line 212 of file DNA_gpencil_legacy_types.h.
| enum eGPDframe_Flag |
| Enumerator | |
|---|---|
| GP_FRAME_PAINT | |
| GP_FRAME_SELECT | |
| GP_FRAME_LRT_CLEARED | |
Definition at line 433 of file DNA_gpencil_legacy_types.h.
| enum eGPDlayer_Flag |
Definition at line 562 of file DNA_gpencil_legacy_types.h.
| enum eGPDlayer_OnionFlag |
| Enumerator | |
|---|---|
| GP_LAYER_ONIONSKIN | |
| GP_LAYER_ONIONSKIN_CUSTOM_COLOR | |
Definition at line 594 of file DNA_gpencil_legacy_types.h.
| enum eGPDpalette_Flag |
| Enumerator | |
|---|---|
| PL_PALETTE_ACTIVE | |
Definition at line 178 of file DNA_gpencil_legacy_types.h.
| Enumerator | |
|---|---|
| PC_COLOR_HIDE | |
| PC_COLOR_LOCKED | |
| PC_COLOR_ONIONSKIN | |
| PC_COLOR_VOLUMETRIC | |
Definition at line 149 of file DNA_gpencil_legacy_types.h.
| enum eGPDspoint_Flag |
| Enumerator | |
|---|---|
| GP_SPOINT_SELECT | |
| GP_SPOINT_TAG | |
| GP_SPOINT_TEMP_TAG | |
| GP_SPOINT_TEMP_TAG2 | |
Definition at line 103 of file DNA_gpencil_legacy_types.h.
#bGPDataRuntime.arrowstyle
| Enumerator | |
|---|---|
| GP_STROKE_ARROWSTYLE_NONE | |
| GP_STROKE_ARROWSTYLE_SEGMENT | |
| GP_STROKE_ARROWSTYLE_OPEN | |
| GP_STROKE_ARROWSTYLE_CLOSED | |
| GP_STROKE_ARROWSTYLE_SQUARE | |
Definition at line 385 of file DNA_gpencil_legacy_types.h.
| enum eGPDstroke_Caps |
| Enumerator | |
|---|---|
| GP_STROKE_CAP_ROUND | |
| GP_STROKE_CAP_FLAT | |
| GP_STROKE_CAP_MAX | |
Definition at line 373 of file DNA_gpencil_legacy_types.h.
| enum eGPDstroke_Flag |
Definition at line 341 of file DNA_gpencil_legacy_types.h.
| enum eGPLayerBlendModes |
| Enumerator | |
|---|---|
| eGplBlendMode_Regular | |
| eGplBlendMode_HardLight | |
| eGplBlendMode_Add | |
| eGplBlendMode_Subtract | |
| eGplBlendMode_Multiply | |
| eGplBlendMode_Divide | |
Definition at line 601 of file DNA_gpencil_legacy_types.h.