Lines Matching refs:x2
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()
219 x1 = x2; in efm32_spiLcd_drawHLine()
220 x2 = swap; in efm32_spiLcd_drawHLine()
224 if ((x1 > lcd_info.width) || (x2 < 0)) in efm32_spiLcd_drawHLine()
235 if (x2 > lcd_info.width) in efm32_spiLcd_drawHLine()
237 x2 = lcd_info.width; in efm32_spiLcd_drawHLine()
241 rt_uint32_t length = x2 - x1 + 1; in efm32_spiLcd_drawHLine()