Lines Matching refs:style
32 const Style& style,
47 image->DrawImage(gfxDstBuffer, cordsTmp, area, style, opaScale);
56 const Style& style,
62 DrawImg(gfxDstBuffer, imgPos, rect, mask, style, opaScale, image);
64 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, style.lineColor_, opaScale);
73 const Style& style,
79 DrawImg(gfxDstBuffer, imgPos, rect, mask, style, opaScale, image);
82 DrawUtils::GetInstance()->DrawPixel(gfxDstBuffer, begin.x, begin.y, mask, style.lineColor_, opaScale);
85 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, style.lineColor_, opaScale);
131 const Style& style,
135 DrawAxisLine(gfxDstBuffer, arcInfo, mask, style, opa);
176 DrawLineAnti(gfxDstBuffer, arcInfo, mask, style, opa);
179 DrawLineWithDegree(gfxDstBuffer, arcInfo, -lineEnd_, -lineStart_, y_, mask, style, opa, ARC_QUADRANT_ONE);
181 DrawLineWithDegree(gfxDstBuffer, arcInfo, -lineEnd_, -lineStart_, -y_, mask, style, opa, ARC_QUADRANT_TWO);
183 DrawLineWithDegree(gfxDstBuffer, arcInfo, lineStart_, lineEnd_, -y_, mask, style, opa, ARC_QUADRANT_THREE);
185 DrawLineWithDegree(gfxDstBuffer, arcInfo, lineStart_, lineEnd_, y_, mask, style, opa, ARC_QUADRANT_FOUR);
206 const Style& style,
214 DrawHorLine(gfxDstBuffer, arcInfo.center, arcInfo.imgPos, mask, 0, style, opa, arcInfo.imgSrc);
220 arcInfo.imgPos, mask, lineWidth, style, opa, arcInfo.imgSrc);
225 arcInfo.imgPos, mask, lineWidth, style, opa, arcInfo.imgSrc);
230 arcInfo.imgPos, mask, lineWidth, style, opa, arcInfo.imgSrc);
235 arcInfo.imgPos, mask, lineWidth, style, opa, arcInfo.imgSrc);
245 const Style& style,
252 arcInfo.imgPos, mask, end - start, style, opaScale, arcInfo.imgSrc);
271 arcInfo.imgPos, mask, end - start, style, opaScale, arcInfo.imgSrc);
274 DrawLineWithDegreeInner(gfxDstBuffer, arcInfo, start, end, y, mask, style, opaScale, quadrant);
277 drawEnd = DrawLineWithDegreeInner(gfxDstBuffer, arcInfo, start, end, y, mask, style, opaScale, quadrant);
278 DrawLineWithDegreeInner(gfxDstBuffer, arcInfo, drawEnd + 1, end, y, mask, style, opaScale, quadrant);
291 const Style& style,
317 arcInfo.imgPos, mask, drawEnd - drawStart, style, opaScale, arcInfo.imgSrc);
324 const Style& style, uint8_t opa)
354 DrawPointAnti(gfxDstBuffer, arcInfo, xAnti, mask, style, antiOpa);
364 DrawPointAnti(gfxDstBuffer, arcInfo, xAnti, mask, style, antiOpa);
369 const Style& style, uint8_t antiOpa)
377 DrawHorLine(gfxDstBuffer, Point { startX, starty }, arcInfo.imgPos, mask, 0, style, antiOpa, arcInfo.imgSrc);
382 DrawHorLine(gfxDstBuffer, Point { startX, starty }, arcInfo.imgPos, mask, 0, style, antiOpa, arcInfo.imgSrc);
387 DrawHorLine(gfxDstBuffer, Point { startX, starty }, arcInfo.imgPos, mask, 0, style, antiOpa, arcInfo.imgSrc);
392 DrawHorLine(gfxDstBuffer, Point { startX, starty }, arcInfo.imgPos, mask, 0, style, antiOpa, arcInfo.imgSrc);
414 const Style& style, uint8_t opaScale, uint8_t cap)
416 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.lineOpa_);
417 if ((opa == OPA_TRANSPARENT) || (style.lineWidth_ < 1)) {
421 SetArcInfo(arcInfo, style);
424 DrawCircleNoEndpoint(gfxDstBuffer, arcInfo, mask, style, opa, false);
426 DrawCircleNoEndpoint(gfxDstBuffer, arcInfo, mask, style, opa, true);
431 int16_t lineWidth = style.lineWidth_;
454 SetArcInfo(endArcInfo, style);
464 DrawCircleNoEndpoint(gfxDstBuffer, endArcInfo, mask, style, opa, true);
467 DrawCircleNoEndpoint(gfxDstBuffer, endArcInfo, mask, style, opa, true);
473 SetArcInfo(endArcInfo, style);
475 DrawCircleNoEndpoint(gfxDstBuffer, endArcInfo, mask, style, opa, true);
478 DrawCircleNoEndpoint(gfxDstBuffer, endArcInfo, mask, style, opa, true);
507 void DrawArc::SetArcInfo(ArcInfo& arcInfo, const Style& style)
510 inRadius_ = outRadius_ - style.lineWidth_;