Skip to content
  • Tor Lillqvist's avatar
    Add a new method, gboolean want_null_motion(), that tells if the brush · 26b70edd
    Tor Lillqvist authored
    1999-08-30  Tor Lillqvist  <tml@iki.fi>
    
    * app/gimpbrush.h (GimpBrushClass): Add a new method, gboolean
    want_null_motion(), that tells if the brush wants to be painted
    when we don't know the direction yet. This is needed (so far) by
    brush pipes that select the brush based on direction.
    
    * app/gimpbrush.c: Implement above method returning always TRUE.
    
    * app/gimpbrushpipe.c: Here, implement it returning FALSE or TRUE
    on whether the brush pipe has any angular (direction) dependent
    dimension or not.
    
    * app/paint_core.c (paint_core_button_press): Call the method
    if current point == last point.
    26b70edd