I wanted to draw only the vertices of a polygon by setting the mode of IpeRenderer to vertices. However, this still resulted in the curve being exported and drawn in ipe. This can be easily fixed by e.g. checking:
if (m_style.m_mode & stroke || m_style.m_mode & fill) {
// Add curve
}