Blender V4.3
BKE_freestyle.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2013 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15struct FreestyleConfig;
16struct FreestyleLineSet;
18struct Main;
19
20/* RNA aliases */
23
24/* FreestyleConfig */
26void BKE_freestyle_config_free(struct FreestyleConfig *config, bool do_id_user);
28 const struct FreestyleConfig *config,
29 int flag);
30
31/* FreestyleConfig.modules */
34 struct FreestyleModuleConfig *module_conf);
40 struct FreestyleModuleConfig *module_conf,
41 int direction);
42
43/* FreestyleConfig.linesets */
45 struct FreestyleConfig *config,
46 const char *name);
48 struct FreestyleLineSet *lineset);
51void BKE_freestyle_lineset_set_active_index(struct FreestyleConfig *config, short index);
53 struct FreestyleLineSet *lineset);
54
55#ifdef __cplusplus
56}
57#endif
struct FreestyleModuleSettings FreestyleModuleSettings
struct FreestyleModuleConfig * BKE_freestyle_module_add(struct FreestyleConfig *config)
Definition freestyle.cc:116
void BKE_freestyle_config_copy(struct FreestyleConfig *new_config, const struct FreestyleConfig *config, int flag)
struct FreestyleLineSet * BKE_freestyle_lineset_add(struct Main *bmain, struct FreestyleConfig *config, const char *name)
Definition freestyle.cc:163
struct FreestyleSettings FreestyleSettings
short BKE_freestyle_lineset_get_active_index(struct FreestyleConfig *config)
Definition freestyle.cc:222
bool BKE_freestyle_lineset_delete(struct FreestyleConfig *config, struct FreestyleLineSet *lineset)
Definition freestyle.cc:195
void BKE_freestyle_lineset_unique_name(struct FreestyleConfig *config, struct FreestyleLineSet *lineset)
Definition freestyle.cc:148
struct FreestyleLineSet * BKE_freestyle_lineset_get_active(struct FreestyleConfig *config)
Definition freestyle.cc:212
void BKE_freestyle_lineset_set_active_index(struct FreestyleConfig *config, short index)
Definition freestyle.cc:237
bool BKE_freestyle_module_move(struct FreestyleConfig *config, struct FreestyleModuleConfig *module_conf, int direction)
Definition freestyle.cc:140
void BKE_freestyle_config_init(struct FreestyleConfig *config)
Definition freestyle.cc:30
bool BKE_freestyle_module_delete(struct FreestyleConfig *config, struct FreestyleModuleConfig *module_conf)
Definition freestyle.cc:131
void BKE_freestyle_config_free(struct FreestyleConfig *config, bool do_id_user)
Definition freestyle.cc:43
uint8_t flag
Definition wm_window.cc:138