Blender  V3.3
BKE_freestyle.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2013 Blender Foundation. All rights reserved. */
3 
4 #pragma once
5 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 struct FreestyleConfig;
15 struct FreestyleLineSet;
17 struct Main;
18 
19 /* RNA aliases */
22 
23 /* FreestyleConfig */
24 void BKE_freestyle_config_init(struct FreestyleConfig *config);
25 void BKE_freestyle_config_free(struct FreestyleConfig *config, bool do_id_user);
27  const struct FreestyleConfig *config,
28  int flag);
29 
30 /* FreestyleConfig.modules */
33  struct FreestyleModuleConfig *module_conf);
38 bool BKE_freestyle_module_move(struct FreestyleConfig *config,
39  struct FreestyleModuleConfig *module_conf,
40  int direction);
41 
42 /* FreestyleConfig.linesets */
43 struct FreestyleLineSet *BKE_freestyle_lineset_add(struct Main *bmain,
44  struct FreestyleConfig *config,
45  const char *name);
47  struct FreestyleLineSet *lineset);
50 void BKE_freestyle_lineset_set_active_index(struct FreestyleConfig *config, short index);
52  struct FreestyleLineSet *lineset);
53 
54 #ifdef __cplusplus
55 }
56 #endif
struct FreestyleModuleSettings FreestyleModuleSettings
Definition: BKE_freestyle.h:20
void BKE_freestyle_config_copy(struct FreestyleConfig *new_config, const struct FreestyleConfig *config, int flag)
struct FreestyleSettings FreestyleSettings
Definition: BKE_freestyle.h:21
short BKE_freestyle_lineset_get_active_index(struct FreestyleConfig *config)
Definition: freestyle.c:225
struct FreestyleModuleConfig * BKE_freestyle_module_add(struct FreestyleConfig *config)
Definition: freestyle.c:115
struct FreestyleLineSet * BKE_freestyle_lineset_add(struct Main *bmain, struct FreestyleConfig *config, const char *name)
Definition: freestyle.c:162
bool BKE_freestyle_lineset_delete(struct FreestyleConfig *config, struct FreestyleLineSet *lineset)
Definition: freestyle.c:196
void BKE_freestyle_lineset_unique_name(struct FreestyleConfig *config, struct FreestyleLineSet *lineset)
Definition: freestyle.c:147
void BKE_freestyle_lineset_set_active_index(struct FreestyleConfig *config, short index)
Definition: freestyle.c:239
struct FreestyleLineSet * BKE_freestyle_lineset_get_active(struct FreestyleConfig *config)
Definition: freestyle.c:213
bool BKE_freestyle_module_move(struct FreestyleConfig *config, struct FreestyleModuleConfig *module_conf, int direction)
Definition: freestyle.c:139
void BKE_freestyle_config_init(struct FreestyleConfig *config)
Definition: freestyle.c:27
bool BKE_freestyle_module_delete(struct FreestyleConfig *config, struct FreestyleModuleConfig *module_conf)
Definition: freestyle.c:130
void BKE_freestyle_config_free(struct FreestyleConfig *config, bool do_id_user)
Definition: freestyle.c:40
Definition: BKE_main.h:121