Home | History | Annotate | Download | only in canvas

Lines Matching refs:m_path

176     m_path.clear();
308 m_path.transform(state().m_transform);
310 m_path.transform(state().m_transform.inverse());
572 m_path.transform(AffineTransform().scaleNonUniform(1.0 / sx, 1.0 / sy));
595 m_path.transform(AffineTransform().rotate(-angleInRadians / piDouble * 180.0));
618 m_path.transform(AffineTransform().translate(-tx, -ty));
641 m_path.transform(transform.inverse());
659 m_path.transform(ctm);
749 m_path.clear();
754 if (m_path.isEmpty())
757 FloatRect boundRect = m_path.boundingRect();
759 m_path.closeSubpath();
768 m_path.moveTo(FloatPoint(x, y));
779 if (!m_path.hasCurrentPoint())
780 m_path.moveTo(p1);
781 else if (p1 != m_path.currentPoint())
782 m_path.addLineTo(FloatPoint(x, y));
791 if (!m_path.hasCurrentPoint())
792 m_path.moveTo(FloatPoint(cpx, cpy));
795 if (p1 != m_path.currentPoint())
796 m_path.addQuadCurveTo(FloatPoint(cpx, cpy), p1);
805 if (!m_path.hasCurrentPoint())
806 m_path.moveTo(FloatPoint(cp1x, cp1y));
809 if (p1 != m_path.currentPoint())
810 m_path.addBezierCurveTo(FloatPoint(cp1x, cp1y), FloatPoint(cp2x, cp2y), p1);
830 if (!m_path.hasCurrentPoint())
831 m_path.moveTo(p1);
832 else if (p1 == m_path.currentPoint() || p1 == p2 || !r)
835 m_path.addArcTo(p1, p2, r);
854 m_path.addArc(FloatPoint(x, y), r, sa, ea, anticlockwise);
887 m_path.moveTo(FloatPoint(x, y));
891 m_path.addRect(FloatRect(x, y, width, height));
898 m_path.clear();
910 if (!m_path.isEmpty()) {
911 c->fillPath(m_path);
912 didDraw(m_path.boundingRect());
928 if (!m_path.isEmpty()) {
933 FloatRect boundingRect = m_path.platformPath().controlPointRect();
937 FloatRect boundingRect = m_path.strokeBoundingRect(&strokeApplier);
939 c->strokePath(m_path);
955 c->canvasClip(m_path);
974 return m_path.contains(transformedPoint);