Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/node_intern.hh
| Show First 20 Lines • Show All 190 Lines • ▼ Show 20 Lines | |||||
| void nodelink_batch_end(SpaceNode &snode); | void nodelink_batch_end(SpaceNode &snode); | ||||
| /** | /** | ||||
| * \note this is used for fake links in groups too. | * \note this is used for fake links in groups too. | ||||
| */ | */ | ||||
| void node_draw_link(const bContext &C, | void node_draw_link(const bContext &C, | ||||
| const View2D &v2d, | const View2D &v2d, | ||||
| const SpaceNode &snode, | const SpaceNode &snode, | ||||
| const bNodeLink &link); | const bNodeLink &link, | ||||
| bool selected); | |||||
| /** | /** | ||||
| * Don't do shadows if th_col3 is -1. | * Don't do shadows if th_col3 is -1. | ||||
| */ | */ | ||||
| void node_draw_link_bezier(const bContext &C, | void node_draw_link_bezier(const bContext &C, | ||||
| const View2D &v2d, | const View2D &v2d, | ||||
| const SpaceNode &snode, | const SpaceNode &snode, | ||||
| const bNodeLink &link, | const bNodeLink &link, | ||||
| int th_col1, | int th_col1, | ||||
| int th_col2, | int th_col2, | ||||
| int th_col3); | int th_col3, | ||||
| bool selected); | |||||
| /** If v2d not nullptr, it clips and returns 0 if not visible. */ | /** If v2d not nullptr, it clips and returns 0 if not visible. */ | ||||
| bool node_link_bezier_points(const View2D *v2d, | bool node_link_bezier_points(const View2D *v2d, | ||||
| const SpaceNode *snode, | const SpaceNode *snode, | ||||
| const bNodeLink &link, | const bNodeLink &link, | ||||
| float coord_array[][2], | float coord_array[][2], | ||||
| int resol); | int resol); | ||||
| /** | /** | ||||
| * Return quadratic beziers points for a given nodelink and clip if v2d is not nullptr. | * Return quadratic beziers points for a given nodelink and clip if v2d is not nullptr. | ||||
| ▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines | |||||