pdc-LineTo( m_One.x + int( - Par * cosy - ( Par / 2.0 * siny ) ),
m_One.y + int( - Par * siny + ( Par / 2.0 * cosy ) ) );
pdc-LineTo( m_One.x + int( - Par * cosy + ( Par / 2.0 * siny ) ),
m_One.y - int( Par / 2.0 * cosy + Par * siny ) );
I can't understand this part of the code,either!I would be very grateful if you could explain it.
I am trying to implement drawing of an arrow using mouse in a scroll view and have implemented automatic scrolling of scroll view when the mouse moves out of its bounds.
I am having a few problems in getting the arrow drawn correctly when the view is scrolled. The initial point loses it focus and continues to be drawn in the view which is visible. Can someone implement a program to show how we can draw an arrow in a scroll view with automatic scrolling.