Lines Matching refs:lineWidth
1107 int16_t lineWidth = static_cast<int16_t>(paint.GetStrokeWidth());
1111 int16_t x = start.x - lineWidth / 2; // 2: half
1112 int16_t y = start.y - lineWidth / 2; // 2: half
1115 if ((rectParam->height <= lineWidth) || (rectParam->width <= lineWidth)) {
1117 coords.SetHeight(rectParam->height + lineWidth);
1118 coords.SetWidth(rectParam->width + lineWidth);
1124 coords.SetHeight(lineWidth);
1130 coords.SetWidth(lineWidth);
1133 coords.SetPosition(x, y + lineWidth);
1135 coords.SetWidth(lineWidth);
1138 coords.SetPosition(x + lineWidth, y + rectParam->height);
1139 coords.SetHeight(lineWidth);
1156 int16_t lineWidth = enableStroke ? paint.GetStrokeWidth() : 0;
1157 if ((rectParam->height <= lineWidth) || (rectParam->width <= lineWidth)) {
1164 coords.SetPosition(start.x + (lineWidth + 1) / 2, start.y + (lineWidth + 1) / 2); // 2: half
1165 coords.SetHeight(rectParam->height - lineWidth);
1166 coords.SetWidth(rectParam->width - lineWidth);