Lines Matching defs:width
63 int16_t width,
67 if ((width == 0) || (opacity == OPA_TRANSPARENT)) {
75 yTop = start.y - width / 2; // 2: half
76 yBottom = end.y + width / 2; // 2: half
78 yTop = end.y - width / 2; // 2: half
79 yBottom = start.y + width / 2; // 2: half
87 DrawHorizontalLine(gfxDstBuffer, start, end, mask, width, color, opacity);
89 DrawVerticalLine(gfxDstBuffer, start, end, mask, width, color, opacity);
91 DrawWuLine(gfxDstBuffer, start, end, mask, width, color, opacity);
99 int16_t width,
106 rect.SetX(start.x - width / 2); // 2: half
108 rect.SetWidth(width);
111 rect.SetX(end.x - width / 2); // 2: half
113 rect.SetWidth(width);
123 int16_t width,
131 rect.SetY(start.y - width / 2); // 2: half
133 rect.SetHeight(width);
136 rect.SetY(end.y - width / 2); // 2: half
138 rect.SetHeight(width);
145 const Rect& mask, int16_t width, const ColorType& color, OpacityType opacity)
147 if (width <= 2) { // 2 : thin line width
148 DrawThinWuLine(gfxDstBuffer, start, end, mask, width, color, opacity);
164 offset = Sqrt(offset) * width / 2; // 2: half
181 // width is longer than distance between start point and end point, need swap direction of line.
182 if (dx * dx + dy * dy < width * width) {
184 DrawThinWuLine(gfxDstBuffer, { x0Int, y0Int }, { x3Int, y3Int }, mask, 2, color, opacity); // 2 : line width
441 const Rect& mask, int16_t width, const ColorType& color, OpacityType opacity)
460 if (width == 1) {
473 if (width == 1) {