Commit graph

  • a9aa15d1d6 nested clipping now works with save/restore Thomas Friedel 2018-03-25 15:48:26 +0200
  • 649cffa1e3 clipping fixed Thomas Friedel 2018-03-25 15:42:23 +0200
  • f57765cdc5 split main loop for manual main loop support Thomas Friedel 2018-03-24 19:20:30 +0100
  • 385a230aa6 removed commented lines since they otherwise appear as documentation Thomas Friedel 2018-03-22 17:47:58 +0100
  • ff4fba4c33 reduced the opengl interface to only the used functions Thomas Friedel 2018-03-22 17:45:52 +0100
  • 72a7cbd2ed renamed the W and H function; added documentation Thomas Friedel 2018-03-22 17:27:23 +0100
  • 888c667a36 miter line join fix Thomas Friedel 2018-03-21 16:04:52 +0100
  • dfba64a1fd fixed some bugs from the float32->float64 conversion Thomas Friedel 2018-03-21 15:51:07 +0100
  • e138d853c6 stencil buffer usage bugfix Thomas Friedel 2018-03-21 15:45:19 +0100
  • 26d11865b5 switched from float32 to float64 for better compatibility with the default go math package; moved vector and matrix code into package Thomas Friedel 2018-03-21 12:45:32 +0100
  • d0dc6c1f5c removed log message Thomas Friedel 2018-03-21 12:09:10 +0100
  • 075abc4f03 bugfix for an edge case Thomas Friedel 2018-03-14 15:37:01 +0100
  • b7af1ad3a4
    Create README.md tfriedel6 2018-03-12 12:42:41 +0100
  • caa356aa12 added quadratic and bezier curves Thomas Friedel 2018-03-08 16:42:06 +0100
  • 21d14699ec font rendering fix Thomas Friedel 2018-02-26 16:53:34 +0100
  • da6538b1e3 shaders are now in their own file; text fill now uses font rendering more directly and supports fill styles Thomas Friedel 2018-02-26 15:40:48 +0100
  • d509a6f86d gradients and texture patterns are now transformed according to the current matrix Thomas Friedel 2018-02-26 12:29:21 +0100
  • efafa0f6f7 fixed a problem with miter joints if the lines are parallel Thomas Friedel 2018-02-22 14:19:47 +0100
  • 2da1a4363a bugfix, uninitialized uniform Thomas Friedel 2018-02-15 10:33:51 +0100
  • 5175b1ba73 images and fonts can now be optionally named for later access; DrawImage and SetFont can now accept file names directly and will cache using the path Thomas Friedel 2018-02-15 10:12:32 +0100
  • 59033ea55b added canvas size methods; transformations now apply in reverse order Thomas Friedel 2018-02-12 18:53:05 +0100
  • d6b0dc454b improved triangulation so that empty triangles can get removed, which can happen with self-intersecting polygons Thomas Friedel 2018-02-12 10:32:38 +0100
  • 31c2eb204e fixed the line intersection calculation; splitting polygons at self-intersections now works Thomas Friedel 2018-02-12 10:30:49 +0100
  • a7c6f10541 added some code to cut the intersections in self-intersecting polygons, but didn't activate it yet since it doesn't seem to work Thomas Friedel 2018-02-11 17:28:41 +0100
  • a3fc5eba89 small improvements and fixes Thomas Friedel 2018-02-11 16:50:50 +0100
  • be6bd3a506 ignore more test files Thomas Friedel 2018-02-11 16:48:23 +0100
  • 4569cd00e1 applied fill and stroke styles to all the path functions Thomas Friedel 2018-02-09 11:48:44 +0100
  • ac8adda421 made stroke and fill style code more generic Thomas Friedel 2018-02-09 11:41:57 +0100
  • 91e8935866 added a generic function to initialize the correct shader for any fill operation Thomas Friedel 2018-02-09 11:35:32 +0100
  • 3710a446b5 added image patterns Thomas Friedel 2018-02-09 11:21:27 +0100
  • bed6cdc50a radial gradient works now Thomas Friedel 2018-02-08 16:03:35 +0100
  • 9c7a01b8b8 prepared radial gradients, but they don't work yet Thomas Friedel 2018-02-08 13:00:16 +0100
  • 2de2dd26a4 moved the canvas to gl coordinate transformation to the shaders; fixed some bugs along the way Thomas Friedel 2018-02-08 11:53:32 +0100
  • 7edac03910 added linear gradients Thomas Friedel 2018-02-07 12:53:46 +0100
  • 49eb9de8e6 bugfix for alpha in hex color strings Thomas Friedel 2018-02-07 12:53:14 +0100
  • 9ed7a36cbc changed gl color from four floats to a struct type Thomas Friedel 2018-02-07 11:37:08 +0100
  • d3dc4cc3b7 added a way to delete images; images are now also deleted automatically in the finalizer Thomas Friedel 2018-02-07 11:27:46 +0100
  • 9c1845211a added safer lower limit for circle steps Thomas Friedel 2018-02-06 17:06:59 +0100
  • 5e6a33f77e added arcTo Thomas Friedel 2018-02-06 11:35:46 +0100
  • 9b5004d6b9 fixed a bug with anticlockwise arcs Thomas Friedel 2018-02-06 11:33:20 +0100
  • e5bdee1d67 calculate circle steps dynamically Thomas Friedel 2018-02-06 10:57:02 +0100
  • 0bd060ae1b path points are now transformed by the transformation matrix as they are added Thomas Friedel 2018-02-05 19:53:10 +0100
  • 3ead983efa clipping is now saved and restored Thomas Friedel 2018-02-05 12:27:34 +0100
  • 56f9d04c91 added image data functions Thomas Friedel 2018-02-05 12:19:42 +0100
  • eadf67572c added some more transform methods Thomas Friedel 2018-02-05 11:53:15 +0100
  • ad4fee68ef fixed a bug with the way the stencil buffer was used Thomas Friedel 2018-02-05 11:11:08 +0100
  • 46c68ca5ad added dashed lines Thomas Friedel 2018-02-05 11:10:50 +0100
  • d9854d540e added line end styles Thomas Friedel 2018-01-31 21:37:47 +0100
  • f46b60da65 added different line joint styles Thomas Friedel 2018-01-31 18:38:09 +0100
  • a8db8886c7 added miter joints for stroked paths Thomas Friedel 2018-01-31 16:50:36 +0100
  • 20674e7f7a polygons should only be defined by the path since the last moveTo Thomas Friedel 2018-01-31 12:12:42 +0100
  • 4a0b551a93 added a clip function to clip to a polygon (doesn't work with save/restore yet) Thomas Friedel 2018-01-30 18:32:35 +0100
  • 1727f47a6f moved package Thomas Friedel 2018-01-30 13:02:34 +0100
  • 395ef95009 added transformations, translate, scale, rotate Thomas Friedel 2018-01-29 16:04:56 +0100
  • 6480345a60 added save and restore functions for draw state Thomas Friedel 2018-01-29 15:32:17 +0100
  • 8a66ff2166 moved a freetype source file into the project and optimized it for the given purpose, only upload rendered text rectangle to the texture Thomas Friedel 2018-01-29 13:14:42 +0100
  • 79bf4f6b5f arc function implemented Thomas Friedel 2018-01-25 16:24:32 +0100
  • 0715639ad2 rearranged things a bit Thomas Friedel 2018-01-25 15:50:05 +0100
  • 85667e8f57 added support for loading fonts and rendering text (highly unoptimized so far) Thomas Friedel 2018-01-25 15:08:03 +0100
  • 67142c3c8d added an fps counter function Thomas Friedel 2018-01-25 15:07:22 +0100
  • 9d0dad8bba added a package to create a simple window with a canvas using SDL Thomas Friedel 2018-01-25 12:36:29 +0100
  • 6c0234959e added support for loading and drawing images Thomas Friedel 2018-01-25 12:08:39 +0100
  • 47e34cc670 changed library import path Thomas Friedel 2018-01-25 10:57:28 +0100
  • d9d3099087 ignored some files Thomas Friedel 2018-01-24 17:02:15 +0100
  • 97615b7595 added polygon filling Thomas Friedel 2018-01-24 16:59:07 +0100
  • c1de2f2b7d a go-gl implementation of the gl interface Thomas Friedel 2018-01-24 14:20:12 +0100
  • 4be47cd5ab first version Thomas Friedel 2018-01-24 14:19:32 +0100