WarpBlt geometry puzzle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

WarpBlt geometry puzzle

Stéphane Rollandin
Hello all,

I can't figure this out:

Given an instance of WarpBlt, what is the formula giving the destination
of a specific original point?

I only need one point (for the record, the offset of a Form to be
rotated and magnified). The code in WarpBlt works incrementaly by
running over all original points. At the moment I can get the result by
hacking into that loop, but it is slow and ugly. There has to be a
direct formula, but I can't find it. Any idea?

Stef

Reply | Threaded
Open this post in threaded view
|

Re: WarpBlt geometry puzzle

Stéphane Rollandin
> The code in WarpBlt works incrementaly by
> running over all original points.

Should read: by running over all destination points