head 1.11; access; symbols; locks; strict; comment @# @; 1.11 date 2005.05.17.15.03.30; author cworth; state Exp; branches; next 1.10; commitid 1565428a07c24567; 1.10 date 2005.04.18.06.45.22; author cworth; state Exp; branches; next 1.9; 1.9 date 2005.04.13.15.55.50; author cworth; state Exp; branches; next 1.8; 1.8 date 2005.03.29.00.39.03; author krh; state Exp; branches; next 1.7; 1.7 date 2005.03.28.20.29.14; author cworth; state Exp; branches; next 1.6; 1.6 date 2005.03.28.20.02.43; author cworth; state Exp; branches; next 1.5; 1.5 date 2005.03.28.14.28.38; author cworth; state Exp; branches; next 1.4; 1.4 date 2005.03.28.14.25.19; author cworth; state Exp; branches; next 1.3; 1.3 date 2005.03.11.16.00.00; author krh; state Exp; branches; next 1.2; 1.2 date 2005.03.11.15.22.04; author cworth; state Exp; branches; next 1.1; 1.1 date 2005.03.11.06.50.21; author krh; state Exp; branches; next ; desc @@ 1.11 log @ * sproing.c: (begin_paint), (draw_spline_grid), (draw_spline_spiral), (draw_wall): Update to the latest cairo API changes. @ text @2005-05-17 Carl Worth * sproing.c: (begin_paint), (draw_spline_grid), (draw_spline_spiral), (draw_wall): Update to the latest cairo API changes. 2005-04-18 Carl Worth * sproing.c: (draw_ball), (draw_star): Track removal of cairo_set_alpha from cairo API. 2005-04-13 Carl Worth * sproing.c (WALL_X, WALL_Y): Double the size of the wall spacing in each dimension. (draw_wall): Draw a solid color in the background of the wall area. 2005-03-28 Kristian Høgsberg * sproing.c (model_step_object): Add simplistic collision detection experiment. 2005-03-28 Carl Worth * sproing.c: (model_step_object), (sproing_button_release_event), (create_window): Increase default spring constant to 15. Release the immobile anchor point when the user releases the button. 2005-03-28 Carl Worth * sproing.c: Reworked to have 2-way springs in the model, rather than 1-way attractors in the objects. The 2-way behavior lets us now pull any point around, (which is what's in place here). But the springs add a bit more bouncing than we'll actually want I think. 2005-03-28 Carl Worth * sproing.c: (sproing_expose_event), (sproing_button_press_event), (sproing_motion_notify_event), (create_window): Remove old scribble names left over from some copy-and-paste. 2005-03-28 Carl Worth * sproing.c: (sproing_expose_event), (sproing_button_press_event), (sproing_motion_notify_event), (create_window): 2005-03-28 Carl Worth * sproing.c (scribble_button_press_event): Fix pixel-alignment bug on button press without motion. * .cvsignore: Added sproing binary to .cvsignore. 2005-03-11 Kristian Høgsberg * COPYING: Convert this to UTF-8. 2005-03-11 Carl Worth * sproing.c: (model_init), (draw_spline_grid), (scribble_motion_notify_event): Add some strategic 0.5 offsets so that the patch settles down to pixel-aligned, width 1.0 lines. 2005-03-11 Kristian Høgsberg * Makefile, sproing.c: New cairo demo. Drag a wobbly patch around for fun. @ 1.10 log @ * sproing.c: (draw_ball), (draw_star): Track removal of cairo_set_alpha from cairo API. @ text @d1 6 @ 1.9 log @ * sproing.c (WALL_X, WALL_Y): Double the size of the wall spacing in each dimension. (draw_wall): Draw a solid color in the background of the wall area. @ text @d1 5 @ 1.8 log @2005-03-28 Kristian Høgsberg * sproing.c (model_step_object): Add simplistic collision detection experiment. @ text @d1 6 @ 1.7 log @ * sproing.c: (model_step_object), (sproing_button_release_event), (create_window): Increase default spring constant to 15. Release the immobile anchor point when the user releases the button. @ text @d1 5 @ 1.6 log @ * sproing.c: Reworked to have 2-way springs in the model, rather than 1-way attractors in the objects. The 2-way behavior lets us now pull any point around, (which is what's in place here). But the springs add a bit more bouncing than we'll actually want I think. @ text @d3 6 @ 1.5 log @ * sproing.c: (sproing_expose_event), (sproing_button_press_event), (sproing_motion_notify_event), (create_window): Remove old scribble names left over from some copy-and-paste. @ text @d3 8 @ 1.4 log @ * sproing.c (scribble_button_press_event): Fix pixel-alignment bug on button press without motion. * .cvsignore: Added sproing binary to .cvsignore. @ text @d3 11 @ 1.3 log @2005-03-11 Kristian Høgsberg * COPYING: Convert this to UTF-8. @ text @d1 7 @ 1.2 log @ * sproing.c: (model_init), (draw_spline_grid), (scribble_motion_notify_event): Add some strategic 0.5 offsets so that the patch settles down to pixel-aligned, width 1.0 lines. @ text @d1 4 @ 1.1 log @2005-03-11 Kristian Høgsberg * Makefile, sproing.c: New cairo demo. Drag a wobbly patch around for fun. @ text @d1 6 @