Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_gpencil.h
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| /* ------------ Object Utilities ------------ */ | /* ------------ Object Utilities ------------ */ | ||||
| struct Object *ED_gpencil_add_object(struct bContext *C, | struct Object *ED_gpencil_add_object(struct bContext *C, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| const float loc[3], | const float loc[3], | ||||
| unsigned short local_view_bits); | unsigned short local_view_bits); | ||||
| void ED_gpencil_add_defaults(struct bContext *C, struct Object *ob); | void ED_gpencil_add_defaults(struct bContext *C, struct Object *ob); | ||||
| /* set object modes */ | /* set object modes */ | ||||
| void ED_gpencil_setup_modes(struct bContext *C, struct bGPdata *gpd, int newmode); | void ED_gpencil_setup_modes(struct bContext *C, struct bGPdata *gpd, int newmode); | ||||
| bool ED_object_gpencil_exit(struct Main *bmain, struct Object *ob); | |||||
| void ED_gp_project_stroke_to_plane(const struct Scene *scene, | void ED_gp_project_stroke_to_plane(const struct Scene *scene, | ||||
| const struct Object *ob, | const struct Object *ob, | ||||
| const struct RegionView3D *rv3d, | const struct RegionView3D *rv3d, | ||||
| struct bGPDstroke *gps, | struct bGPDstroke *gps, | ||||
| const float origin[3], | const float origin[3], | ||||
| const int axis); | const int axis); | ||||
| void ED_gp_project_point_to_plane(const struct Scene *scene, | void ED_gp_project_point_to_plane(const struct Scene *scene, | ||||
| ▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines | |||||