Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit bca0e0cc authored by Blackbeard (alberto flores)'s avatar Blackbeard (alberto flores) 🚢

Add Comments to convert KoShape to QImage

parent 1d858cdf
......@@ -96,6 +96,7 @@ bool KisVectorAnimatedBrush::loadFromDevice(QIODevice *dev)
qDebug() << list.at(i);
}
/* qDebug() << "shapes" << list[0]; */
......@@ -117,7 +118,14 @@ bool KisVectorAnimatedBrush::loadFromDevice(QIODevice *dev)
for (int i = 0; i < 256; ++i) table.push_back(qRgb(i, i, i));
image_ = image_.convertToFormat(QImage::Format_Indexed8, table);
setBrushTipImage(image_);
// setBrushTipImage(image_);
// Blackbeard TODO!!
// KoCanvasControllerWidgetViewport_p.cpp
// KoSvgSymbolCollectionResource.cpp
// KoShapePainter.cpp
// SvgWriter.cpp line 256
// KoMarker.cpp line 99
// setBrushTipImage(list.at(0));
setValid(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment