Commit Graph

32 Commits

Author SHA1 Message Date
Greg Landrum
c1704daccd support supplying highlight radii 2015-03-04 07:21:03 +01:00
Greg Landrum
621a9e9fec Initial pass at highlighting atom regions. Currently does a rectangle behind the atoms. 2015-03-01 11:18:51 +01: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
c49bf27031 fix a windows compile problem 2015-02-11 04:48:47 +00:00
Greg Landrum
cbfa704f0c more point operations 2015-02-10 07:09:39 +01:00
Greg Landrum
7dc2645175 first steps towards using point operations; this will be an ongoing thing 2015-02-10 05:13:10 +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
5d3d417db5 atom labels trump attachment lines 2015-02-10 04:11:49 +01:00
Greg Landrum
9b6b6dc4cd working on showing attachment lines 2015-02-09 06:06:59 +01:00
Greg Landrum
3c8e06092a atomLabels data member should not be a pointer
ensure atomLabels is visible to python
2015-02-09 05:14:58 +01:00
Greg Landrum
2324acb589 support highlighting close contacts 2015-02-08 07:05:47 +01:00
Greg Landrum
f73307270b support confIds in drawing 2015-02-08 06:16:31 +01:00
Greg Landrum
e8e510e14c add drawRect to MolDraw2D 2015-02-08 05:38:58 +01:00
Greg Landrum
f5cc3bdc15 improve some of the text handling 2015-02-08 04:58:27 +01:00
Greg Landrum
fd0d50d24b remove extra debugging statement 2015-02-06 06:35:11 +01:00
Greg Landrum
60ec459531 make highlights work better in large molecules 2015-02-06 06:34:18 +01:00
Greg Landrum
080309f899 cleanup color assignments; get them to match the python code 2015-02-06 06:17:21 +01:00
Greg Landrum
45671d59d6 add continuous highlighting 2015-02-06 05:57:44 +01:00
Greg Landrum
0a0047e96a make highlighted bonds twice as thick 2015-02-06 05:11:05 +01:00
Greg Landrum
eaba31c9ef support arbitrary atom labels 2015-02-04 04:07:10 +01:00
Greg Landrum
716d447726 improve highlighting to support atoms and bonds
make circling atoms optional
2015-02-04 03:47:31 +01:00
Greg Landrum
b8d13bfa9c move DrawColour out of the MolDraw2D class 2015-02-04 03:46:46 +01:00
Greg Landrum
b769bd4639 add fillPolys() option 2015-01-26 15:15:19 +01:00
Greg Landrum
73a270eaae add drawEllipse() 2015-01-26 14:22:51 +01:00
Greg Landrum
d008a336cd fix a bug in the bond wedging logic while drawing 2015-01-26 10:56:15 +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
47ca1936c6 move draw commands to public interface. 2015-01-26 09:27:04 +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
f9fef97e4c Make highlight_atoms and highlight_map pointers instead of references.
NOTE: QTDemo still needs testing.
2015-01-13 05:15:02 +01:00
Greg Landrum
f51312558d some code cleanup 2015-01-10 06:25:29 +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