|
Blender V5.3
|
#include <cfloat>#include <cmath>#include <cstdlib>#include <cstring>#include "BLI_sys_types.hh"#include "BLI_listbase.hh"#include "BLI_math_vector_c.hh"#include "BLI_utildefines.hh"#include "DNA_gpencil_legacy_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "DNA_space_types.h"#include "DNA_userdef_types.h"#include "DNA_view3d_types.h"#include "BKE_annotations.h"#include "BKE_camera.h"#include "BKE_context.hh"#include "BKE_global.hh"#include "WM_api.hh"#include "GPU_immediate.hh"#include "GPU_matrix.hh"#include "GPU_state.hh"#include "ED_gpencil_legacy.hh"#include "ED_screen.hh"#include "ED_view3d.hh"#include "UI_resources.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Enumerations | |
| enum | blender::eDrawStrokeFlags { blender::GP_DRAWDATA_NOSTATUS = (1 << 0) , blender::GP_DRAWDATA_ONLY3D = (1 << 1) , blender::GP_DRAWDATA_ONLYV2D = (1 << 2) , blender::GP_DRAWDATA_ONLYI2D = (1 << 3) , blender::GP_DRAWDATA_IEDITHACK = (1 << 4) , blender::GP_DRAWDATA_NO_XRAY = (1 << 5) , blender::GP_DRAWDATA_NO_ONIONS = (1 << 6) } |
Functions | |
| static void | blender::annotation_draw_stroke_arrow_buffer (uint pos, const float *corner_point, const float *arrow_coords, const int arrow_style) |
| static void | blender::annotation_draw_stroke_buffer (bGPdata *gps, short thickness, short dflag, const float ink[4]) |
| static void | blender::annotation_calc_2d_stroke_fxy (const float pt[3], short sflag, int offsx, int offsy, int winx, int winy, float r_co[2]) |
| static void | blender::annotation_draw_stroke_point (const bGPDspoint *points, short thickness, short sflag, int offsx, int offsy, int winx, int winy, const float ink[4]) |
| static void | blender::annotation_draw_stroke_3d (const bGPDspoint *points, int totpoints, short thickness, const float ink[4], bool cyclic) |
| static void | blender::annotation_draw_stroke_2d (const bGPDspoint *points, int totpoints, short thickness_s, short sflag, int offsx, int offsy, int winx, int winy, const float ink[4]) |
| static bool | blender::annotation_can_draw_stroke (const bGPDstroke *gps, const int dflag) |
| static void | blender::annotation_draw_strokes (const bGPDframe *gpf, int offsx, int offsy, int winx, int winy, int dflag, short lthick, const float color[4]) |
| static void | blender::annotation_draw_onionskins (bGPDlayer *gpl, bGPDframe *gpf, int offsx, int offsy, int winx, int winy, int dflag) |
| static void | blender::annotation_draw_data_layers (bGPdata *gpd, int offsx, int offsy, int winx, int winy, int cfra, int dflag) |
| static void | blender::annotation_draw_data (bGPdata *gpd, int offsx, int offsy, int winx, int winy, int cfra, int dflag) |
| static void | blender::annotation_draw_data_all (Scene *scene, bGPdata *gpd, int offsx, int offsy, int winx, int winy, int cfra, int dflag, const eSpace_Type space_type) |
| void | blender::ED_annotation_draw_2dimage (const bContext *C) |
| void | blender::ED_annotation_draw_view2d (const bContext *C, bool onlyv2d) |
| void | blender::ED_annotation_draw_view3d (Scene *scene, Depsgraph *depsgraph, View3D *v3d, ARegion *region, bool only3d) |
| void | blender::ED_annotation_draw_ex (Scene *scene, bGPdata *gpd, int winx, int winy, const int cfra, const char spacetype) |