Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_brush_types.h
| Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | typedef struct BrushGpencilSettings { | ||||
| /** Layers used for fill. */ | /** Layers used for fill. */ | ||||
| short fill_layer_mode; | short fill_layer_mode; | ||||
| short fill_direction; | short fill_direction; | ||||
| /** Factor for transparency. */ | /** Factor for transparency. */ | ||||
| float fill_threshold; | float fill_threshold; | ||||
| /** Number of pixel to consider the leak is too small (x 2). */ | /** Number of pixel to consider the leak is too small (x 2). */ | ||||
| short fill_leak; | short fill_leak; | ||||
| char _pad2[2]; | /* Type of caps: eGPDstroke_Caps. */ | ||||
| int8_t caps_type; | |||||
HooglyBoogly: You can use `int8_t` here, and keep one char of padding. | |||||
| char _pad; | |||||
Done Inline ActionsRather than listing the options here, mention the enum type: #eGPDstroke_Caps HooglyBoogly: Rather than listing the options here, mention the enum type: `#eGPDstroke_Caps` | |||||
| int flag2; | int flag2; | ||||
| /** Number of simplify steps. */ | /** Number of simplify steps. */ | ||||
| int fill_simplylvl; | int fill_simplylvl; | ||||
| /** Type of control lines drawing mode. */ | /** Type of control lines drawing mode. */ | ||||
| int fill_draw_mode; | int fill_draw_mode; | ||||
| /** Icon identifier. */ | /** Icon identifier. */ | ||||
| ▲ Show 20 Lines • Show All 335 Lines • Show Last 20 Lines | |||||
You can use int8_t here, and keep one char of padding.