drawHorizontalLine(horizontalPart._begin,horizontalPart._position,horizontalPart._end,color);
drawVerticalLine(verticalPart._position,verticalPart._begin,verticalPart._end,color);
}
if (clipRect.inside(center.x,center.y)) {
if ((alignment != CORNER_UNDER_LINE) && (alignment!=CORNER_OVER_LINE)) {
drawCorner(center.x, center.y, center.x, center.y, getColorPairNumber(color),
__attributes[color.getColorAttribute()], alignment);
} else {
short newAlignment = getCornerChar(startX,startY,endX,endY,alignment);