Frederik Elwert wrote:
> Am Dienstag, den 29.01.2008, 23:28 +0100 schrieb Ulrich von Zadow:
>> Have a look at RasterNode::maxtileheight/width, getOrigVertexCoords()
>> and ::get/::setWarpedVertexCoords(). From
>> https://www.libavg.de/reference/libavg.avg.RasterNode-class.html:
>>
>> "Warping of RasterNodes is implemented using a grid of reference points.
>> The position of each of these points can be changed."
> 
> That sounds great!
> 
> In order to have an example for the coordinate format, I tried
> getOrigVertexCoords() on an image element. But that only gave me a
> SegFault. Can I only get the original coordinates once the image has
> been warped?

If you get a segfault, that's a bug in libavg, no matter what you did.
It would be great if you could enter it into the bugtracker (including
steps to reproduce) so it's not forgotten:
https://www.libavg.de/mantis/view_all_bug_page.php

> Could you then please provide a short example of the format of the grid?

Have a look at
https://www.libavg.de/websvn/filedetails.php?repname=libavg&path=%2Ftrunk%2Favg_media%2Fmtc%2Fremote%2Fremote.py&rev=0&sc=0,

flipBitmap() uses the grid.

Cheers,

  Uli

-- 

Ulrich von Zadow | +49-172-7872715
Jabber: [EMAIL PROTECTED]
Skype: uzadow

_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users

Reply via email to