Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/node_intern.hh
| Show First 20 Lines • Show All 205 Lines • ▼ Show 20 Lines | void node_draw_link_bezier(const bContext &C, | ||||
| const bNodeLink &link, | const bNodeLink &link, | ||||
| int th_col1, | int th_col1, | ||||
| int th_col2, | int th_col2, | ||||
| int th_col3); | int th_col3); | ||||
| /** 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], | blender::MutableSpan<float2> r_coords, | ||||
| 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. | ||||
| */ | */ | ||||
| bool node_link_bezier_handles(const View2D *v2d, | bool node_link_bezier_handles(const View2D *v2d, | ||||
| const SpaceNode *snode, | const SpaceNode *snode, | ||||
| const bNodeLink &ink, | const bNodeLink &ink, | ||||
| float vec[4][2]); | float vec[4][2]); | ||||
| ▲ Show 20 Lines • Show All 148 Lines • Show Last 20 Lines | |||||