<font color='black' size='2' face='Arial, Helvetica, sans-serif'>Is it possible to render rectangles whose vertical lines are different in width from the horizontal lines? I have tried drawing separate lines for each side adjusting the line width for as needed. The result is a rectangle but there is a very slight gap where the lines meet. The gap is more noticeable as the color is made more transparent. Overlapping the lines works well for opaque colors but not for transparent. This is what I am currently doing . . .
<div><br>
</div>
<div>
<div> cairo_new_sub_path (m_pCairo);</div>
<div> cairo_move_to (m_pCairo, m_dXPos+l_dBorderWidthV, m_dYPos+l_dBorderOffsetH);</div>
<div> cairo_line_to (m_pCairo, m_dXPos+m_dWidth-l_dBorderWidthV, m_dYPos+l_dBorderOffsetH);</div>
<div> cairo_move_to (m_pCairo, m_dXPos+l_dBorderWidthV, m_dYPos+m_dHeight-l_dBorderOffsetH);</div>
<div> cairo_line_to (m_pCairo, m_dXPos+m_dWidth-l_dBorderWidthV, m_dYPos+m_dHeight-l_dBorderOffsetH);</div>
<div> cairo_set_line_width (m_pCairo, l_dBorderWidthH);</div>
<div> cairo_stroke(m_pCairo);</div>
<div> cairo_set_line_width (m_pCairo, l_dBorderWidthV);</div>
<div> cairo_move_to (m_pCairo, m_dXPos+l_dBorderOffsetV, m_dYPos);</div>
<div> cairo_line_to (m_pCairo, m_dXPos+l_dBorderOffsetV, m_dYPos+m_dHeight);</div>
<div> cairo_move_to (m_pCairo, m_dXPos+m_dWidth-l_dBorderOffsetV, m_dYPos);</div>
<div> cairo_line_to (m_pCairo, m_dXPos+m_dWidth-l_dBorderOffsetV, m_dYPos+m_dHeight);</div>
<div> cairo_close_path (m_pCairo);</div>
<div><span style="font-size: 10pt; "> cairo_set_line_width (m_pCairo, l_dBorderWidthH);</span></div>
<div> cairo_stroke(m_pCairo);</div>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Bob</div>
</font>