3 * Vertical Line drawing algorithm.
5 * Copyright (C) 2009-2014 Cyril Hrubis <metan@ucw.cz>
8 #include "core/GP_GetPutPixel.h"
9 #include "gfx/GP_VLine.gen.h"
11 @ for ps in pixelsizes:
12 void GP_VLine_Raw_{{ ps.suffix }}(GP_Pixmap *pixmap, GP_Coord x,
13 GP_Coord y0, GP_Coord y1, GP_Pixel pixel)
17 for (y = y0; y <= y1; y++)
18 GP_PutPixel_Raw_{{ ps.suffix }}(pixmap, x, y, pixel);