예제 #1
0
void RAttributeEntity::exportEntity(RExporter& e, bool preview) const {
    Q_UNUSED(preview);

    RAttributeData data = getData();

    e.exportPainterPathSource(data);
}
예제 #2
0
void RAttributeEntity::exportEntity(RExporter& e, bool preview, bool forceSelected) const {
    Q_UNUSED(preview);
    Q_UNUSED(forceSelected);

    if (!isInvisible()) {
        if (RSettings::isTextRenderedAsText()) {
            QList<RPainterPath> paths = e.exportText(getData(), forceSelected);
            e.exportPainterPaths(paths);
        }
        else {
            e.exportPainterPathSource(getData());
        }
    }
}
예제 #3
0
void RHatchEntity::exportEntity(RExporter& e, bool preview, bool forceSelected) const {
    Q_UNUSED(preview);
    Q_UNUSED(forceSelected);

    e.exportPainterPathSource(data);
}