Lines Matching refs:rotation
43 static GRRotation rotation = GRRotation::NONE; variable
47 auto swapped = (rotation == GRRotation::LEFT || rotation == GRRotation::RIGHT); in outside()
98 if (rotation == GRRotation::LEFT) { in incr_x()
100 } else if (rotation == GRRotation::RIGHT) { in incr_x()
102 } else if (rotation == GRRotation::DOWN) { in incr_x()
111 if (rotation == GRRotation::LEFT) { in incr_y()
113 } else if (rotation == GRRotation::RIGHT) { in incr_y()
115 } else if (rotation == GRRotation::DOWN) { in incr_y()
124 switch (rotation) { in PixelAt()
136 printf("invalid rotation %d", static_cast<int>(rotation)); in PixelAt()
273 if (rotation != GRRotation::NONE) { in gr_blit()
417 return (rotation == GRRotation::LEFT || rotation == GRRotation::RIGHT) in gr_fb_width()
423 return (rotation == GRRotation::LEFT || rotation == GRRotation::RIGHT) in gr_fb_height()
433 rotation = rot; in gr_rotate()