code: def get_clippath(self, node):
          
          def get_path_from_node(node):
              for child in node.getchildren():
                  if node_name(child) == 'path':
                      group = self.shape_converter.convertShape('path', NodeTracker(child))
                      return group.contents[-1]
                  else:
                      return get_path_from_node(child)
  
          clip_path = node.getAttribute('clip-path')
          if clip_path:
              m = re.match(r'url\(#([^\)]*)\)', clip_path)
              if m:
                  ref = m.groups()[0]
                  if ref in self.definitions:
                      path = get_path_from_node(self.definitions[ref])
                      if path:
                          path = ClippingPath(copy_from=path)
                          return path
docs: Return the clipping Path object referenced by the node 'clip-path'
          attribute, if any.