[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2008-08-21 9:32:56
Message-ID: 1219311176.873152.15507.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 850329 by rempt:
Add newlines.
M +1 -1 image/kis_autogradient_resource.cc
M +2 -2 plugins/paintops/chalk/kis_chalkpaintop.cpp
M +1 -1 plugins/paintops/filterop/kis_filterop_settings.cpp
M +1 -1 plugins/paintops/libpaintop/kis_brush_selection_widget.cpp
M +1 -1 plugins/paintops/libpaintop/kis_pressure_size_option.cpp
M +8 -8 plugins/paintops/sumie/brush_shape.cpp
M +1 -1 ui/widgets/kis_paintop_presets_popup.cpp
M +1 -1 ui/widgets/kis_preset_chooser.cpp
--- trunk/koffice/krita/image/kis_autogradient_resource.cc #850328:850329
@@ -216,4 +216,4 @@
if( m_segments.count() < 2 )
return false;
return true;
-}
\ No newline at end of file
+}
--- trunk/koffice/krita/plugins/paintops/chalk/kis_chalkpaintop.cpp #850328:850329
@@ -73,7 +73,7 @@
if ( newStrokeFlag ) {
newStrokeFlag = false;
} else
- {
+ {
dab = cachedDab( );
dab->clear();
@@ -87,4 +87,4 @@
QRect rc = dab->extent();
painter()->bitBlt( rc.topLeft(), dab, rc );
}
-}
\ No newline at end of file
+}
--- trunk/koffice/krita/plugins/paintops/filterop/kis_filterop_settings.cpp #850328:850329
@@ -194,4 +194,4 @@
rootElt.setAttribute( "IgnoreAlpha", QString::number( ignoreAlpha() ) );
}
-#include "kis_filterop_settings.moc"
\ No newline at end of file
+#include "kis_filterop_settings.moc"
--- trunk/koffice/krita/plugins/paintops/libpaintop/kis_brush_selection_widget.cpp #850328:850329
@@ -97,4 +97,4 @@
KisBrush * KisBrushSelectionWidget::brush()
{
return m_activeBrush;
-}
\ No newline at end of file
+}
--- trunk/koffice/krita/plugins/paintops/libpaintop/kis_pressure_size_option.cpp #850328:850329
@@ -51,4 +51,4 @@
}
return adjustedInfo;
-}
\ No newline at end of file
+}
--- trunk/koffice/krita/plugins/paintops/sumie/brush_shape.cpp #850328:850329
@@ -42,16 +42,16 @@
m_width = m_height = radius * 2 + 1;
int gaussLength = (int)(m_width*m_width);
//int center = (edgeSize - 1) / 2;
-
+
float sigmaSquare = - 2.0 * sigma * sigma;
float sigmaConst = 1.0 / (2.0 * PI * sigma * sigma);
-
+
float total = 0;
float length = 0;
int p = 0;
-
+
for (int y=-radius;y<=radius;y++){
for (int x=-radius;x<=radius;x++){
length = (exp( (x*x + y*y) / sigmaSquare ) * sigmaConst);
@@ -67,8 +67,8 @@
float minLen = m_bristles[0].length();
float maxLen = m_bristles[gaussLength/2].length();
float dist = maxLen - minLen;
-
- // normalise lengths
+
+ // normalise lengths
float result;
int i = 0;
@@ -108,9 +108,9 @@
float maxLen = m_bristles[gaussLength/2].length();
float dist = maxLen - minLen;
- // normalise lengths
+ // normalise lengths
float result;
-
+
for (int x=0;x<m_width;x++)
{
result = (m_bristles[x].length() - minLen ) / dist;
@@ -144,4 +144,4 @@
m_bristles.remove(i);
}
}
-}
\ No newline at end of file
+}
--- trunk/koffice/krita/ui/widgets/kis_paintop_presets_popup.cpp #850328:850329
@@ -84,4 +84,4 @@
m_d->layout->update();
widget->show();
-}
\ No newline at end of file
+}
--- trunk/koffice/krita/ui/widgets/kis_preset_chooser.cpp #850328:850329
@@ -44,4 +44,4 @@
parent()->findChild<QLabel*>("lblName")->setText(preset->name());
}
}
-}
\ No newline at end of file
+}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic