I’m having an issue with these functions, the problem is the following:
It looks like coordinate origin in drawLine / drawVerticalLine (int / float coordinates), and drawHorizontalLine looks to be relative to the most top-parent component window rather the current component (the one that “graphic” object belong at time of painting), so I have to add a small offset to the coordinates to match with other graphics functions such as: fillRect, drawImage, etc, because the top application component (document window) have 20 pixel titlebar and a 4 pixel surrouding frame wich bias the graphics origin respect the child component (where all app stuff is done).
Any idea of what I could be doing wrong?
Sorry for my screwed english.