Greg Landrum
fc5b52afcd
Fixes #1035 ( #1135 )
2016-11-01 11:41:12 +01:00
Greg Landrum
f0de22fd73
Fixes #1090 ( #1105 )
2016-10-17 13:05:21 -04:00
Greg Landrum
ddb13ecc16
Add an initial version of wavy bonds ( #1014 )
...
* Add an initial version of wavy bonds
Used for attachment points and unknown stereochem
This is not a perfect implementation, but is a decent place to start
Currently only supports SVG and Cairo canvases.
* code review cleanup
2016-08-16 08:06:27 +02:00
Greg Landrum
7ee545f717
Fixes #932 ( #950 )
2016-06-21 14:32:39 -04:00
Greg Landrum
21cbc23783
remove debugging output
2016-04-15 15:10:42 +01:00
Greg Landrum
0ff9a758aa
width is now right (at least much closer to it)
...
height also looks good, but we still need a vertical shift if there is a subscript
2016-04-15 15:09:19 +01:00
Greg Landrum
efcb14dba0
cleanup some old comments
2016-03-03 17:56:57 +01:00
Greg Landrum
81eb3ff4ec
now svg works
2016-03-03 13:21:49 +01:00
Greg Landrum
3d0d9bc5ba
switch to an enum for the draw type;
...
Cairo and SVG build
Cairo looks mostly ok
SVG is still a disaster
2016-03-03 10:32:05 +01:00
Greg Landrum
e08e0d16d8
first pass, using google style
2015-11-14 14:58:11 +01:00
Brian Kelley
a146c3826a
Remove unused variables/functions and register keyword
2015-10-18 10:01:00 -04:00
Greg Landrum
9314b3d39a
support not clearing the background in drawings or explicitly setting the color;
...
fixes #587
2015-09-17 05:15:59 +02:00
Greg Landrum
feb44087dc
Support tagging atoms in output. The only canvas that currently supports this is SVG.
2015-03-01 11:18:11 +01:00
Greg Landrum
17014d235c
first pass at switching to using Point2D instead of std::pair for coords
2015-02-10 04:58:27 +01:00
Greg Landrum
6ef25b6736
fix polygon drawing bug in SVG canvas
2015-02-08 07:06:04 +01:00
Greg Landrum
b8d13bfa9c
move DrawColour out of the MolDraw2D class
2015-02-04 03:46:46 +01:00
Greg Landrum
7680af1967
cleanup; add a couple empirical factors to improve font rendering
2015-01-28 06:06:55 +01:00
Greg Landrum
ce48690bbc
add drawEllipse to SVG
2015-01-28 02:01:37 +01:00
Greg Landrum
b769bd4639
add fillPolys() option
2015-01-26 15:15:19 +01:00
Greg Landrum
2c07e5bae5
add drawPolygon() to the required API. Remove redundant drawTriangle() from the derived clases
2015-01-26 10:43:54 +01:00
Greg Landrum
683c372ddd
add lineWidth() support; not yet to the wx canvas
2015-01-26 09:38:49 +01:00
Greg Landrum
c4dda13908
fix the dash array in svg
2015-01-13 07:19:51 +01:00
Greg Landrum
7b98fa4c1e
Add support for dashed lines (not yet tested with Qt)
2015-01-13 06:04:59 +01:00
Greg Landrum
89a404ce14
Rename MolDraw2D::getColour() to MolDraw2D::colour()
2015-01-13 05:09:05 +01:00
Greg Landrum
e329050333
switch to solid white background
2015-01-10 06:32:55 +01:00
Greg Landrum
f51312558d
some code cleanup
2015-01-10 06:25:29 +01:00
Greg Landrum
d84db1da42
improve font-width handling a bit
2015-01-10 06:09:08 +01:00
Greg Landrum
8c911c10b8
complete that rename
2015-01-06 06:38:53 +01:00
Greg Landrum
6d0bbeb332
rename files
2015-01-05 18:35:42 +01:00