OLD | NEW |
1 /* | 1 /* |
2 * $Id$ | 2 * $Id$ |
3 * | 3 * |
4 * ***** BEGIN GPL LICENSE BLOCK ***** | 4 * ***** BEGIN GPL LICENSE BLOCK ***** |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or | 6 * This program is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License | 7 * modify it under the terms of the GNU General Public License |
8 * as published by the Free Software Foundation; either version 2 | 8 * as published by the Free Software Foundation; either version 2 |
9 * of the License, or (at your option) any later version. | 9 * of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 short texonly, int size); | 83 short texonly, int size); |
84 int brush_painter_paint(BrushPainter *painter, BrushFunc func, float *pos, | 84 int brush_painter_paint(BrushPainter *painter, BrushFunc func, float *pos, |
85 double time, float pressure, void *user); | 85 double time, float pressure, void *user); |
86 void brush_painter_break_stroke(BrushPainter *painter); | 86 void brush_painter_break_stroke(BrushPainter *painter); |
87 void brush_painter_free(BrushPainter *painter); | 87 void brush_painter_free(BrushPainter *painter); |
88 | 88 |
89 /* texture */ | 89 /* texture */ |
90 unsigned int *brush_gen_texture_cache(struct Brush *br, int half_side); | 90 unsigned int *brush_gen_texture_cache(struct Brush *br, int half_side); |
91 | 91 |
92 /* radial control */ | 92 /* radial control */ |
93 void brush_radial_control_invoke(struct wmOperator *op, struct Brush *br, float
size_weight); | 93 struct ImBuf *brush_gen_radial_control_imbuf(struct Brush *br); |
94 int brush_radial_control_exec(struct wmOperator *op, struct Brush *br, float siz
e_weight); | |
95 | 94 |
96 /* unified strength and size */ | 95 /* unified strength and size */ |
97 | 96 |
98 int brush_size(struct Brush *brush); | 97 int brush_size(struct Brush *brush); |
99 void brush_set_size(struct Brush *brush, int value); | 98 void brush_set_size(struct Brush *brush, int value); |
100 | 99 |
101 int brush_use_locked_size(struct Brush *brush); | 100 int brush_use_locked_size(struct Brush *brush); |
102 void brush_set_use_locked_size(struct Brush *brush, int value); | 101 void brush_set_use_locked_size(struct Brush *brush, int value); |
103 | 102 |
104 int brush_use_alpha_pressure(struct Brush *brush); | 103 int brush_use_alpha_pressure(struct Brush *brush); |
105 void brush_set_use_alpha_pressure(struct Brush *brush, int value); | 104 void brush_set_use_alpha_pressure(struct Brush *brush, int value); |
106 | 105 |
107 int brush_use_size_pressure(struct Brush *brush); | 106 int brush_use_size_pressure(struct Brush *brush); |
108 void brush_set_use_size_pressure(struct Brush *brush, int value); | 107 void brush_set_use_size_pressure(struct Brush *brush, int value); |
109 | 108 |
110 float brush_unprojected_radius(struct Brush *brush); | 109 float brush_unprojected_radius(struct Brush *brush); |
111 void brush_set_unprojected_radius(struct Brush *brush, float value); | 110 void brush_set_unprojected_radius(struct Brush *brush, float value); |
112 | 111 |
113 float brush_alpha(struct Brush *brush); | 112 float brush_alpha(struct Brush *brush); |
114 void brush_set_alpha(struct Brush *brush, float value); | 113 void brush_set_alpha(struct Brush *brush, float value); |
115 | 114 |
116 /* debugging only */ | 115 /* debugging only */ |
117 void brush_debug_print_state(struct Brush *br); | 116 void brush_debug_print_state(struct Brush *br); |
118 | 117 |
119 #endif | 118 #endif |
120 | 119 |
OLD | NEW |