Lines Matching refs:GRRotation
43 static GRRotation rotation = GRRotation::NONE;
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()
125 case GRRotation::NONE: in PixelAt()
127 case GRRotation::RIGHT: in PixelAt()
129 case GRRotation::DOWN: in PixelAt()
132 case GRRotation::LEFT: in PixelAt()
273 if (rotation != GRRotation::NONE) { in gr_blit()
392 gr_rotate(GRRotation::RIGHT); in gr_init()
394 gr_rotate(GRRotation::DOWN); in gr_init()
396 gr_rotate(GRRotation::LEFT); in gr_init()
398 gr_rotate(GRRotation::NONE); in gr_init()
417 return (rotation == GRRotation::LEFT || rotation == GRRotation::RIGHT) in gr_fb_width()
423 return (rotation == GRRotation::LEFT || rotation == GRRotation::RIGHT) in gr_fb_height()
432 void gr_rotate(GRRotation rot) { in gr_rotate()