Lines Matching defs:gfxDstBuffer
28 void DrawArc::DrawImg(BufferInfo& gfxDstBuffer,
47 image->DrawImage(gfxDstBuffer, cordsTmp, area, style, opaScale);
51 void DrawArc::DrawVerLine(BufferInfo& gfxDstBuffer,
62 DrawImg(gfxDstBuffer, imgPos, rect, mask, style, opaScale, image);
64 DrawUtils::GetInstance()->DrawColorArea(gfxDstBuffer, rect, mask, style.lineColor_, opaScale);
68 void DrawArc::DrawHorLine(BufferInfo& gfxDstBuffer,
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);
128 void DrawArc::DrawCircleNoEndpoint(BufferInfo& gfxDstBuffer,
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);
203 void DrawArc::DrawAxisLine(BufferInfo& gfxDstBuffer,
214 DrawHorLine(gfxDstBuffer, arcInfo.center, arcInfo.imgPos, mask, 0, style, opa, arcInfo.imgSrc);
219 DrawHorLine(gfxDstBuffer, Point { static_cast<int16_t>(arcInfo.center.x - outRadius), arcInfo.center.y },
224 DrawHorLine(gfxDstBuffer, Point { static_cast<int16_t>(arcInfo.center.x + inRadius), arcInfo.center.y },
229 DrawVerLine(gfxDstBuffer, Point { arcInfo.center.x, static_cast<int16_t>(arcInfo.center.y - outRadius) },
234 DrawVerLine(gfxDstBuffer, Point { arcInfo.center.x, static_cast<int16_t>(arcInfo.center.y + inRadius) },
239 void DrawArc::DrawLineWithDegree(BufferInfo& gfxDstBuffer,
250 DrawHorLine(gfxDstBuffer,
269 DrawHorLine(gfxDstBuffer,
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);
285 int16_t DrawArc::DrawLineWithDegreeInner(BufferInfo& gfxDstBuffer,
315 DrawHorLine(gfxDstBuffer,
323 void DrawArc::DrawLineAnti(BufferInfo& gfxDstBuffer, ArcInfo& arcInfo, const Rect& mask,
354 DrawPointAnti(gfxDstBuffer, arcInfo, xAnti, mask, style, antiOpa);
364 DrawPointAnti(gfxDstBuffer, arcInfo, xAnti, mask, style, antiOpa);
368 void DrawArc::DrawPointAnti(BufferInfo& gfxDstBuffer, ArcInfo& arcInfo, int16_t x, const Rect& mask,
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);
413 void DrawArc::Draw(BufferInfo& gfxDstBuffer, ArcInfo& arcInfo, const Rect& mask,
424 DrawCircleNoEndpoint(gfxDstBuffer, arcInfo, mask, style, opa, false);
426 DrawCircleNoEndpoint(gfxDstBuffer, arcInfo, mask, style, opa, true);
464 DrawCircleNoEndpoint(gfxDstBuffer, endArcInfo, mask, style, opa, true);
467 DrawCircleNoEndpoint(gfxDstBuffer, endArcInfo, mask, style, opa, true);
475 DrawCircleNoEndpoint(gfxDstBuffer, endArcInfo, mask, style, opa, true);
478 DrawCircleNoEndpoint(gfxDstBuffer, endArcInfo, mask, style, opa, true);