// #i85045# removed double mechanism to check for AutoClose polygon // after construction; the method here did not check for already closed and // also worked only for a single polygon. Removing.
}
} else
bReturn = SwDrawBase::MouseButtonUp(rMEvt);
return bReturn;
}
void ConstPolygon::Activate(const sal_uInt16 nSlotId)
{ switch (nSlotId)
{ case SID_DRAW_POLYGON_NOFILL: case SID_DRAW_XPOLYGON_NOFILL:
m_pWin->SetSdrDrawMode(SdrObjKind::PolyLine); break;
case SID_DRAW_POLYGON: case SID_DRAW_XPOLYGON:
m_pWin->SetSdrDrawMode(SdrObjKind::Polygon); break;
case SID_DRAW_BEZIER_NOFILL:
m_pWin->SetSdrDrawMode(SdrObjKind::PathLine); break;
case SID_DRAW_BEZIER_FILL:
m_pWin->SetSdrDrawMode(SdrObjKind::PathFill); break;
case SID_DRAW_FREELINE_NOFILL:
m_pWin->SetSdrDrawMode(SdrObjKind::FreehandLine); break;
case SID_DRAW_FREELINE:
m_pWin->SetSdrDrawMode(SdrObjKind::FreehandFill); break;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.