Exemplo n.º 1
0
 Path path() const
 {
     Path path;
     buildPathFromByteStream(m_rawStream, path);
     path.translate(toFloatSize(m_offset));
     return path;
 }
Exemplo n.º 2
0
const Path& StylePath::path() const {
  if (!m_path) {
    m_path = WTF::wrapUnique(new Path);
    buildPathFromByteStream(*m_byteStream, *m_path);
  }
  return *m_path;
}
Exemplo n.º 3
0
static void updatePathFromPathElement(SVGElement* element, Path& path)
{
    buildPathFromByteStream(toSVGPathElement(element)->pathByteStream(), path);
}