Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_gpencil.h
| Show All 29 Lines | |||||
| #ifndef __ED_GPENCIL_H__ | #ifndef __ED_GPENCIL_H__ | ||||
| #define __ED_GPENCIL_H__ | #define __ED_GPENCIL_H__ | ||||
| #include "ED_numinput.h" | #include "ED_numinput.h" | ||||
| struct ID; | struct ID; | ||||
| struct ListBase; | struct ListBase; | ||||
| struct bContext; | struct bContext; | ||||
| struct Depsgraph; | |||||
| struct ScrArea; | struct ScrArea; | ||||
| struct ARegion; | struct ARegion; | ||||
| struct View3D; | struct View3D; | ||||
| struct Object; | struct Object; | ||||
| struct bGPdata; | struct bGPdata; | ||||
| struct bGPDlayer; | struct bGPDlayer; | ||||
| struct bGPDframe; | struct bGPDframe; | ||||
| struct bGPDstroke; | struct bGPDstroke; | ||||
| ▲ Show 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | |||||
| /* ------------ Grease-Pencil Drawing API ------------------ */ | /* ------------ Grease-Pencil Drawing API ------------------ */ | ||||
| /* drawgpencil.c */ | /* drawgpencil.c */ | ||||
| void ED_gpencil_draw_2dimage(const struct bContext *C); | void ED_gpencil_draw_2dimage(const struct bContext *C); | ||||
| void ED_gpencil_draw_view2d(const struct bContext *C, bool onlyv2d); | void ED_gpencil_draw_view2d(const struct bContext *C, bool onlyv2d); | ||||
| void ED_gpencil_draw_view3d(struct wmWindowManager *wm, | void ED_gpencil_draw_view3d(struct wmWindowManager *wm, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct ViewLayer *view_layer, | struct ViewLayer *view_layer, | ||||
| const struct Depsgraph *depsgraph, | |||||
| struct View3D *v3d, | struct View3D *v3d, | ||||
| struct ARegion *ar, | struct ARegion *ar, | ||||
| bool only3d); | bool only3d); | ||||
| void ED_gpencil_draw_ex(struct Scene *scene, struct bGPdata *gpd, int winx, int winy, | void ED_gpencil_draw_ex(struct Scene *scene, struct bGPdata *gpd, int winx, int winy, | ||||
| const int cfra, const char spacetype); | const int cfra, const char spacetype); | ||||
| void ED_gp_draw_interpolation(struct tGPDinterpolate *tgpi, const int type); | void ED_gp_draw_interpolation(struct tGPDinterpolate *tgpi, const int type); | ||||
| /* ----------- Grease-Pencil AnimEdit API ------------------ */ | /* ----------- Grease-Pencil AnimEdit API ------------------ */ | ||||
| Show All 37 Lines | |||||