/dports/graphics/blender/blender-2.91.0/source/blender/editors/gpencil/ |
H A D | gpencil_interpolate.c | 112 bGPDspoint *pt = &new_stroke->points[i]; in gpencil_interpolate_update_points() 171 if (new_stroke->totpoints == 0) { in gpencil_interpolate_update_strokes() 304 bGPDstroke *new_stroke = NULL; in gpencil_interpolate_set_points() local 335 new_stroke->points = MEM_recallocN(new_stroke->points, in gpencil_interpolate_set_points() 338 new_stroke->dvert = MEM_recallocN(new_stroke->dvert, in gpencil_interpolate_set_points() 348 new_stroke->totpoints = 0; in gpencil_interpolate_set_points() 349 new_stroke->points = MEM_recallocN(new_stroke->points, sizeof(*new_stroke->points)); in gpencil_interpolate_set_points() 350 if (new_stroke->dvert != NULL) { in gpencil_interpolate_set_points() 351 new_stroke->dvert = MEM_recallocN(new_stroke->dvert, sizeof(*new_stroke->dvert)); in gpencil_interpolate_set_points() 1063 new_stroke->points = MEM_recallocN(new_stroke->points, in gpencil_interpolate_seq_exec() [all …]
|
H A D | gpencil_edit.c | 1583 new_stroke->next = new_stroke->prev = NULL; in gpencil_strokes_paste_exec() 2448 bGPDstroke *new_stroke = NULL; in gpencil_stroke_delete_tagged_points() local 2457 gps_first = new_stroke; in gpencil_stroke_delete_tagged_points() 2466 new_stroke->points = MEM_callocN(sizeof(bGPDspoint) * new_stroke->totpoints, in gpencil_stroke_delete_tagged_points() 2468 memcpy(new_stroke->points, in gpencil_stroke_delete_tagged_points() 2475 new_stroke->dvert = MEM_callocN(sizeof(MDeformVert) * new_stroke->totpoints, in gpencil_stroke_delete_tagged_points() 2477 memcpy(new_stroke->dvert, in gpencil_stroke_delete_tagged_points() 2507 pts = new_stroke->points; in gpencil_stroke_delete_tagged_points() 3451 bGPDstroke *new_stroke = NULL; in gpencil_stroke_join_exec() local 3499 if (new_stroke == NULL) { in gpencil_stroke_join_exec() [all …]
|
H A D | gpencil_sculpt_paint.c | 1007 bGPDstroke *new_stroke; in gpencil_brush_clone_add() local 1024 new_stroke = BKE_gpencil_stroke_duplicate(gps, true); in gpencil_brush_clone_add() 1026 new_stroke->next = new_stroke->prev = NULL; in gpencil_brush_clone_add() 1027 BLI_addtail(&gpf->strokes, new_stroke); in gpencil_brush_clone_add() 1030 Material *ma = BLI_ghash_lookup(data->new_colors, POINTER_FROM_INT(new_stroke->mat_nr)); in gpencil_brush_clone_add() 1031 new_stroke->mat_nr = BKE_gpencil_object_material_index_get(ob, ma); in gpencil_brush_clone_add() 1032 if (!ma || new_stroke->mat_nr < 0) { in gpencil_brush_clone_add() 1033 new_stroke->mat_nr = 0; in gpencil_brush_clone_add() 1038 for (i = 0, pt = new_stroke->points; i < new_stroke->totpoints; i++, pt++) { in gpencil_brush_clone_add() 1049 data->new_strokes[strokes_added] = new_stroke; in gpencil_brush_clone_add()
|
/dports/graphics/gimp-app/gimp-2.10.30/app/vectors/ |
H A D | gimpstroke.c | 988 GimpStroke *new_stroke; in gimp_stroke_real_duplicate() local 991 new_stroke = g_object_new (G_TYPE_FROM_INSTANCE (stroke), in gimp_stroke_real_duplicate() 995 g_queue_free_full (new_stroke->anchors, (GDestroyNotify) gimp_anchor_free); in gimp_stroke_real_duplicate() 996 new_stroke->anchors = g_queue_copy (stroke->anchors); in gimp_stroke_real_duplicate() 998 for (list = new_stroke->anchors->head; list; list = g_list_next (list)) in gimp_stroke_real_duplicate() 1003 new_stroke->closed = stroke->closed; in gimp_stroke_real_duplicate() 1006 return new_stroke; in gimp_stroke_real_duplicate()
|
H A D | gimpbezierstroke.c | 266 GimpStroke *new_stroke = NULL; in gimp_bezier_stroke_open() local 297 new_stroke = gimp_bezier_stroke_new (); in gimp_bezier_stroke_open() 298 new_stroke->anchors->head = list2; in gimp_bezier_stroke_open() 299 new_stroke->anchors->tail = g_list_last (list2); in gimp_bezier_stroke_open() 300 new_stroke->anchors->length = g_list_length (list2); in gimp_bezier_stroke_open() 307 return new_stroke; in gimp_bezier_stroke_open()
|
/dports/graphics/milton/milton-1.9.1/src/ |
H A D | milton.cc | 1498 Stroke new_stroke = {}; in milton_update_and_render() local 1500 copy_stroke(&canvas->arena, milton->view, &milton->working_stroke, &new_stroke); in milton_update_and_render() 1502 new_stroke.layer_id = milton->view->working_layer_id; in milton_update_and_render() 1503 new_stroke.bounding_rect = bounding_box_for_stroke(&new_stroke); in milton_update_and_render() 1505 new_stroke.id = milton->canvas->stroke_id_count++; in milton_update_and_render() 1507 Rect bounds = new_stroke.bounding_rect; in milton_update_and_render() 1512 mlt_assert(new_stroke.num_points > 0); in milton_update_and_render() 1513 mlt_assert(new_stroke.num_points <= STROKE_MAX_POINTS); in milton_update_and_render() 1514 auto* stroke = layer::layer_push_stroke(milton->canvas->working_layer, new_stroke); in milton_update_and_render()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/usvg-0.11.0/src/convert/text/ |
H A D | mod.rs | 260 fn new_stroke(color: tree::Color) -> Option<tree::Stroke> { in dump_cluster() function 275 base_path.stroke = new_stroke(tree::Color::blue()); in dump_cluster() 280 base_path.stroke = new_stroke(tree::Color::red()); in dump_cluster()
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/usvg-0.9.0/src/convert/text/ |
H A D | mod.rs | 262 fn new_stroke(color: tree::Color) -> Option<tree::Stroke> { in dump_cluster() function 277 base_path.stroke = new_stroke(tree::Color::blue()); in dump_cluster() 282 base_path.stroke = new_stroke(tree::Color::red()); in dump_cluster()
|
/dports/graphics/mypaint/mypaint-2.0.1/lib/ |
H A D | brush.hpp | 39 void new_stroke() in new_stroke() function in Brush
|
H A D | stroke.py | 49 self.brush.new_stroke() # resets the stroke_* members of the brush
|
/dports/x11-toolkits/p5-Prima/Prima-1.63/Prima/Drawable/ |
H A D | Path.pm | 757 my ($i,$strokecolor,$step,$new_point,$new_stroke,$advance,$joiner) = 761 if ( $advance == 0 && $new_stroke ) { 812 ($new_point, $new_stroke) = (0,1); 815 $new_stroke = $new_point = 1; 820 $new_point = $new_stroke = 1; 826 ($new_point, $new_stroke) = (1,0);
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/ext/ |
H A D | ExtUtil.h | 125 DVAPI bool replaceStroke(TStroke *old_stroke, TStroke *new_stroke,
|
/dports/graphics/gimp-app/gimp-2.10.30/app/display/ |
H A D | gimptoolpath.c | 864 GimpStroke *new_stroke; in gimp_tool_path_button_press() local 869 new_stroke = gimp_stroke_open (private->cur_stroke, in gimp_tool_path_button_press() 871 if (new_stroke) in gimp_tool_path_button_press() 873 gimp_vectors_stroke_add (private->vectors, new_stroke); in gimp_tool_path_button_press() 874 g_object_unref (new_stroke); in gimp_tool_path_button_press()
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/tnzext/ |
H A D | ExtUtil.cpp | 1131 DVAPI bool ToonzExt::replaceStroke(TStroke *old_stroke, TStroke *new_stroke, in replaceStroke() argument 1133 if (!ToonzExt::isValid(old_stroke) || !ToonzExt::isValid(new_stroke) || !vi) in replaceStroke() 1146 vi->replaceStroke(n_, new_stroke); in replaceStroke() 1148 int new_id = getStrokeId(new_stroke, vi); in replaceStroke()
|
/dports/graphics/GraphicsMagick/GraphicsMagick-1.3.36/wand/ |
H A D | drawing_wand.c | 4295 new_stroke, in DrawSetStrokeColor() local 4302 new_stroke=stroke_color; in DrawSetStrokeColor() 4303 if (new_stroke.opacity != TransparentOpacity) in DrawSetStrokeColor() 4304 new_stroke.opacity=CurrentContext->opacity; in DrawSetStrokeColor() 4307 !WandColorMatch(current_stroke,&new_stroke)) in DrawSetStrokeColor() 4309 CurrentContext->stroke=new_stroke; in DrawSetStrokeColor()
|
/dports/graphics/GraphicsMagick/GraphicsMagick-1.3.36/magick/ |
H A D | draw.c | 4573 new_stroke; in DrawSetStrokeColor() local 4579 new_stroke = *stroke_color; in DrawSetStrokeColor() 4582 if(new_stroke.opacity == OpaqueOpacity) in DrawSetStrokeColor() 4583 new_stroke.opacity = CurrentContext->opacity; in DrawSetStrokeColor() 4586 if( context->filter_off || !(PixelPacketMatch(current_stroke,&new_stroke)) ) in DrawSetStrokeColor() 4588 CurrentContext->stroke = new_stroke; in DrawSetStrokeColor()
|
/dports/devel/etl/synfig-1.2.2/synfig-studio/src/brushlib/ |
H A D | brush.hpp | 82 new_stroke(); in Brush() 101 void new_stroke() in new_stroke() function in brushlib::Brush
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-studio/src/brushlib/ |
H A D | brush.hpp | 82 new_stroke(); in Brush() 101 void new_stroke() in new_stroke() function in brushlib::Brush
|
/dports/graphics/synfig/synfig-1.2.2/synfig-studio/src/brushlib/ |
H A D | brush.hpp | 82 new_stroke(); in Brush() 101 void new_stroke() in new_stroke() function in brushlib::Brush
|
/dports/graphics/ImageMagick7/ImageMagick-7.1.0-19/MagickWand/ |
H A D | drawing-wand.c | 5374 new_stroke, in DrawSetStrokeColor() local 5383 new_stroke=stroke_color; in DrawSetStrokeColor() 5386 (IsPixelInfoEquivalent(current_stroke,&new_stroke) == MagickFalse)) in DrawSetStrokeColor() 5388 CurrentContext->stroke=new_stroke; in DrawSetStrokeColor()
|
/dports/graphics/ImageMagick7-nox11/ImageMagick-7.1.0-19/MagickWand/ |
H A D | drawing-wand.c | 5374 new_stroke, in DrawSetStrokeColor() local 5383 new_stroke=stroke_color; in DrawSetStrokeColor() 5386 (IsPixelInfoEquivalent(current_stroke,&new_stroke) == MagickFalse)) in DrawSetStrokeColor() 5388 CurrentContext->stroke=new_stroke; in DrawSetStrokeColor()
|
/dports/graphics/ImageMagick6/ImageMagick-6.9.12-34/wand/ |
H A D | drawing-wand.c | 5303 new_stroke, in DrawSetStrokeColor() local 5312 new_stroke=stroke_color; in DrawSetStrokeColor() 5315 (IsColorEqual(current_stroke,&new_stroke) == MagickFalse)) in DrawSetStrokeColor() 5317 CurrentContext->stroke=new_stroke; in DrawSetStrokeColor()
|
/dports/graphics/ImageMagick6-nox11/ImageMagick-6.9.12-34/wand/ |
H A D | drawing-wand.c | 5303 new_stroke, in DrawSetStrokeColor() local 5312 new_stroke=stroke_color; in DrawSetStrokeColor() 5315 (IsColorEqual(current_stroke,&new_stroke) == MagickFalse)) in DrawSetStrokeColor() 5317 CurrentContext->stroke=new_stroke; in DrawSetStrokeColor()
|