Lines Matching refs:GRRotation
44 static GRRotation rotation = GRRotation::NONE;
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()
126 case GRRotation::NONE: in PixelAt()
128 case GRRotation::RIGHT: in PixelAt()
130 case GRRotation::DOWN: in PixelAt()
133 case GRRotation::LEFT: in PixelAt()
274 if (rotation != GRRotation::NONE) { in gr_blit()
396 gr_rotate(GRRotation::RIGHT); in gr_init()
398 gr_rotate(GRRotation::DOWN); in gr_init()
400 gr_rotate(GRRotation::LEFT); in gr_init()
402 gr_rotate(GRRotation::NONE); in gr_init()
421 return (rotation == GRRotation::LEFT || rotation == GRRotation::RIGHT) in gr_fb_width()
427 return (rotation == GRRotation::LEFT || rotation == GRRotation::RIGHT) in gr_fb_height()
436 void gr_rotate(GRRotation rot) { in gr_rotate()