[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: koffice/krita/image
From: Dmitry Kazakov <dimula73 () gmail ! com>
Date: 2010-11-07 9:02:54
Message-ID: AANLkTikRvdw7xuwYGM1hxePjyKL96jrRHd9pSfSxjfBO () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Sun, Nov 7, 2010 at 11:57 AM, Boudewijn Rempt <> wrote:
> On Sunday 07 November 2010, Dmitry Kazakov wrote:
> > SVN commit 1193814 by dkazakov:
> >
> > Deprecate KisImage::mergedImage() function
> >
> > It is intended to do a very strange thing (it doesn't guarantee
> > anything, because it can't even lock the image) and its functionality is
> > fully covered by other methods of KisImage. See a comment in the
> > header to get more info.
>
> Is it actually used anywhere at the moment? It's a survival from the good
> old 1.x days when life was simple and everything ran in the gui thread.
>
Yes, there are some places:
krita/plugins/extensions/dockers/defaultdockers/kis_imagerasteredcache.cc:
m_imageProjection = m_image->mergedImage();
krita/plugins/extensions/separate_channels/kis_channel_separator.cc:
src = image->mergedImage();
krita/plugins/paintops/libpaintop/kis_custom_brush_widget.cpp:
KisPaintDeviceSP dev = new KisPaintDevice(*m_image->mergedImage());
krita/plugins/tools/defaulttools/kis_tool_colorpicker.cc: dev =
currentImage()->mergedImage();
krita/plugins/tools/defaulttools/kis_tool_fill.cc:
fillPainter.fillPattern(startX, startY, currentImage()->mergedImage());
krita/plugins/tools/defaulttools/kis_tool_fill.cc:
fillPainter.fillColor(startX, startY, currentImage()->mergedImage());
krita/plugins/tools/selectiontools/kis_tool_select_contiguous.cc:
fillpainter.createFloodSelection(pos.x(), pos.y(),
currentImage()->mergedImage());
krita/ui/kis_custom_pattern.cc: m_pattern = new
KisPattern(image->mergedImage().data(), 0, 0, image->width(),
image->height());
--
Dmitry Kazakov
[Attachment #5 (text/html)]
<br><div class="gmail_quote">On Sun, Nov 7, 2010 at 11:57 AM, Boudewijn Rempt <span \
dir="ltr"><></span> wrote:<br><blockquote class="gmail_quote" style="margin: \
0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> \
<div class="im">On Sunday 07 November 2010, Dmitry Kazakov wrote:<br> > SVN commit \
1193814 by dkazakov:<br> ><br>
> Deprecate KisImage::mergedImage() function<br>
><br>
> It is intended to do a very strange thing (it doesn't guarantee<br>
> anything, because it can't even lock the image) and its functionality is<br>
> fully covered by other methods of KisImage. See a comment in the<br>
> header to get more info.<br>
<br>
</div>Is it actually used anywhere at the moment? It's a survival from the good \
old 1.x days when life was simple and everything ran in the gui thread.<br \
clear="all"></blockquote><div><br>Yes, there are some places:<br>
krita/plugins/extensions/dockers/defaultdockers/kis_imagerasteredcache.cc: \
m_imageProjection = m_image->mergedImage();<br>krita/plugins/extensions/separate_channels/kis_channel_separator.cc: \
src = image->mergedImage();<br>
krita/plugins/paintops/libpaintop/kis_custom_brush_widget.cpp: \
KisPaintDeviceSP dev = new \
KisPaintDevice(*m_image->mergedImage());<br>krita/plugins/tools/defaulttools/kis_tool_colorpicker.cc: \
dev = currentImage()->mergedImage();<br>
krita/plugins/tools/defaulttools/kis_tool_fill.cc: \
fillPainter.fillPattern(startX, startY, \
currentImage()->mergedImage());<br>krita/plugins/tools/defaulttools/kis_tool_fill.cc: \
fillPainter.fillColor(startX, startY, \
currentImage()->mergedImage());<br>
krita/plugins/tools/selectiontools/kis_tool_select_contiguous.cc: \
fillpainter.createFloodSelection(pos.x(), pos.y(), \
currentImage()->mergedImage());<br>krita/ui/kis_custom_pattern.cc: m_pattern \
= new KisPattern(image->mergedImage().data(), 0, 0, image->width(), \
image->height());<br> </div></div><br>-- <br>Dmitry Kazakov<br>
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic