Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_ap.cpp73 CPDF_Point ptOld(0.0f,0.0f),ptNew(0.0f,0.0f); in GetEditAppearanceStream() local
104 ptNew = CPDF_Point(word.ptWord.x + ptOffset.x, word.ptWord.y + ptOffset.y); in GetEditAppearanceStream()
110 ptNew = CPDF_Point(line.ptLine.x + ptOffset.x, line.ptLine.y + ptOffset.y); in GetEditAppearanceStream()
113 if (ptNew.x != ptOld.x || ptNew.y != ptOld.y) in GetEditAppearanceStream()
115 sEditStream << ptNew.x - ptOld.x << " " << ptNew.y - ptOld.y << " Td\n"; in GetEditAppearanceStream()
117 ptOld = ptNew; in GetEditAppearanceStream()
145 ptNew = CPDF_Point(word.ptWord.x + ptOffset.x, word.ptWord.y + ptOffset.y); in GetEditAppearanceStream()
147 if (ptNew.x != ptOld.x || ptNew.y != ptOld.y) in GetEditAppearanceStream()
149 sEditStream << ptNew.x - ptOld.x << " " << ptNew.y - ptOld.y << " Td\n"; in GetEditAppearanceStream()
150 ptOld = ptNew; in GetEditAppearanceStream()
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_IconList.cpp563 CPDF_Point ptNew = ptScroll; in OnMouseWheel() local
566 ptNew.y += 30; in OnMouseWheel()
568 ptNew.y -= 30; in OnMouseWheel()
570 if (ptNew.y > rcScroll.top) in OnMouseWheel()
571 ptNew.y = rcScroll.top; in OnMouseWheel()
572 if (ptNew.y < rcScroll.bottom + rcContents.Height()) in OnMouseWheel()
573 ptNew.y = rcScroll.bottom + rcContents.Height(); in OnMouseWheel()
574 if (ptNew.y < rcScroll.bottom) in OnMouseWheel()
575 ptNew.y = rcScroll.bottom; in OnMouseWheel()
577 if (ptNew.y != ptScroll.y) in OnMouseWheel()
[all …]
DPWL_Note.cpp1556 CPDF_Point ptNew = ptScroll; in OnMouseWheel() local
1559 ptNew.y += 30; in OnMouseWheel()
1561 ptNew.y -= 30; in OnMouseWheel()
1563 if (ptNew.y > rcScroll.top) in OnMouseWheel()
1564 ptNew.y = rcScroll.top; in OnMouseWheel()
1565 if (ptNew.y < rcScroll.bottom + rcContents.Height()) in OnMouseWheel()
1566 ptNew.y = rcScroll.bottom + rcContents.Height(); in OnMouseWheel()
1567 if (ptNew.y < rcScroll.bottom) in OnMouseWheel()
1568 ptNew.y = rcScroll.bottom; in OnMouseWheel()
1570 if (ptNew.y != ptScroll.y) in OnMouseWheel()
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_ap.cpp642 CPDF_Point ptOld(0.0f, 0.0f), ptNew(0.0f, 0.0f); in GenerateEditAP() local
666 ptNew = CPDF_Point(word.ptWord.x + ptOffset.x, word.ptWord.y + ptOffset.y); in GenerateEditAP()
670 ptNew = CPDF_Point(line.ptLine.x + ptOffset.x, line.ptLine.y + ptOffset.y); in GenerateEditAP()
672 if (ptNew.x != ptOld.x || ptNew.y != ptOld.y) { in GenerateEditAP()
673 sLineStream << ptNew.x - ptOld.x << " " << ptNew.y - ptOld.y << " Td\n"; in GenerateEditAP()
674 ptOld = ptNew; in GenerateEditAP()
693 ptNew = CPDF_Point(word.ptWord.x + ptOffset.x, word.ptWord.y + ptOffset.y); in GenerateEditAP()
694 if (ptNew.x != ptOld.x || ptNew.y != ptOld.y) { in GenerateEditAP()
695 sEditStream << ptNew.x - ptOld.x << " " << ptNew.y - ptOld.y << " Td\n"; in GenerateEditAP()
696 ptOld = ptNew; in GenerateEditAP()
/external/opencv/cvaux/src/
Dcvvecfacetracking.cpp793 CvPoint ptNew[NUM_FACE_ELEMENTS]; in GetEnergy() local
797 ptNew[i] = ppNew[i]->ptCenter; in GetEnergy()
802 double e_templ = CalculateTransformationLMS3(ptTempl, ptNew, &scale, &rotate, &dx, &dy); in GetEnergy()
803 double e_prev = CalculateTransformationLMS3_0(ptPrev, ptNew); in GetEnergy()