|
Blender V4.3
|
Go to the source code of this file.
Typedefs | |
| typedef struct FreestyleModuleSettings | FreestyleModuleSettings |
| typedef struct FreestyleSettings | FreestyleSettings |
| typedef struct FreestyleModuleSettings FreestyleModuleSettings |
Definition at line 21 of file BKE_freestyle.h.
| typedef struct FreestyleSettings FreestyleSettings |
Definition at line 22 of file BKE_freestyle.h.
| void BKE_freestyle_config_copy | ( | struct FreestyleConfig * | new_config, |
| const struct FreestyleConfig * | config, | ||
| int | flag ) |
Referenced by BKE_view_layer_copy_data().
| void BKE_freestyle_config_free | ( | struct FreestyleConfig * | config, |
| bool | do_id_user ) |
Definition at line 43 of file freestyle.cc.
References BLI_freelistN(), id_us_min(), FreestyleConfig::linesets, LISTBASE_FOREACH, and FreestyleConfig::modules.
Referenced by BKE_view_layer_free_ex(), do_version_layers_to_collections(), and do_versions_after_linking_280().
| void BKE_freestyle_config_init | ( | struct FreestyleConfig * | config | ) |
Definition at line 30 of file freestyle.cc.
References BLI_listbase_clear(), FreestyleConfig::crease_angle, DEG2RADF, FreestyleConfig::dkr_epsilon, FreestyleConfig::flags, FREESTYLE_CONTROL_EDITOR_MODE, FreestyleConfig::linesets, FreestyleConfig::mode, FreestyleConfig::modules, and FreestyleConfig::sphere_radius.
Referenced by view_layer_add().
| struct FreestyleLineSet * BKE_freestyle_lineset_add | ( | struct Main * | bmain, |
| struct FreestyleConfig * | config, | ||
| const char * | name ) |
Definition at line 163 of file freestyle.cc.
References alloc_lineset(), BKE_freestyle_lineset_set_active_index(), BKE_freestyle_lineset_unique_name(), BKE_linestyle_new(), BLI_addtail(), BLI_listbase_count(), DATA_, FreestyleLineSet::edge_types, FreestyleLineSet::exclude_edge_types, FreestyleLineSet::flags, FREESTYLE_FE_BORDER, FREESTYLE_FE_CREASE, FREESTYLE_FE_SILHOUETTE, FREESTYLE_LINESET_ENABLED, FREESTYLE_QI_VISIBLE, FREESTYLE_SEL_EDGE_TYPES, FREESTYLE_SEL_IMAGE_BORDER, FREESTYLE_SEL_VISIBILITY, FreestyleLineSet::group, FreestyleConfig::linesets, FreestyleLineSet::linestyle, FreestyleLineSet::name, FreestyleLineSet::qi, FreestyleLineSet::qi_end, FreestyleLineSet::qi_start, FreestyleLineSet::selection, SNPRINTF, and STRNCPY.
| bool BKE_freestyle_lineset_delete | ( | struct FreestyleConfig * | config, |
| struct FreestyleLineSet * | lineset ) |
Definition at line 195 of file freestyle.cc.
References BKE_freestyle_lineset_set_active_index(), BLI_findindex(), BLI_remlink(), FreestyleLineSet::group, Collection::id, FreestyleLineStyle::id, id_us_min(), FreestyleConfig::linesets, FreestyleLineSet::linestyle, and MEM_freeN().
Referenced by FRS_delete_active_lineset().
| struct FreestyleLineSet * BKE_freestyle_lineset_get_active | ( | struct FreestyleConfig * | config | ) |
Definition at line 212 of file freestyle.cc.
References FREESTYLE_LINESET_CURRENT, FreestyleConfig::linesets, and LISTBASE_FOREACH.
Referenced by BKE_linestyle_active_from_view_layer(), FRS_copy_active_lineset(), FRS_delete_active_lineset(), FRS_move_active_lineset(), and FRS_paste_active_lineset().
| short BKE_freestyle_lineset_get_active_index | ( | struct FreestyleConfig * | config | ) |
Definition at line 222 of file freestyle.cc.
References ListBase::first, FreestyleLineSet::flags, FREESTYLE_LINESET_CURRENT, FreestyleConfig::linesets, and FreestyleLineSet::next.
| void BKE_freestyle_lineset_set_active_index | ( | struct FreestyleConfig * | config, |
| short | index ) |
Definition at line 237 of file freestyle.cc.
References ListBase::first, FreestyleLineSet::flags, FREESTYLE_LINESET_CURRENT, FreestyleConfig::linesets, and FreestyleLineSet::next.
Referenced by BKE_freestyle_lineset_add(), and BKE_freestyle_lineset_delete().
| void BKE_freestyle_lineset_unique_name | ( | struct FreestyleConfig * | config, |
| struct FreestyleLineSet * | lineset ) |
Definition at line 148 of file freestyle.cc.
References BLI_uniquename(), FreestyleConfig::linesets, FreestyleLineSet::name, and offsetof.
Referenced by BKE_freestyle_lineset_add(), and FRS_paste_active_lineset().
| struct FreestyleModuleConfig * BKE_freestyle_module_add | ( | struct FreestyleConfig * | config | ) |
Definition at line 116 of file freestyle.cc.
References alloc_module(), BLI_addtail(), FreestyleModuleConfig::is_displayed, FreestyleConfig::modules, and FreestyleModuleConfig::script.
| 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.
| bool BKE_freestyle_module_move | ( | struct FreestyleConfig * | config, |
| struct FreestyleModuleConfig * | module_conf, | ||
| int | direction ) |
Reinsert module_conf offset by direction from current position.
Definition at line 140 of file freestyle.cc.
References BLI_findindex(), BLI_listbase_link_move(), and FreestyleConfig::modules.