Blender V5.0
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
10
11struct FreestyleConfig;
12struct FreestyleLineSet;
14struct Main;
15
16/* RNA aliases */
19
20/* FreestyleConfig */
22void BKE_freestyle_config_free(struct FreestyleConfig *config, bool do_id_user);
24 const struct FreestyleConfig *config,
25 int flag);
26
27/* FreestyleConfig.modules */
30 struct FreestyleModuleConfig *module_conf);
36 struct FreestyleModuleConfig *module_conf,
37 int direction);
38
39/* FreestyleConfig.linesets */
41 struct FreestyleConfig *config,
42 const char *name);
44 struct FreestyleLineSet *lineset);
47void BKE_freestyle_lineset_set_active_index(struct FreestyleConfig *config, short index);
49 struct FreestyleLineSet *lineset);
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:31
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:44
const char * name
uint8_t flag
Definition wm_window.cc:145