Lines Matching refs:radius
326 void EBOLED::drawRoundedRectangle(int8_t x, int8_t y, int8_t width, int8_t height, int16_t radius, … in drawRoundedRectangle() argument
328 drawLineHorizontal(x+radius , y , width-2*radius, color); // Top in drawRoundedRectangle()
329 drawLineHorizontal(x+radius , y+height-1, width-2*radius, color); // Bottom in drawRoundedRectangle()
330 drawLineVertical( x , y+radius , height-2*radius, color); // Left in drawRoundedRectangle()
331 drawLineVertical( x+width-1 , y+radius , height-2*radius, color); // Right in drawRoundedRectangle()
333 drawRoundCorners(x+radius , y+radius , radius, 1, color); in drawRoundedRectangle()
334 drawRoundCorners(x+width-radius-1, y+radius , radius, 2, color); in drawRoundedRectangle()
335 drawRoundCorners(x+width-radius-1, y+height-radius-1, radius, 4, color); in drawRoundedRectangle()
336 drawRoundCorners(x+radius , y+height-radius-1, radius, 8, color); in drawRoundedRectangle()
429 void EBOLED::drawCircle(int16_t x0, int16_t y0, int16_t radius, uint8_t color) in drawCircle() argument
431 int16_t f = 1 - radius; in drawCircle()
433 int16_t ddF_y = -2 * radius; in drawCircle()
435 int16_t y = radius; in drawCircle()
437 drawPixel(x0 , y0+radius, color); in drawCircle()
438 drawPixel(x0 , y0-radius, color); in drawCircle()
439 drawPixel(x0+radius, y0 , color); in drawCircle()
440 drawPixel(x0-radius, y0 , color); in drawCircle()
466 void EBOLED::drawRoundCorners( int8_t x0, int8_t y0, int16_t radius, uint8_t cornername, uint8_t co… in drawRoundCorners() argument
467 int16_t f = 1 - radius; in drawRoundCorners()
469 int16_t ddF_y = -2 * radius; in drawRoundCorners()
471 int16_t y = radius; in drawRoundCorners()
501 void EBOLED::drawCircleFilled(int8_t x0, int8_t y0, int16_t radius, uint8_t color) { in drawCircleFilled() argument
502 drawLineVertical(x0, y0-radius, 2*radius+1, color); in drawCircleFilled()
503 drawRoundedCornersFilled(x0, y0, radius, 3, 0, color); in drawCircleFilled()
506 void EBOLED::drawRoundedCornersFilled(int8_t x0, int8_t y0, int16_t radius, uint8_t cornername, int… in drawRoundedCornersFilled() argument
508 int16_t f = 1 - radius; in drawRoundedCornersFilled()
510 int16_t ddF_y = -2 * radius; in drawRoundedCornersFilled()
512 int16_t y = radius; in drawRoundedCornersFilled()