~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/dyna-draw-context.cpp

  • Committer: kidproto
  • Date: 2006-08-25 07:03:19 UTC
  • Revision ID: kidproto@users.sourceforge.net-20060825070319-49nso3fdlwuveifv
peeled back the gboolean code as it hit on some complexity theory principles...
need to rethink and incrementally change gbooleans to bools

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
static void set_to_accumulated(SPDynaDrawContext *dc);
76
76
static void accumulate_calligraphic(SPDynaDrawContext *dc);
77
77
 
78
 
static void fit_and_split(SPDynaDrawContext *ddc, bool release);
79
 
static void fit_and_split_calligraphics(SPDynaDrawContext *ddc, bool release);
 
78
static void fit_and_split(SPDynaDrawContext *ddc, gboolean release);
 
79
static void fit_and_split_calligraphics(SPDynaDrawContext *ddc, gboolean release);
80
80
 
81
81
static void sp_dyna_draw_reset(SPDynaDrawContext *ddc, NR::Point p);
82
82
static NR::Point sp_dyna_draw_get_npoint(SPDynaDrawContext const *ddc, NR::Point v);
327
327
}
328
328
 
329
329
 
330
 
static bool
 
330
static gboolean
331
331
sp_dyna_draw_apply(SPDynaDrawContext *dc, NR::Point p)
332
332
{
333
333
    NR::Point n = sp_dyna_draw_get_npoint(dc, p);
708
708
 
709
709
static void
710
710
fit_and_split(SPDynaDrawContext *dc,
711
 
              bool release)
 
711
              gboolean release)
712
712
{
713
713
    fit_and_split_calligraphics(dc, release);
714
714
}
719
719
}
720
720
 
721
721
static void
722
 
fit_and_split_calligraphics(SPDynaDrawContext *dc, bool release)
 
722
fit_and_split_calligraphics(SPDynaDrawContext *dc, gboolean release)
723
723
{
724
724
    double const tolerance_sq = square( NR::expansion(SP_EVENT_CONTEXT(dc)->desktop->w2d()) * TOLERANCE_CALLIGRAPHIC );
725
725