Home
last modified time | relevance | path

Searched refs:xcent (Results 1 – 1 of 1) sorted by relevance

/external/tesseract/liblept/
Dboxfunc2.c252 l_int32 xcent, ycent; /* transformed center of rotation due to scaling */ in boxTransformOrdered() local
275 xcent = (l_int32)(scalex * xcen + 0.5); in boxTransformOrdered()
280 xdif = tx + 0.5 * tw - xcent; in boxTransformOrdered()
284 rx = xcent + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered()
295 xcent = (l_int32)(scalex * xcen + 0.5); in boxTransformOrdered()
300 xdif = tx + 0.5 * tw - xcent; in boxTransformOrdered()
304 rx = xcent + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered()
380 xcent = (l_int32)(scalex * xcen + 0.5); in boxTransformOrdered()
389 xdif = tx + 0.5 * tw - xcent; in boxTransformOrdered()
393 rx = xcent + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered()