Blender V5.3
gpencil_intern.hh File Reference
#include "DNA_vec_types.h"

Go to the source code of this file.

Classes

struct  blender::GP_SpaceConversion

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DEPTH_INVALID   1.0f
#define GP_STROKE_BUFFER_CHUNK   2048

Enumerations

enum  blender::eGPencil_PaintModes {
  blender::GP_PAINTMODE_DRAW = 0 , blender::GP_PAINTMODE_ERASER , blender::GP_PAINTMODE_DRAW_STRAIGHT , blender::GP_PAINTMODE_DRAW_POLY ,
  blender::GP_PAINTMODE_SET_CP
}

Functions

bool blender::gpencil_stroke_inside_circle (const float mval[2], int rad, int x0, int y0, int x1, int y1)
void blender::gpencil_point_to_xy (const GP_SpaceConversion *gsc, const bGPDstroke *gps, const bGPDspoint *pt, int *r_x, int *r_y)
void blender::GPENCIL_OT_annotate (wmOperatorType *ot)
void blender::GPENCIL_OT_annotation_add (wmOperatorType *ot)
void blender::GPENCIL_OT_data_unlink (wmOperatorType *ot)
void blender::GPENCIL_OT_layer_annotation_add (wmOperatorType *ot)
void blender::GPENCIL_OT_layer_annotation_remove (wmOperatorType *ot)
void blender::GPENCIL_OT_layer_annotation_move (wmOperatorType *ot)
Delete Active Frame Operator
void blender::GPENCIL_OT_annotation_active_frame_delete (wmOperatorType *ot)

Macro Definition Documentation

◆ DEPTH_INVALID

#define DEPTH_INVALID   1.0f

Definition at line 15 of file gpencil_intern.hh.

◆ GP_STROKE_BUFFER_CHUNK

#define GP_STROKE_BUFFER_CHUNK   2048

Definition at line 118 of file gpencil_intern.hh.

Referenced by blender::ED_gpencil_sbuffer_ensure().