Lines Matching refs:offsetX
358 const uint16_t cols, const int16_t offsetX, uint16_t& begin,
366 if (offsetX >= cols) {
369 copyCols = cols - offsetX;
371 if (offsetX >= cols) {
374 copyCols = offsetX;
375 begin = (cols - offsetX) * sizePerPx;
379 if (offsetX >= cols) {
382 copyCols = cols - offsetX;
383 begin = offsetX * sizePerPx;
385 if (offsetX >= cols) {
388 copyCols = offsetX;
394 const uint16_t cols, const int16_t offsetX, uint16_t& begin,
402 if (offsetX >= cols) {
405 copyCols = cols - offsetX;
406 begin = offsetX * sizePerPx;
408 if (offsetX >= cols) {
411 copyCols = offsetX;
415 if (offsetX >= cols) {
418 copyCols = cols - offsetX;
420 if (offsetX >= cols) {
423 copyCols = offsetX;
424 begin = (cols - offsetX) * sizePerPx;
430 const uint16_t cols, const int16_t offsetX, uint16_t& begin,
434 OnCalculatedClockwise(letterInfo, sizePerPx, cols, offsetX, begin, copyCols, range);
436 OnCalculatedAnticlockwise(letterInfo, sizePerPx, cols, offsetX, begin, copyCols, range);
451 int16_t offsetX = static_cast<uint16_t>(angle * letterInfo.radius * UI_PI / SEMICIRCLE_IN_DEGREE);
458 DrawLabel::CalculatedBeginAndCopySize(letterInfo, sizePerPx, cols, offsetX, begin, copyCols, range);