Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_gpencil.h
| Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | typedef enum eGP_ReprojectModes { | ||||
| /* Reprojected on to the scene geometry */ | /* Reprojected on to the scene geometry */ | ||||
| GP_REPROJECT_SURFACE, | GP_REPROJECT_SURFACE, | ||||
| /* Reprojected on 3D cursor orientation */ | /* Reprojected on 3D cursor orientation */ | ||||
| GP_REPROJECT_CURSOR, | GP_REPROJECT_CURSOR, | ||||
| /* Keep equals (used in some operators) */ | /* Keep equals (used in some operators) */ | ||||
| GP_REPROJECT_KEEP, | GP_REPROJECT_KEEP, | ||||
| } eGP_ReprojectModes; | } eGP_ReprojectModes; | ||||
| /* Target object modes. */ | |||||
| typedef enum eGP_TargetObjectMode { | |||||
| GP_TARGET_OB_NEW = 0, | |||||
| GP_TARGET_OB_SELECTED = 1, | |||||
| } eGP_TargetObjectMode; | |||||
| /* ------------- Grease-Pencil Runtime Data ---------------- */ | /* ------------- Grease-Pencil Runtime Data ---------------- */ | ||||
| /* Temporary 'Stroke Point' data (2D / screen-space) | /* Temporary 'Stroke Point' data (2D / screen-space) | ||||
| * | * | ||||
| * Used as part of the 'stroke cache' used during drawing of new strokes | * Used as part of the 'stroke cache' used during drawing of new strokes | ||||
| */ | */ | ||||
| typedef struct tGPspoint { | typedef struct tGPspoint { | ||||
| /** Coordinates x and y of cursor (in relative to area). */ | /** Coordinates x and y of cursor (in relative to area). */ | ||||
| ▲ Show 20 Lines • Show All 274 Lines • Show Last 20 Lines | |||||