Lines Matching refs:rotation
44 static GRRotation rotation = GRRotation::NONE; variable
48 auto swapped = (rotation == GRRotation::LEFT || rotation == GRRotation::RIGHT); in outside()
99 if (rotation == GRRotation::LEFT) { in incr_x()
101 } else if (rotation == GRRotation::RIGHT) { in incr_x()
103 } else if (rotation == GRRotation::DOWN) { in incr_x()
112 if (rotation == GRRotation::LEFT) { in incr_y()
114 } else if (rotation == GRRotation::RIGHT) { in incr_y()
116 } else if (rotation == GRRotation::DOWN) { in incr_y()
125 switch (rotation) { in PixelAt()
137 printf("invalid rotation %d", static_cast<int>(rotation)); in PixelAt()
274 if (rotation != GRRotation::NONE) { in gr_blit()
421 return (rotation == GRRotation::LEFT || rotation == GRRotation::RIGHT) in gr_fb_width()
427 return (rotation == GRRotation::LEFT || rotation == GRRotation::RIGHT) in gr_fb_height()
437 rotation = rot; in gr_rotate()