Fix various typos

Found via `codespell -q 3 -S *.ts,thirdparty, -L appy,ba,chunck,datas,forse,inbetween,inly,inout,pevent,possibile,upto`
This commit is contained in:
luz paz 2021-11-21 14:54:40 -05:00 committed by manongjohn
parent e57d6555cf
commit cd6cb546f3
37 changed files with 83 additions and 83 deletions

View file

@ -1,4 +1,4 @@
Some of code in this repository is derived from thirdparty libralies. Some of code in this repository is derived from thirdparty libraries.
For files in the "thirdparty" directory: Please consult with the licenses in the appropriate READMEs or source codes. For files in the "thirdparty" directory: Please consult with the licenses in the appropriate READMEs or source codes.
For files in the "stuff/library/mypaint brushes" directory: Please see the licenses in stuff/library/mypaint brushes/Licenses.txt. For files in the "stuff/library/mypaint brushes" directory: Please see the licenses in stuff/library/mypaint brushes/Licenses.txt.

View file

@ -1473,7 +1473,7 @@
<item>"STD_iwa_RainbowFx.intensity" "Intensity" </item> <item>"STD_iwa_RainbowFx.intensity" "Intensity" </item>
<item>"STD_iwa_RainbowFx.width_scale" "Width Scale" </item> <item>"STD_iwa_RainbowFx.width_scale" "Width Scale" </item>
<item>"STD_iwa_RainbowFx.inside" "Inside Intensity" </item> <item>"STD_iwa_RainbowFx.inside" "Inside Intensity" </item>
<item>"STD_iwa_RainbowFx.secondary_rainbow" "Secondary Rainbow Intesity" </item> <item>"STD_iwa_RainbowFx.secondary_rainbow" "Secondary Rainbow Intensity" </item>
<item>"STD_iwa_RainbowFx.alpha_rendering" "Alpha Rendering" </item> <item>"STD_iwa_RainbowFx.alpha_rendering" "Alpha Rendering" </item>
<!------------------------------ Tiled Particles Iwa -------------------------------------------> <!------------------------------ Tiled Particles Iwa ------------------------------------------->

View file

@ -48,7 +48,7 @@
### Dependent Libraries ### Dependent Libraries
The attached package is built by using the following libraries / softwares. The attached package is built by using the following libraries/software:
- OpenSSL Toolkit 1.1.1j - OpenSSL Toolkit 1.1.1j
[Binary package from Shining Light Productions](https://slproweb.com/products/Win32OpenSSL.html) [Binary package from Shining Light Productions](https://slproweb.com/products/Win32OpenSSL.html)

View file

@ -885,7 +885,7 @@ rt
<td class=xl6629647 width=474 style='border-top:none;border-left:none; <td class=xl6629647 width=474 style='border-top:none;border-left:none;
width:356pt'>Defines the color at the moment particles are generated.<br> width:356pt'>Defines the color at the moment particles are generated.<br>
When each particle is generated, it is randomly selected from the color range specified in the spectrum.<br> When each particle is generated, it is randomly selected from the color range specified in the spectrum.<br>
If a Control image is connected, the (premultiplyed) RGB values of the image will be used for chosing each particle color.</td> If a Control image is connected, the (premultiplyed) RGB values of the image will be used for choosing each particle color.</td>
<td class=xl7729647 width=103 style='border-top:none;border-left:none; <td class=xl7729647 width=103 style='border-top:none;border-left:none;
width:77pt'>○</td> width:77pt'>○</td>
</tr> </tr>

View file

@ -180,7 +180,7 @@ The complete recognized file structure is as follows:
float radius // Parameter declaration float radius // Parameter declaration
<Default> // Additional Paramater attributes (can be omitted) <Default> // Additional Parameter attributes (can be omitted)
10 // The parameter default 10 // The parameter default
</Default> </Default>
<Range> <Range>

View file

@ -111,7 +111,7 @@ with it.
/*! \fn void TCacheResource::clear() /*! \fn void TCacheResource::clear()
Clears the whole complex. This is an overloaded method equivalent to Clears the whole complex. This is an overloaded method equivalent to
clear(getAvailableRegion()), supplied for convience. clear(getAvailableRegion()), supplied for convenience.
*/ */
//==================================================================================================== //====================================================================================================

View file

@ -19,7 +19,7 @@
//! \n \n //! \n \n
//! For example, suppose that a render must be invoked upon a mousePressEvent, //! For example, suppose that a render must be invoked upon a mousePressEvent,
//! and that such event must have been completely processed before the //! and that such event must have been completely processed before the
//! corrispondant //! correspondent
//! mouseReleaseEvent is invoked - calling the startRendering method *directly* //! mouseReleaseEvent is invoked - calling the startRendering method *directly*
//! by //! by
//! the mousePressEvent may cause the mouseReleaseEvent to be processed before //! the mousePressEvent may cause the mouseReleaseEvent to be processed before

View file

@ -478,7 +478,7 @@ This formule is derived from Graphic Gems pag. 600
e = pixel size e = pixel size
h = step h = step
a = acceleration of curve (for a quadratic is a costant value) a = acceleration of curve (for a quadratic is a constant value)
*/ */
double computeStep(const TQuadratic &quad, double pixelSize) { double computeStep(const TQuadratic &quad, double pixelSize) {

View file

@ -351,7 +351,7 @@ void TLevelReader::define(QString extension, int reader,
TLevelReaderCreateProc *proc) { TLevelReaderCreateProc *proc) {
LevelReaderKey key(extension, reader); LevelReaderKey key(extension, reader);
LevelReaderTable[key] = proc; LevelReaderTable[key] = proc;
// cout << "LevelReader " << extension << " registred" << endl; // cout << "LevelReader " << extension << " registered" << endl;
} }
//----------------------------------------------------------- //-----------------------------------------------------------
@ -360,5 +360,5 @@ void TLevelWriter::define(QString extension, TLevelWriterCreateProc *proc,
bool isRenderFormat) { bool isRenderFormat) {
LevelWriterTable[extension] = LevelWriterTable[extension] =
std::pair<TLevelWriterCreateProc *, bool>(proc, isRenderFormat); std::pair<TLevelWriterCreateProc *, bool>(proc, isRenderFormat);
// cout << "LevelWriter " << extension << " registred" << endl; // cout << "LevelWriter " << extension << " registered" << endl;
} }

View file

@ -41,7 +41,7 @@ namespace {
e = pixel size e = pixel size
h = step h = step
a = acceleration of curve (for a quadratic is a costant value) a = acceleration of curve (for a quadratic is a constant value)
*/ */
double localComputeStep(const TQuadratic &quad, double pixelSize) { double localComputeStep(const TQuadratic &quad, double pixelSize) {
double step = 2; double step = 2;
@ -301,7 +301,7 @@ void splitCircularArcIntoQuadraticCurves(const TPointD &Center,
// 60). // 60).
// It supposes that Pstart and Pend are onto the circumference (so that their // It supposes that Pstart and Pend are onto the circumference (so that their
// lengths // lengths
// are equal to tha radius of the circumference), otherwise the resulting // are equal to the radius of the circumference), otherwise the resulting
// curves could // curves could
// be unpredictable. // be unpredictable.
// The last component in quadCurve[] is an ending void curve // The last component in quadCurve[] is an ending void curve

View file

@ -75,7 +75,7 @@ TPointD getCurvature(TStroke *stroke, double w) {
//=========================================================================== //===========================================================================
// //
// A point along a stroke: ths stroke itself, pos, w,s, crv // A point along a stroke: the stroke itself, pos, w,s, crv
// //
struct StrokePoint { struct StrokePoint {
double w, s; double w, s;
@ -210,7 +210,7 @@ void StrokesIntersection::update(const StrokePointSet &psa,
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// the stroke is a self loop. the last intersection is mirrored before s=0 // the stroke is a self loop. the last intersection is mirrored before s=0
// the first intersection is mirroed after s=length // the first intersection is mirrored after s=length
void StrokesIntersection::wrap(std::vector<double> &is, TStroke *stroke) { void StrokesIntersection::wrap(std::vector<double> &is, TStroke *stroke) {
assert(stroke->isSelfLoop()); assert(stroke->isSelfLoop());
if (!is.empty()) { if (!is.empty()) {

View file

@ -552,11 +552,11 @@ struct TStroke::Imp {
BYTE m_flag; BYTE m_flag;
//! This flag checks if changes occurs and if it is neccessary to update //! This flag checks if changes occurs and if it is necessary to update
//! length. //! length.
bool m_isValidLength; bool m_isValidLength;
//! This flag checks if changes occurs and if it is neccessary to update //! This flag checks if changes occurs and if it is necessary to update
//! outline. //! outline.
bool m_isOutlineValid; bool m_isOutlineValid;

View file

@ -183,7 +183,7 @@ static void splitCircularArcIntoQuadraticCurves(
// 60). // 60).
// It supposes that Pstart and Pend are onto the circumference (so that their // It supposes that Pstart and Pend are onto the circumference (so that their
// lengths // lengths
// are equal to tha radius of the circumference), otherwise the resulting // are equal to the radius of the circumference), otherwise the resulting
// curves could // curves could
// be unpredictable. // be unpredictable.
// The last component in quadCurve[] is an ending void curve // The last component in quadCurve[] is an ending void curve

View file

@ -2605,7 +2605,7 @@ int TVectorImage::areDifferentGroup(UINT index1, bool isRegion1, UINT index2,
//------------------------------------------------------------------- //-------------------------------------------------------------------
/*this method is tricky. /*this method is tricky.
it is not allow to have not-adiacent strokes of same group. it is not allow to have not-adjacent strokes of same group.
but it can happen when you group some already-grouped strokes creating but it can happen when you group some already-grouped strokes creating
sub-groups. sub-groups.
@ -2623,7 +2623,7 @@ after grouping became:
2 2
not allowed! not allowed!
this method moves strokes, so that adiacent strokes have same group. this method moves strokes, so that adjacent strokes have same group.
so after calling rearrangeMultiGroup the vi became: so after calling rearrangeMultiGroup the vi became:
2 2
2 2

View file

@ -179,7 +179,7 @@ static void eraseSmallAngles(std::vector<std::pair<int, double>> &corners,
// output: // output:
// min is the minimum angle greater or equal to minDegree (i.e the minimum angle // min is the minimum angle greater or equal to minDegree (i.e the minimum angle
// of the corners) // of the corners)
// max is tha maximum angle greater or equal to minDegree // max is the maximum angle greater or equal to minDegree
static void detectCorners(const TStroke *stroke, double minDegree, static void detectCorners(const TStroke *stroke, double minDegree,
std::vector<std::pair<int, double>> &corners, std::vector<std::pair<int, double>> &corners,

View file

@ -36,7 +36,7 @@ and for the different curves used (segments, quadratics, cubics)
/*===================================================================== /*=====================================================================
utility macro used to export classes from the dll utility macro used to export classes from the dll
(DVAPI: Digital Video Application Progam Interface) (DVAPI: Digital Video Application Program Interface)
=====================================================================*/ =====================================================================*/
/*===================================================================== /*=====================================================================

View file

@ -90,7 +90,7 @@ Return an image with Reader information
private: private:
bool m_init; bool m_init;
//! struct which contanins reference to frame //! struct which contains reference to frame
std::map<TFrameId, pliFrameInfo> m_mapOfImage; std::map<TFrameId, pliFrameInfo> m_mapOfImage;
//! Reference to pli palette //! Reference to pli palette

View file

@ -514,7 +514,7 @@ static TUINT32 img_seek(IMAGERGB *image, unsigned int y, unsigned int z,
(y * image->xsize + z * image->xsize * image->ysize) * (y * image->xsize + z * image->xsize * image->ysize) *
BPP(image->type)); BPP(image->type));
default: default:
cout << "img_seek: wierd dim" << endl; cout << "img_seek: weird dim" << endl;
break; break;
} }
} else if (ISRLE(image->type)) { } else if (ISRLE(image->type)) {
@ -526,11 +526,11 @@ static TUINT32 img_seek(IMAGERGB *image, unsigned int y, unsigned int z,
case 3: case 3:
return img_optseek(image, offs + image->rowstart[y + z * image->ysize]); return img_optseek(image, offs + image->rowstart[y + z * image->ysize]);
default: default:
cout << "img_seek: wierd dim" << endl; cout << "img_seek: weird dim" << endl;
break; break;
} }
} else } else
cout << "img_seek: wierd image type" << endl; cout << "img_seek: weird image type" << endl;
return 0; return 0;
} }
@ -566,7 +566,7 @@ static int new_getrow(IMAGERGB *image, void *buffer, UINT y, UINT z) {
return image->xsize; return image->xsize;
} }
default: default:
cout << "getrow: wierd bpp" << endl; cout << "getrow: weird bpp" << endl;
break; break;
} }
} else if (ISRLE(image->type)) { } else if (ISRLE(image->type)) {
@ -818,7 +818,7 @@ static int new_putrow(IMAGERGB *image, void *buffer, UINT y, UINT z) {
return image->xsize; return image->xsize;
} }
} else } else
fprintf(stderr, "putrow: wierd image type\n"); fprintf(stderr, "putrow: weird image type\n");
return -1; return -1;
} }

View file

@ -1049,7 +1049,7 @@ void TifWriter::writeLine(char *buffer) {
//============================================================ //============================================================
#ifdef _DEBUG #ifdef _DEBUG
/* Error & Waring Handler per debug */ /* Error & Warning Handler per debug */
extern "C" { extern "C" {
static void MyWarningHandler(const char *module, const char *fmt, va_list ap) { static void MyWarningHandler(const char *module, const char *fmt, va_list ap) {

View file

@ -425,7 +425,7 @@ void Iwa_FractalNoiseFx::doCompute(TTile &tile, double frame,
work_buf_ras->unlock(); work_buf_ras->unlock();
// finalize pattern (coverting the color space) // finalize pattern (converting the color space)
if (param.fractalType == TurbulentSmooth || if (param.fractalType == TurbulentSmooth ||
param.fractalType == TurbulentBasic || param.fractalType == TurbulentBasic ||
param.fractalType == TurbulentSharp) { param.fractalType == TurbulentSharp) {
@ -605,7 +605,7 @@ void Iwa_FractalNoiseFx::convert(double *buf, const FNParam &param) {
*buf = std::abs(*buf - 0.5) * 1.96; *buf = std::abs(*buf - 0.5) * 1.96;
break; break;
case Rocky: case Rocky:
// convertion LUT for the range from 0.43 to 0.57, every 0.01 // conversion LUT for the range from 0.43 to 0.57, every 0.01
static double table[15] = { static double table[15] = {
0.25, 0.256658635, 0.275550218, 0.30569519, 0.345275591, 0.25, 0.256658635, 0.275550218, 0.30569519, 0.345275591,
0.392513494, 0.440512, 0.5, 0.555085147, 0.607486506, 0.392513494, 0.440512, 0.5, 0.555085147, 0.607486506,
@ -658,7 +658,7 @@ void Iwa_FractalNoiseFx::composite(double *out, double *buf,
} }
//------------------------------------------------------------------ //------------------------------------------------------------------
// finalize pattern (coverting the color space) // finalize pattern (converting the color space)
void Iwa_FractalNoiseFx::finalize(double *out, const FNParam &param) { void Iwa_FractalNoiseFx::finalize(double *out, const FNParam &param) {
assert(param.fractalType == TurbulentSmooth || assert(param.fractalType == TurbulentSmooth ||
param.fractalType == TurbulentBasic || param.fractalType == TurbulentBasic ||

View file

@ -57,60 +57,60 @@ class Iwa_FractalNoiseFx final : public TStandardZeraryFx {
}; };
protected: protected:
// Fractal Type フラクタルの種類 // Fractal Type <EFBFBD>t<EFBFBD><EFBFBD><EFBFBD>N<EFBFBD>^<5E><><EFBFBD>̎<EFBFBD><CC8E>
TIntEnumParamP m_fractalType; TIntEnumParamP m_fractalType;
// Noise Type ノイズの種類 // Noise Type <EFBFBD>m<EFBFBD>C<EFBFBD>Y<EFBFBD>̎<EFBFBD><EFBFBD>
TIntEnumParamP m_noiseType; TIntEnumParamP m_noiseType;
// Invert 反転 // Invert <EFBFBD><EFBFBD><EFBFBD>]
TBoolParamP m_invert; TBoolParamP m_invert;
/// Contrast コントラスト /// Contrast <EFBFBD>R<EFBFBD><EFBFBD><EFBFBD>g<EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>g
/// Brightness 明るさ /// Brightness <EFBFBD><EFBFBD><EFBFBD>
/// Overflow オーバーフロー /// Overflow <EFBFBD>I<EFBFBD>[<5B>o<EFBFBD>[<5B>t<EFBFBD><74><EFBFBD>[
//- - - Transform トランスフォーム - - - //- - - Transform <EFBFBD>g<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>t<EFBFBD>H<EFBFBD>[<5B><> - - -
// Rotation 回転 // Rotation <EFBFBD><EFBFBD>]
TDoubleParamP m_rotation; TDoubleParamP m_rotation;
// Uniform Scaling 縦横比を固定 // Uniform Scaling<EFBFBD>@<40>c<EFBFBD><63><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Œ<EFBFBD>
TBoolParamP m_uniformScaling; TBoolParamP m_uniformScaling;
// Scale スケール // Scale <EFBFBD>X<EFBFBD>P<EFBFBD>[<5B><>
TDoubleParamP m_scale; TDoubleParamP m_scale;
// Scale Width スケールの幅 // Scale Width <EFBFBD>X<EFBFBD>P<EFBFBD>[<5B><><EFBFBD>̕<EFBFBD>
TDoubleParamP m_scaleW; TDoubleParamP m_scaleW;
// Scale Height スケールの高さ // Scale Height <EFBFBD>X<EFBFBD>P<EFBFBD>[<5B><><EFBFBD>̍<EFBFBD><CC8D><EFBFBD>
TDoubleParamP m_scaleH; TDoubleParamP m_scaleH;
// Offset Turbulence 乱気流のオフセット // Offset Turbulence <EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><EFBFBD><EFBFBD>̃I<EFBFBD>t<EFBFBD>Z<EFBFBD>b<EFBFBD>g
TPointParamP m_offsetTurbulence; TPointParamP m_offsetTurbulence;
// Perspective Offset 遠近オフセット // Perspective Offset <EFBFBD><EFBFBD><EFBFBD>߃I<EFBFBD>t<EFBFBD>Z<EFBFBD>b<EFBFBD>g
TBoolParamP m_perspectiveOffset; TBoolParamP m_perspectiveOffset;
// Complexity 複雑度 // Complexity <EFBFBD><EFBFBD><EFBFBD>G<EFBFBD>x
TDoubleParamP m_complexity; TDoubleParamP m_complexity;
//- - - Sub Settings サブ設定 - - - //- - - Sub Settings <EFBFBD>T<EFBFBD>u<EFBFBD>ݒ<EFBFBD> - - -
// Sub Influence サブ影響(%) // Sub Influence <EFBFBD>T<EFBFBD>u<EFBFBD>e<EFBFBD><EFBFBD><EFBFBD>i<EFBFBD><EFBFBD><EFBFBD>j
TDoubleParamP m_subInfluence; TDoubleParamP m_subInfluence;
// Sub Scaling サブスケール // Sub Scaling<EFBFBD>@<40>T<EFBFBD>u<EFBFBD>X<EFBFBD>P<EFBFBD>[<5B><>
TDoubleParamP m_subScaling; TDoubleParamP m_subScaling;
// Sub Rotation サブ回転 // Sub Rotation <EFBFBD>T<EFBFBD>u<EFBFBD><EFBFBD>]
TDoubleParamP m_subRotation; TDoubleParamP m_subRotation;
// Sub Offset サブのオフセット // Sub Offset <EFBFBD>T<EFBFBD>u<EFBFBD>̃I<EFBFBD>t<EFBFBD>Z<EFBFBD>b<EFBFBD>g
TPointParamP m_subOffset; TPointParamP m_subOffset;
// Center Subscale サブスケールを中心 // Center Subscale <EFBFBD>T<EFBFBD>u<EFBFBD>X<EFBFBD>P<EFBFBD>[<5B><><EFBFBD>𒆐S
/// TBoolParamP m_centerSubscale; /// TBoolParamP m_centerSubscale;
// Evolution 展開 // Evolution <EFBFBD>W<EFBFBD>J
TDoubleParamP m_evolution; TDoubleParamP m_evolution;
//- - - Evolution Options 展開のオプション - - - //- - - Evolution Options <EFBFBD>W<EFBFBD>J<EFBFBD>̃I<EFBFBD>v<EFBFBD>V<EFBFBD><EFBFBD><EFBFBD><EFBFBD> - - -
// Cycle Evolution サイクル展開 // Cycle Evolution <EFBFBD>T<EFBFBD>C<EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>J
TBoolParamP m_cycleEvolution; TBoolParamP m_cycleEvolution;
// Cycle (in Evolution) サイクル(周期) // Cycle (in Evolution) <EFBFBD>T<EFBFBD>C<EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>i<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>j
TDoubleParamP m_cycleEvolutionRange; TDoubleParamP m_cycleEvolutionRange;
/// Random Seed ランダムシード /// Random Seed <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><EFBFBD><EFBFBD>V<EFBFBD>[<5B>h
/// Opacity 不透明度 /// Opacity <EFBFBD>s<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>x
/// Blending Mode 描画モード /// Blending Mode <EFBFBD>`<60><EFBFBD>[<5B>h
// ダイナミックの度合い // <EFBFBD>_<EFBFBD>C<EFBFBD>i<EFBFBD>~<7E>b<EFBFBD>N<EFBFBD>̓x<CC93><78><EFBFBD><EFBFBD>
TDoubleParamP m_dynamicIntensity; TDoubleParamP m_dynamicIntensity;
//- - - Conical Noise - - - //- - - Conical Noise - - -
@ -149,7 +149,7 @@ public:
// composite the base noise pattern // composite the base noise pattern
void composite(double *out, double *buf, const double influence, void composite(double *out, double *buf, const double influence,
const FNParam &param); const FNParam &param);
// finalize pattern (coverting the color space) // finalize pattern (converting the color space)
void finalize(double *out, const FNParam &param); void finalize(double *out, const FNParam &param);
}; };

View file

@ -56,7 +56,7 @@ sufficiently
<I> colors recognition, <I> colors recognition,
colors adjustment, despeckling <\I> and \a antialiasing-related effects. colors adjustment, despeckling <\I> and \a antialiasing-related effects.
\note This class also acts as a wrapper to CleanupParamaters' palette, attaching \note This class also acts as a wrapper to CleanupParameters' palette, attaching
to the to the
"current cleanup palette handle" accessible through the "current cleanup palette handle" accessible through the
TPaletteController. TPaletteController.

View file

@ -663,7 +663,7 @@ void ImageViewer::paintGL() {
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
/*! Add to current transformation matrix a \b delta traslation. /*! Add to current transformation matrix a \b delta translation.
*/ */
void ImageViewer::panQt(const QPoint &delta) { void ImageViewer::panQt(const QPoint &delta) {
if (delta == QPoint()) return; if (delta == QPoint()) return;
@ -695,7 +695,7 @@ void ImageViewer::panQt(const QPoint &delta) {
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
/*! Add to current transformation matrix a \b center traslation matched with a /*! Add to current transformation matrix a \b center translation matched with a
scale of factor \b factor. Apply a zoom of factor \b factor with scale of factor \b factor. Apply a zoom of factor \b factor with
center center
\b center. \b center.

View file

@ -39,7 +39,7 @@ class ImageViewer final : public GLWidgetForHighDpi {
FlipBook *m_flipbook; FlipBook *m_flipbook;
TPoint m_pressedMousePos; TPoint m_pressedMousePos;
// Modifying rect-picking positon offset for vector image. // Modifying rect-picking position offset for vector image.
// For unknown reasons, glReadPixels is covering the entire window not the // For unknown reasons, glReadPixels is covering the entire window not the
// OpenGL widget. // OpenGL widget.
TPointD m_winPosMousePosOffset; TPointD m_winPosMousePosOffset;

View file

@ -1070,7 +1070,7 @@ void PreviewFxInstance::doOnRenderRasterCompleted(
/*-- 16bpcで計算された場合、結果をDitheringする --*/ /*-- 16bpcで計算された場合、結果をDitheringする --*/
TRasterP rasA = renderData.m_rasA; TRasterP rasA = renderData.m_rasA;
TRasterP rasB = renderData.m_rasB; TRasterP rasB = renderData.m_rasB;
// dither the 16bpc image IF the "30bit display" prefernce option is OFF // dither the 16bpc image IF the "30bit display" preference option is OFF
if (rasA->getPixelSize() == 8 && if (rasA->getPixelSize() == 8 &&
!Preferences::instance()->is30bitDisplayEnabled()) // render in 64 bits !Preferences::instance()->is30bitDisplayEnabled()) // render in 64 bits
{ {

View file

@ -26,7 +26,7 @@ using namespace TVER;
#include <arpa/inet.h> // inet_ntoa #include <arpa/inet.h> // inet_ntoa
#else #else
// these were included for OSX, i'm not sure if they are required for linux or // these were included for OSX, i'm not sure if they are required for linux or
// not? leaving them in as linux was building sucessfully already. damies13 - // not? leaving them in as linux was building successfully already. damies13 -
// 2017-04-15. // 2017-04-15.
#include <netdb.h> // gethostbyname #include <netdb.h> // gethostbyname
#include <arpa/inet.h> // inet_ntoa #include <arpa/inet.h> // inet_ntoa

View file

@ -206,7 +206,7 @@ void getValue(QSettings &settings,
(*it).m_options.m_premultiply == true) { (*it).m_options.m_premultiply == true) {
LevelOptions defaultValue; LevelOptions defaultValue;
defaultValue.m_premultiply = true; defaultValue.m_premultiply = true;
// if other parameters are the same as deafault, just erase the item // if other parameters are the same as default, just erase the item
if ((*it).m_options == defaultValue) it = lfv.erase(it); if ((*it).m_options == defaultValue) it = lfv.erase(it);
// if there are some adjustments by user, then disable only premultiply // if there are some adjustments by user, then disable only premultiply
// option // option

View file

@ -1088,7 +1088,7 @@ PlacedFx FxBuilder::makePFfromUnaryFx(TFx *fx) {
GlobalControllableFx *gcFx = dynamic_cast<GlobalControllableFx *>(fx); GlobalControllableFx *gcFx = dynamic_cast<GlobalControllableFx *>(fx);
double val = gcFx->getGrobalControlValue(m_frame); double val = gcFx->getGrobalControlValue(m_frame);
if (val < 1.0) { if (val < 1.0) {
// insert cross disolve fx and mix with the input fx // insert cross dissolve fx and mix with the input fx
TFxP blendFx = TFx::create("blendFx"); TFxP blendFx = TFx::create("blendFx");
blendFx->connect("Source1", fx); blendFx->connect("Source1", fx);
blendFx->connect("Source2", inputFx); blendFx->connect("Source2", inputFx);
@ -1183,12 +1183,12 @@ PlacedFx FxBuilder::makePFfromGenericFx(TFx *fx) {
if (val < 1.0) { if (val < 1.0) {
TFxP inputFx = fx->getInputPort(fx->getPreferredInputPort())->getFx(); TFxP inputFx = fx->getInputPort(fx->getPreferredInputPort())->getFx();
if (!inputFx) return pf; if (!inputFx) return pf;
// insert cross disolve fx and mix with the input fx // insert cross dissolve fx and mix with the input fx
TFxP blendFx = TFx::create("blendFx"); TFxP blendFx = TFx::create("blendFx");
blendFx->connect("Source1", fx); blendFx->connect("Source1", fx);
blendFx->connect("Source2", inputFx.getPointer()); blendFx->connect("Source2", inputFx.getPointer());
m_globalControlledFx.insert(fx->getFxId(), {blendFx, true}); m_globalControlledFx.insert(fx->getFxId(), {blendFx, true});
// set the global intensity value to the cross disolve fx // set the global intensity value to the cross dissolve fx
dynamic_cast<TDoubleParam *>(blendFx->getParams()->getParam("value")) dynamic_cast<TDoubleParam *>(blendFx->getParams()->getParam("value"))
->setDefaultValue(val * 100.0); ->setDefaultValue(val * 100.0);
return makePF(blendFx.getPointer()); return makePF(blendFx.getPointer());

View file

@ -801,7 +801,7 @@ public:
It is possible to handle more than one project root. It is possible to handle more than one project root.
The class maintains a container this purpose. All the projects roots The class maintains a container this purpose. All the projects roots
must be set by hand in the windows registery. By default, only one project must be set by hand in the windows registry. By default, only one project
root is created when toonz is installed.\n The project root container can be root is created when toonz is installed.\n The project root container can be
updated using addProjectsRoot(const TFilePath &root), updated using addProjectsRoot(const TFilePath &root),
addDefaultProjectsRoot() methods. addDefaultProjectsRoot() methods.

View file

@ -425,7 +425,7 @@ public:
return param; return param;
// in case the parameter has ui label // in case the parameter has ui label
// ( paramters of plugin fxs and intensity of GlobalControllableFx) // ( parameters of plugin fxs and intensity of GlobalControllableFx)
if (param->hasUILabel()) { if (param->hasUILabel()) {
paramName = param->getUILabel(); paramName = param->getUILabel();
int i = paramName.find_first_of(" -"); int i = paramName.find_first_of(" -");

View file

@ -19,7 +19,7 @@ Darken Ino\medskip
\normalsize \normalsize
Darkens the image.\par Darkens the image.\par
Makes the resulting image color darker by comparing the Fore and Back RGB values\par Makes the resulting image color darker by comparing the Fore and Back RGB values\par
and chosing the smaller ones (Performed separately on each channel).\\ and choosing the smaller ones (Performed separately on each channel).\\
\\ \\
-{-}- \ Inputs \ -{-}-\par -{-}- \ Inputs \ -{-}-\par
When both input ports are connected, they will be combined in the process.\par When both input ports are connected, they will be combined in the process.\par

View file

@ -19,7 +19,7 @@ Darker Color Ino\medskip
\normalsize \normalsize
Darkens the image.\par Darkens the image.\par
Makes the resulting image color darker by comparing the Fore and Back RGB\par Makes the resulting image color darker by comparing the Fore and Back RGB\par
luminance values and chosing the smaller one.\\ luminance values and choosing the smaller one.\\
\\ \\
-{-}- \ Inputs \ -{-}-\par -{-}- \ Inputs \ -{-}-\par
When both input ports are connected, they will be combined in the process.\par When both input ports are connected, they will be combined in the process.\par

View file

@ -64,7 +64,7 @@ The default value is 1.
\ \vspace{-0.2em} \ \vspace{-0.2em}
\par \par
\noindent Power\par \noindent Power\par
Changes the intesity of the light.\par Changes the intensity of the light.\par
Specify a value in the range 0 to 1.\par Specify a value in the range 0 to 1.\par
It is possible to specify values above 1.0, up to a maximum 2.0, to emphasize the\par It is possible to specify values above 1.0, up to a maximum 2.0, to emphasize the\par
light.\par light.\par

View file

@ -24,7 +24,7 @@ Level Auto Ino\medskip
Spread the brightness range of the picture.\\ Spread the brightness range of the picture.\\
\par \par
It performs an automatic level correction, useful for increasing the image\par It performs an automatic level correction, useful for increasing the image\par
brightness and constrast.\\ brightness and contrast.\\
\par \par
Based on the brightest and darkest values of the input image, the brightness\par Based on the brightest and darkest values of the input image, the brightness\par
range is expanded to the darkest (Out Min) and brightest (Out Max) values.\par range is expanded to the darkest (Out Min) and brightest (Out Max) values.\par

View file

@ -19,7 +19,7 @@ Lighter Color Ino\medskip
\normalsize \normalsize
Lightens the image.\par Lightens the image.\par
Makes the resulting image color brighter by comparing the Fore and Back RGB\par Makes the resulting image color brighter by comparing the Fore and Back RGB\par
luminance values and chosing the bigger one.\\ luminance values and choosing the bigger one.\\
\\ \\
-{-}- \ Inputs \ -{-}-\par -{-}- \ Inputs \ -{-}-\par
When both input ports are connected, they will be combined in the process.\par When both input ports are connected, they will be combined in the process.\par

View file

@ -76,13 +76,13 @@ When Scale is 0, blur will not be applied.\par
The default value is 1, which will apply no scaling.\\ The default value is 1, which will apply no scaling.\\
\\ \\
Curve\par Curve\par
Allows to adjust the blur strenght.\par Allows to adjust the blur strength.\par
With a value between 1.0 and 10.0, blur will become stronger.\par With a value between 1.0 and 10.0, blur will become stronger.\par
With a value between 0.1 and 1.0, blur will become lighter.\par With a value between 0.1 and 1.0, blur will become lighter.\par
The default value is 1, which will produce an linear attenuation.\\ The default value is 1, which will produce an linear attenuation.\\
\\ \\
Afterimage Length\par Afterimage Length\par
Specify the lenght of the afterimage effect.\par Specify the length of the afterimage effect.\par
The unit is millimeters.\par The unit is millimeters.\par
Specify a value greater than or equal to 0.\par Specify a value greater than or equal to 0.\par
For example, to create an afterimage for a line with a width of 3,\par For example, to create an afterimage for a line with a width of 3,\par

View file

@ -63,7 +63,7 @@ Specify the length of the motion lines.\par
The unit is millimeters.\par The unit is millimeters.\par
Specify a value in the range from 0 to 1000.\par Specify a value in the range from 0 to 1000.\par
Decimal places are also taken into account, for subtle changes in the length.\par Decimal places are also taken into account, for subtle changes in the length.\par
If Min and Max are different, the lenght of each motion line will be random, between\par If Min and Max are different, the length of each motion line will be random, between\par
those values. those values.
\newpage \newpage
@ -72,7 +72,7 @@ those values.
\ \vspace{-0.2em} \ \vspace{-0.2em}
\par \par
When Min and Max are the same, all motion lines will have the same lenght.\par When Min and Max are the same, all motion lines will have the same length.\par
The default value for Min is 0, and Max is 8.573.\par The default value for Min is 0, and Max is 8.573.\par
-{-}> See \textquotedbl Figure 1:\ \ Length Wind\textquotedbl \ .\par -{-}> See \textquotedbl Figure 1:\ \ Length Wind\textquotedbl \ .\par
-{-}> See \textquotedbl Figure 4:\ \ Force is 1 and Density is 1\textquotedbl \ .\par -{-}> See \textquotedbl Figure 4:\ \ Force is 1 and Density is 1\textquotedbl \ .\par
@ -172,7 +172,7 @@ Using different values will produce different patterns for each parameter.\\
To fix a random pattern when the camera is moving:\par To fix a random pattern when the camera is moving:\par
When moving the camera over a background image, the random pattern changes\par When moving the camera over a background image, the random pattern changes\par
on each frame according to the change of the picture.\par on each frame according to the change of the picture.\par
To fix the pattern the entire backgroung image must be processed.\\ To fix the pattern the entire background image must be processed.\\
-{-}-{-}-{-}\\ -{-}-{-}-{-}\\
\\ \\
Length Ref\par Length Ref\par