Commit graph

18 commits

Author SHA1 Message Date
Emil Ernerfeldt
a66f4efaac Minor code cleanup and clippy fixes 2020-04-24 18:47:14 +02:00
Emil Ernerfeldt
39e17a7562 Add painter region as example 2020-04-24 18:32:27 +02:00
Emil Ernerfeldt
609473f85a Add option to debug paint clip rects 2020-04-21 10:33:33 +02:00
Emil Ernerfeldt
2f02446f6f WIP: clip_rect 2020-04-20 23:48:55 +02:00
Emil Ernerfeldt
388132ba93 Implement window resizing 2020-04-19 23:44:24 +02:00
Emil Ernerfeldt
2170081221 Use new type Pos2 for positions (points) instead of Vec2 2020-04-19 01:05:49 +02:00
Emil Ernerfeldt
6eb1053c35 Start refactor mesher module into a more reusable Path concept 2020-04-19 00:27:25 +02:00
Emil Ernerfeldt
1d3836ba80 Add rudimentary support for gui windows that you can move around 2020-04-17 14:26:36 +02:00
Emil Ernerfeldt
49cbd3fe07 Fix: properly sample white color (was off by half a texel) 2020-04-16 23:10:05 +02:00
Emil Ernerfeldt
0265b3d43a Refactor: define rect by min/max 2020-04-15 17:41:35 +02:00
Emil Ernerfeldt
1d6bc3baba Minor API improvements 2019-04-25 18:07:36 +02:00
Emil Ernerfeldt
0be9722af5 Handle more than 2^16 vertices in WebGL renderer 2019-03-12 14:43:50 +01:00
Emil Ernerfeldt
c15768dbf4 Refactor: rename Frame to Mesh 2019-03-10 21:00:28 +01:00
Emil Ernerfeldt
f2040c6fc5 Fix antialiasing for non-retina screens 2019-02-24 17:18:30 +01:00
Emil Ernerfeldt
f0c879b2f4 Code cleanup: allow None mouse_pos + clippy fixes 2019-02-10 15:30:48 +01:00
Emil Ernerfeldt
c2c94ddda5 Pixel-perfect fonts 2019-01-19 10:10:28 -06:00
Emil Ernerfeldt
88fdd127ea Allow resizing fonts at runtime 2019-01-17 11:03:39 -06:00
Emil Ernerfeldt
7f83876005 Enable colored text (and other misc fixes) 2019-01-16 09:28:43 -06:00
Renamed from emigui/src/painter.rs (Browse further)