Home | History | Annotate | Download | only in src

Lines Matching defs:previewWidth

1855         int previewWidth, previewHeight;
1856 this->getPreviewSize(&previewWidth, &previewHeight);
1857 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
1858 x1 = (uint16_t)((areas[0].x1 + 1000.0f)*(previewWidth/2000.0f));
1860 x2 = (uint16_t)((areas[0].x2 + 1000.0f)*(previewWidth/2000.0f));
1882 int previewWidth, previewHeight;
1883 this->getPreviewSize(&previewWidth, &previewHeight);
1886 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
1887 x1 = (uint16_t)((areas[i].x1 + 1000.0f)*(previewWidth/2000.0f));
1889 x2 = (uint16_t)((areas[i].x2 + 1000.0f)*(previewWidth/2000.0f));
1960 int previewWidth, previewHeight;
1961 this->getPreviewSize(&previewWidth, &previewHeight);
1962 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
1963 x1 = (uint16_t)((areas[0].x1 + 1000.0f)*(previewWidth/2000.0f));
1965 x2 = (uint16_t)((areas[0].x2 + 1000.0f)*(previewWidth/2000.0f));
1991 int previewWidth, previewHeight;
1992 this->getPreviewSize(&previewWidth, &previewHeight);
1995 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
1996 x1 = (uint16_t)((areas[i].x1 + 1000.0f)*(previewWidth/2000.0f));
1998 x2 = (uint16_t)((areas[i].x2 + 1000.0f)*(previewWidth/2000.0f));