Commit Graph
43 Commits
Author SHA1 Message Date
Thomas Bluemel 456f682fd0 Add polygon support. 2018-01-25 16:56:02 -07:00
Thomas Bluemel 78ff5b7812 Fix a number of bugs and regressions. 2018-01-24 23:35:09 -07:00
Thomas Bluemel 6e3c80e30d Log record names. 2018-01-23 19:52:15 -07:00
Thomas Bluemel e9cb51b2a7 Some more improvements for EMF support. 2018-01-23 19:08:50 -07:00
zoehneto d339f8f5fe Make custom errors extend the default error object to preserve the stacktrace 2017-10-10 17:08:19 +02:00
Tom Zöhner aac6ec6725 Fix log message in wmfjs stretchDib 2016-12-22 18:39:14 +01:00
Tom Z?hner 95aeae98c9 Implement META_EXTTEXTOUT in wmfjs 2016-09-28 12:02:01 +02:00
Tom Z?hner 470e81c8b2 wrap console.log in function and make it optional 2016-03-18 16:07:35 +01:00
Thomas Bluemel 571eba8b66 Remove duplicate value from switch statement. 2016-02-29 12:41:40 -07:00
Thomas Bluemel 9a19ab2fba Add support for round rectangles. 2016-02-29 12:36:43 -07:00
Thomas Bluemel 9d2eaa5340 Add support for region clipping. 2016-02-28 20:43:13 -07:00
Thomas Bluemel d9059a5e0e More (untested) clip region work. 2016-02-28 17:34:44 -07:00
Thomas Bluemel 464e867b84 Create svg defs section for definitions. 2016-02-26 21:15:33 -07:00
Thomas Bluemel 660c02deaf Add some rudimentary pattern brush support.
Also add some support to parse regions for clipping purposes.
2016-02-26 16:55:11 -07:00
Thomas Bluemel df3099ac4c Add partial support for regions. 2016-02-25 20:26:10 -07:00
Thomas Bluemel 1917285044 Add support for ellipses. 2016-02-25 20:02:10 -07:00
Thomas Bluemel 2701a7f7ac Fix syntax error. 2016-02-25 19:44:57 -07:00
Thomas Bluemel 85e968e2df Add support to create palettes. 2016-02-25 16:57:51 -07:00
Thomas Bluemel 7fa82d6e9e Add support for creating dib pattern brushes. 2016-02-25 16:35:15 -07:00
Thomas Bluemel eee1db6db7 Fix polylines and add support for a few more record types. 2016-02-25 15:10:01 -07:00
Thomas Bluemel d65ddd7807 Implement pen style support. 2016-02-25 13:59:37 -07:00
Thomas Bluemel 9d87053967 Refactor gathering options and respect polygon fill mode. 2016-02-25 13:01:24 -07:00
Thomas Bluemel 1dd1f790a2 Add support for opaque text background color and text color. 2016-02-25 12:20:16 -07:00
Thomas Bluemel 4b5c5e9bbc Merge branch 'polyline' of https://github.com/zoehneto/rtf.js 2016-02-25 07:52:11 -07:00
Tom Z?hner 7ef5cb72da Implement META_POLYLINE 2016-02-25 11:36:38 +01:00
Thomas Bluemel ef8996f015 Add support for PolyPolygon.
This enables rendering much more complex artwork.
2016-02-24 22:51:02 -07:00
Thomas Bluemel 3ae77aedd4 Add support for rotated text. 2016-02-24 16:38:40 -07:00
Thomas Bluemel 8a03132038 Also translate stroke width to device units. 2016-02-24 16:14:01 -07:00
Thomas Bluemel b0ea97e116 Handle mix modes a little better. 2016-02-24 16:09:54 -07:00
Thomas Bluemel b85788b542 Add polygon support. 2016-02-24 15:33:21 -07:00
Thomas Bluemel 8a15f965fd Add support for text rendering. 2016-02-24 13:59:31 -07:00
Thomas Bluemel 78e904038c Add support for drawing lines. 2016-02-24 13:37:56 -07:00
Thomas Bluemel bd8683478b Fix viewport, rectangles now get rendered correctly. 2016-02-24 13:24:19 -07:00
Thomas Bluemel 4ff038452d Add rectangle function, doesn't quite work yet... 2016-02-24 00:04:16 -07:00
Thomas Bluemel 1eed403b34 Fix captureing records. 2016-02-23 23:28:55 -07:00
Thomas Bluemel bb468fbb89 Add Font object support. 2016-02-23 23:08:20 -07:00
Thomas Bluemel c58eff8933 Fix parsing Brush objects and allow object selection based on type. 2016-02-23 22:40:58 -07:00
Thomas Bluemel 2cf3f5b3d2 ColorRef objects are actually 4 bytes. 2016-02-23 20:45:38 -07:00
Thomas Bluemel 779f499237 Actually delete object. 2016-02-23 20:42:10 -07:00
Thomas Bluemel 48762a063e Oops, bring back code accidentally removed. 2016-02-23 20:40:13 -07:00
Thomas Bluemel 21398c80db Add support for a couple of more records. 2016-02-23 20:35:28 -07:00
Tom Z?hner be5622c2ff Add support for META_STRETCHDIB 2016-02-23 18:52:08 +01:00
Thomas Bluemel cba49c0fab Initial commit. 2015-09-17 20:33:55 -06:00