|
From: JustFillBug <moz...@ya...> - 2008-11-24 02:48:14
|
Hi,
I want to know does the replaceWithReference() try to scale to the
targetting contour's bounding box? From my test, it seems not.
When matching a reference to a contour, once 1:1 translate don't
match, it could try to scale the reference according to the target
contour's bounding box and then test for matching.
The code in SPMatchesF() of search.c is too complex for me to
change. Maybe somehow set s->tryrotate, s->tryscale and s->tryflips
inside FVBReplaceOutlineWithReference() before calling _DoFindAll()?
|