- case 'H':
- g.setColor(HELIX_COLOUR);
- if (MAC)
- {
- //Off by 1 offset when drawing rects and ovals
- //to offscreen image on the MAC
- g.fillRoundRect(lastSSX, y + 4 + iconOffset,
- (x * av.charWidth) - lastSSX, 7, 8, 8);
- break;
- }
-
- int sCol = (lastSSX / av.charWidth) + startRes;
- int x1 = lastSSX;
- int x2 = (x * av.charWidth);
-
- if (sCol == 0 ||
- row.annotations[sCol - 1] == null ||
- row.annotations[sCol - 1].secondaryStructure != 'H')
- {
- g.fillArc(lastSSX, y + 4 + iconOffset, av.charWidth, 8, 90,
- 180);
- x1 += av.charWidth / 2;
- }
-
- if (row.annotations[column] == null ||
- row.annotations[column].secondaryStructure != 'H')
- {
- g.fillArc( (x * av.charWidth) - av.charWidth,
- y + 4 + iconOffset, av.charWidth, 8, 270, 180);
- x2 -= av.charWidth / 2;
- }
-
- g.fillRect(x1, y + 4 + iconOffset, x2 - x1, 8);
+ case 'H':
+ g.setColor(HELIX_COLOUR);
+ if (MAC)
+ {
+ // Off by 1 offset when drawing rects and ovals
+ // to offscreen image on the MAC
+ g.fillRoundRect(lastSSX, y + 4 + iconOffset,
+ (x * av.charWidth) - lastSSX, 7, 8, 8);