Aromaticity requires atom typing.

Change-Id: If676dddd2f0cf414557475af68e31e7443d39f35
Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Don't check for aromatic atoms before checking charge. Carbon, 'C.plus' cation can also be aromatic and so the charge types should be checked first.

Change-Id: I5c75fabcb004f1cb6839733f0d92c1b3187045da
Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Correctly consider the heavy bonds and hydrogen counts. When connectedHeavyAtoms == 2 the full bond list was checked for the aromatic bonds. As the full bond list could contain an explicit hydrogen we should filter it to ensure the aromatic bond checking works correctly.

Change-Id: Ie9952a4da175996acf6f7bf4af5d93aa7c95cc5d
Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Ensure non-negative height is passed when drawing a rectangle - bug #1163.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>