Lines Matching refs:x1
45 static void efm32_spiLcd_drawRawHLine(rt_uint8_t *pixels, int x1, int x2, int y);
46 static void efm32_spiLcd_drawHLine(rtgui_color_t *c, int x1, int x2, int y);
47 static void efm32_spiLcd_drawVLine(rtgui_color_t *c, int x1, int x2, int y);
177 static void efm32_spiLcd_drawRawHLine(rt_uint8_t *pixels, int x1, int x2, int y) in efm32_spiLcd_drawRawHLine() argument
202 static void efm32_spiLcd_drawHLine(rtgui_color_t *c, int x1, int x2, int y) in efm32_spiLcd_drawHLine() argument
215 if (x1 > x2) in efm32_spiLcd_drawHLine()
218 swap = x1; in efm32_spiLcd_drawHLine()
219 x1 = x2; in efm32_spiLcd_drawHLine()
224 if ((x1 > lcd_info.width) || (x2 < 0)) in efm32_spiLcd_drawHLine()
231 if (x1 < 0) in efm32_spiLcd_drawHLine()
233 x1 = 0; in efm32_spiLcd_drawHLine()
241 rt_uint32_t length = x2 - x1 + 1; in efm32_spiLcd_drawHLine()
242 ret = DMD_writePixel((rt_uint16_t)x1, (rt_uint16_t)y, in efm32_spiLcd_drawHLine()