|
From: JustFillBug <moz...@ya...> - 2008-11-27 03:17:55
|
On 2008-11-24, JustFillBug <moz...@ya...> wrote: > On 2008-11-24, JustFillBug <moz...@ya...> wrote: >> I want to know does the replaceWithReference() try to scale to the >> targetting contour's bounding box? From my test, it seems not. >> > > I tried to ask transformation in FVBReplaceOutlineWithReference() by > adding: > sv->tryreverse = true; > sv->tryflips = true; > sv->tryrotate = true; > sv->tryscale = true; > Maybe tryrotate is too much for relaceWithReference, but I think tryscale is a much more reasonable use of reference. As an alternative to compare between bezier points, I'm wondering if rendering the contours to the EM size and then compare the pixels for finding references, is more suitable under some situations. |