Blender V4.3
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 21 of file BKE_freestyle.h.

◆ FreestyleSettings

Definition at line 22 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()

◆ BKE_freestyle_lineset_add()

◆ BKE_freestyle_lineset_delete()

◆ BKE_freestyle_lineset_get_active()

◆ 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 131 of file freestyle.cc.

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 140 of file freestyle.cc.

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