Skip to content
Snippets Groups Projects
  1. Oct 15, 2017
    • Jonathan Wilkes's avatar
      Add "svg" type for [draw svg] containers · e16e7453
      Jonathan Wilkes authored
      This makes it possible to define an editable viewport outside of which the
      contents are clipped.
      
      One big benefit is that the getrect routine doesn't need to fetch the bboxes
      of the shapes inside the viewport. It just needs the svg width, height, x,
      y, and parent transform. It's also possible to add an optimized branch if
      there is no parent transform specified.
      
      One drawback is that the HTML5 method getBBox() includes the clipped content
      in its calculation. That means the user will get scrollbars even though the
      [draw svg] is clipping the contents which cause the scrollbars. Hopefully we
      can just work around this by adding a "scrollbars" method for canvases to
      just turn them off altogether.
      
      Code for an experimental [draw array] is also added here. Combining it with
      the viewport of [draw svg] will make it possible to interact with arrays of
      widgets without the performance penalty normally associated with mouse
      motion on Pd canvases.
      
      Also:
      * fixes some display bugs in certain cases for [draw image] and
      [draw sprite]
      * adds a default png for both [draw image] and [draw sprite] if none are
      given
      e16e7453
  2. Jun 20, 2017
  3. Mar 22, 2017
  4. Mar 09, 2017
  5. Mar 06, 2017
  6. Nov 16, 2016
  7. Oct 16, 2016
    • Jonathan Wilkes's avatar
      revert a change to text_setto from 91cf2a84... · 42585678
      Jonathan Wilkes authored
      revert a change to text_setto from 91cf2a84 that caused a subtle regression when a broken object gets retexted.  (It caused the object to be put at the end of the glist, which caused the consequent canvas_restoreconnections call to make a wire connection to the wrong object)
      42585678
  8. Jul 06, 2016
  9. Jul 04, 2016
  10. Jul 02, 2016
  11. May 11, 2016
  12. May 08, 2016
  13. Feb 27, 2016
  14. Feb 15, 2016
  15. Feb 10, 2016
  16. Feb 07, 2016
  17. Feb 06, 2016
    • Jonathan Wilkes's avatar
      fix jwilkes/purr-data#5 · a55f55fa
      Jonathan Wilkes authored
      changed the interface for canvas_objtext, but it's not public so that shouldn't be a problem
      a55f55fa
    • Jonathan Wilkes's avatar
      fix for #5 · ed82b414
      Jonathan Wilkes authored
      changed the interface for canvas_objtext, but it's not public so that shouldn't be a problem
      ed82b414
  18. Jan 29, 2016
  19. Jan 25, 2016
  20. Jan 22, 2016
  21. Jan 20, 2016
  22. Jan 18, 2016
  23. Jan 09, 2016
  24. Jan 08, 2016
  25. Dec 28, 2015
  26. Sep 18, 2015
  27. Aug 14, 2015
  28. Jul 13, 2015
  29. Jun 07, 2015
  30. May 22, 2015
  31. May 16, 2015
  32. May 09, 2015
  33. May 08, 2015
Loading