Blender  V3.3
Classes | Typedefs | Functions | Variables
gpencil_add_lineart.c File Reference
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "DNA_gpencil_types.h"
#include "DNA_material_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BKE_brush.h"
#include "BKE_context.h"
#include "BKE_gpencil.h"
#include "BKE_gpencil_geom.h"
#include "BKE_lib_id.h"
#include "BKE_main.h"
#include "BKE_material.h"
#include "BLT_translation.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
#include "ED_gpencil.h"

Go to the source code of this file.

Classes

struct  ColorTemplate
 

Typedefs

typedef struct ColorTemplate ColorTemplate
 

Functions

static int gpencil_lineart_material (Main *bmain, Object *ob, const ColorTemplate *pct, const bool fill)
 
void ED_gpencil_create_lineart (bContext *C, Object *ob)
 

Variables

static const ColorTemplate gp_stroke_material_black
 

Typedef Documentation

◆ ColorTemplate

typedef struct ColorTemplate ColorTemplate

Function Documentation

◆ ED_gpencil_create_lineart()

void ED_gpencil_create_lineart ( struct bContext C,
struct Object ob 
)

◆ gpencil_lineart_material()

static int gpencil_lineart_material ( Main bmain,
Object ob,
const ColorTemplate pct,
const bool  fill 
)
static

Variable Documentation

◆ gp_stroke_material_black

const ColorTemplate gp_stroke_material_black
static
Initial value:
= {
N_("Black"),
{0.0f, 0.0f, 0.0f, 1.0f},
{0.0f, 0.0f, 0.0f, 0.0f},
}
#define N_(msgid)

Definition at line 63 of file gpencil_add_lineart.c.

Referenced by ED_gpencil_create_lineart().