Blender  V3.3
Typedefs | Functions
BKE_freestyle.h File Reference

Go to the source code of this file.

Typedefs

typedef struct FreestyleModuleSettings FreestyleModuleSettings
 
typedef struct FreestyleSettings FreestyleSettings
 

Functions

void BKE_freestyle_config_init (struct FreestyleConfig *config)
 
void BKE_freestyle_config_free (struct FreestyleConfig *config, bool do_id_user)
 
void BKE_freestyle_config_copy (struct FreestyleConfig *new_config, const struct FreestyleConfig *config, int flag)
 
struct FreestyleModuleConfigBKE_freestyle_module_add (struct FreestyleConfig *config)
 
bool BKE_freestyle_module_delete (struct FreestyleConfig *config, struct FreestyleModuleConfig *module_conf)
 
bool BKE_freestyle_module_move (struct FreestyleConfig *config, struct FreestyleModuleConfig *module_conf, int direction)
 
struct FreestyleLineSetBKE_freestyle_lineset_add (struct Main *bmain, struct FreestyleConfig *config, const char *name)
 
bool BKE_freestyle_lineset_delete (struct FreestyleConfig *config, struct FreestyleLineSet *lineset)
 
struct FreestyleLineSetBKE_freestyle_lineset_get_active (struct FreestyleConfig *config)
 
short BKE_freestyle_lineset_get_active_index (struct FreestyleConfig *config)
 
void BKE_freestyle_lineset_set_active_index (struct FreestyleConfig *config, short index)
 
void BKE_freestyle_lineset_unique_name (struct FreestyleConfig *config, struct FreestyleLineSet *lineset)
 

Typedef Documentation

◆ FreestyleModuleSettings

Definition at line 1 of file BKE_freestyle.h.

◆ FreestyleSettings

Definition at line 1 of file BKE_freestyle.h.

Function Documentation

◆ BKE_freestyle_config_copy()

void BKE_freestyle_config_copy ( struct FreestyleConfig new_config,
const struct FreestyleConfig config,
int  flag 
)

◆ BKE_freestyle_config_free()

void BKE_freestyle_config_free ( struct FreestyleConfig config,
bool  do_id_user 
)

◆ BKE_freestyle_config_init()

void BKE_freestyle_config_init ( struct FreestyleConfig config)

◆ BKE_freestyle_lineset_add()

struct FreestyleLineSet* BKE_freestyle_lineset_add ( struct Main bmain,
struct FreestyleConfig config,
const char *  name 
)

◆ BKE_freestyle_lineset_delete()

bool BKE_freestyle_lineset_delete ( struct FreestyleConfig config,
struct FreestyleLineSet lineset 
)

◆ BKE_freestyle_lineset_get_active()

struct FreestyleLineSet* BKE_freestyle_lineset_get_active ( struct FreestyleConfig config)

◆ BKE_freestyle_lineset_get_active_index()

short BKE_freestyle_lineset_get_active_index ( struct FreestyleConfig config)

◆ BKE_freestyle_lineset_set_active_index()

void BKE_freestyle_lineset_set_active_index ( struct FreestyleConfig config,
short  index 
)

◆ BKE_freestyle_lineset_unique_name()

void BKE_freestyle_lineset_unique_name ( struct FreestyleConfig config,
struct FreestyleLineSet lineset 
)

◆ BKE_freestyle_module_add()

struct FreestyleModuleConfig* BKE_freestyle_module_add ( struct FreestyleConfig config)

◆ BKE_freestyle_module_delete()

bool BKE_freestyle_module_delete ( struct FreestyleConfig config,
struct FreestyleModuleConfig module_conf 
)

Definition at line 130 of file freestyle.c.

References BLI_findindex(), BLI_freelinkN(), and FreestyleConfig::modules.

◆ BKE_freestyle_module_move()

bool BKE_freestyle_module_move ( struct FreestyleConfig config,
struct FreestyleModuleConfig module_conf,
int  direction 
)

Reinsert module_conf offset by direction from current position.

Returns
if position of module_conf changed.

Definition at line 139 of file freestyle.c.

References BLI_findindex(), BLI_listbase_link_move(), and FreestyleConfig::modules.