fix various typos

Found via `codespell -q 3 -S *.ts,thirdparty, -L appy,ba,inbetween,inout,pevent,possibile,upto`
This commit is contained in:
luz paz 2021-07-07 21:39:28 -04:00 committed by manongjohn
parent 286db52495
commit 35e409e926
238 changed files with 423 additions and 423 deletions

View file

@ -112,7 +112,7 @@ Until then we just follow the Win32/OSX layout.
The `~/.config/Tahoma2D/` directory contains your settings, work and other files. The `~/.config/Tahoma2D/` directory contains your settings, work and other files.
Initialize this path with the folling commands: Initialize this path with the following commands:
``` ```
$ mkdir -p $HOME/.config/Tahoma2D $ mkdir -p $HOME/.config/Tahoma2D

View file

@ -204,7 +204,7 @@ int node_destroy(toonz::node_handle_t node)
int can_handle(toonz_node_handle_t node, const toonz_rendering_setting_t *rs, double frame) int can_handle(toonz_node_handle_t node, const toonz_rendering_setting_t *rs, double frame)
{ {
printf("%s:\n", __FUNCTION__); printf("%s:\n", __FUNCTION__);
/* geometric plugin のように Bounding Box が自明の場合、 Skew などの変換の影響でフルスクリーン効果のような大きな Bouding Box が /* geometric plugin のように Bounding Box が自明の場合、 Skew などの変換の影響でフルスクリーン効果のような大きな Bounding Box が
. . . .
*/ */
return 1; /* non zero is 'true' */ return 1; /* non zero is 'true' */

View file

@ -200,7 +200,7 @@ int node_destroy(toonz::node_handle_t node)
int can_handle(toonz_node_handle_t node, const toonz_rendering_setting_t *rs, double frame) int can_handle(toonz_node_handle_t node, const toonz_rendering_setting_t *rs, double frame)
{ {
printf("%s:\n", __FUNCTION__); printf("%s:\n", __FUNCTION__);
/* geometric plugin のように Bounding Box が自明の場合、 Skew などの変換の影響でフルスクリーン効果のような大きな Bouding Box が /* geometric plugin のように Bounding Box が自明の場合、 Skew などの変換の影響でフルスクリーン効果のような大きな Bounding Box が
. . . .
*/ */
return 1; /* non zero is 'true' */ return 1; /* non zero is 'true' */

View file

@ -32,7 +32,7 @@ be placed outside the camera.
<LI><b>Left Quantity</b> : Specify the number of repetitions to the left.<br> <LI><b>Left Quantity</b> : Specify the number of repetitions to the left.<br>
"No Tile"&nbsp&nbspIt will not repeat the tiles.<br> "No Tile"&nbsp&nbspIt will not repeat the tiles.<br>
"1 Tile"&nbsp&nbsp&nbspIt will repeat the image only 1 time.<br> "1 Tile"&nbsp&nbsp&nbspIt will repeat the image only 1 time.<br>
"Mutiple Tiles"&nbspIt will repeat the image indefinitely within the specified range. "Multiple Tiles"&nbspIt will repeat the image indefinitely within the specified range.
</LI> </LI>
<LI><b>Right Quantity</b> : Specify the number of repetitions to the right. (See Left Quantity).</LI> <LI><b>Right Quantity</b> : Specify the number of repetitions to the right. (See Left Quantity).</LI>
<LI><b>Mirror Horizontally</b> : When active, tiles arranged in the horizontal direction will be flipped<br> <LI><b>Mirror Horizontally</b> : When active, tiles arranged in the horizontal direction will be flipped<br>

View file

@ -33,7 +33,7 @@ En otras palabras, las repeticiones se ubicarán por fuera del encuadre de la c
<LI><b>Left Quantity (Cantidad izquierda)</b> : La cantidad de repeticiones hacia la izquierda.<br> <LI><b>Left Quantity (Cantidad izquierda)</b> : La cantidad de repeticiones hacia la izquierda.<br>
"No Tile" (No repetir)&nbsp&nbspNo habrá repeticiones en esta dirección.<br> "No Tile" (No repetir)&nbsp&nbspNo habrá repeticiones en esta dirección.<br>
"1 Tile" (1 repetición)&nbsp&nbsp&nbspRepetirá la imagen una sola vez en esta dirección.<br> "1 Tile" (1 repetición)&nbsp&nbsp&nbspRepetirá la imagen una sola vez en esta dirección.<br>
"Mutiple Tiles" (Múltiples repeticiones)&nbspRepetirá la imagen indefinidamente en esta dirección. "Multiple Tiles" (Múltiples repeticiones)&nbspRepetirá la imagen indefinidamente en esta dirección.
</LI> </LI>
<LI><b>Right Quantity (Cantidad derecha)</b> : La cantidad de repeticiones hacia la derecha. (ver Left Quantity).</LI> <LI><b>Right Quantity (Cantidad derecha)</b> : La cantidad de repeticiones hacia la derecha. (ver Left Quantity).</LI>
<LI><b>Mirror Horizontally (Espejar horizontalmente)</b> : Al estar activada, las repeticiones en esta dirección<br> <LI><b>Mirror Horizontally (Espejar horizontalmente)</b> : Al estar activada, las repeticiones en esta dirección<br>

View file

@ -29,7 +29,7 @@ Toonz既存の「TileFx」の機能を以下の点で強化したものです。
<LI><b>Left Quantity</b> : 左側に繰り返す回数を指定します。<br> <LI><b>Left Quantity</b> : 左側に繰り返す回数を指定します。<br>
"No Tile"&nbsp&nbsp繰り返しません。<br> "No Tile"&nbsp&nbsp繰り返しません。<br>
"1 Tile"&nbsp&nbsp&nbsp1枚だけ繰り返します。<br> "1 Tile"&nbsp&nbsp&nbsp1枚だけ繰り返します。<br>
"Mutiple Tiles"&nbsp必要な範囲内で無限に繰り返します。 "Multiple Tiles"&nbsp必要な範囲内で無限に繰り返します。
</LI> </LI>
<LI><b>Right Quantity</b> : 右側に繰り返す回数を指定します。Left Quantityを参照</LI> <LI><b>Right Quantity</b> : 右側に繰り返す回数を指定します。Left Quantityを参照</LI>
<LI><b>Mirror Horizontally</b> : ONのとき、水平方向に並ぶタイルが、1枚おきに左右反転されるようになります。</LI> <LI><b>Mirror Horizontally</b> : ONのとき、水平方向に並ぶタイルが、1枚おきに左右反転されるようになります。</LI>

View file

@ -8,7 +8,7 @@ what you want with it.
If you accept this license, a new brush group named 'deevad-v6' will If you accept this license, a new brush group named 'deevad-v6' will
be created. More infos on the brushes on my blog, or my deviant-art be created. More infos on the brushes on my blog, or my deviant-art
account , under the ressources category. account , under the resources category.
Released in end october 2012 Released in end october 2012

View file

@ -254,7 +254,7 @@ and more.
Fx writers may want to explicitly specify a parameter concept Fx writers may want to explicitly specify a parameter concept
for the following reasons: for the following reasons:
a. Impose a measure to the parameter (e.g. degress, inches, %) a. Impose a measure to the parameter (e.g. degrees, inches, %)
b. Make the parameter editable in camera-stand b. Make the parameter editable in camera-stand

View file

@ -1103,7 +1103,7 @@ void TColorUtils::buildColorChipPalette(QList<QPair<TPixel32, TPoint>> &palette,
edgePoints.at(corners[EdgePoint::LeftLower]).pos); edgePoints.at(corners[EdgePoint::LeftLower]).pos);
if (chip.validate(raster, step)) colorChips.append(chip); if (chip.validate(raster, step)) colorChips.append(chip);
// remove the coner information from the corner point // remove the corner information from the corner point
QMap<EdgePoint::QUADRANT, int>::const_iterator i = corners.constBegin(); QMap<EdgePoint::QUADRANT, int>::const_iterator i = corners.constBegin();
while (i != corners.constEnd()) { while (i != corners.constEnd()) {
edgePoints[i.value()].info &= ~i.key(); edgePoints[i.value()].info &= ~i.key();

View file

@ -331,7 +331,7 @@ public:
//========================================================= //=========================================================
// //
// varaible manager (singleton) // variable manager (singleton)
// //
//========================================================= //=========================================================

View file

@ -824,7 +824,7 @@ void TImageCache::Imp::doCompress() {
assert(uitem); assert(uitem);
item->m_cantCompress = true; item->m_cantCompress = true;
CacheItemP newItem = new CompressedOnMemoryCacheItem( CacheItemP newItem = new CompressedOnMemoryCacheItem(
item->getImage()); // WARNING the codec buffer allocation can CHANGE item->getImage()); // WARNING the codec buffer allocation can CHANGE
// the cache. // the cache.
item->m_cantCompress = false; item->m_cantCompress = false;
if (newItem->getSize() == if (newItem->getSize() ==
@ -838,7 +838,7 @@ void TImageCache::Imp::doCompress() {
m_compressedItems[id] = newItem; m_compressedItems[id] = newItem;
item = CacheItemP(); item = CacheItemP();
uitem = UncompressedOnMemoryCacheItemP(); uitem = UncompressedOnMemoryCacheItemP();
// doCompress();//restart, since interators can have been changed (see // doCompress();//restart, since iterators could have been changed (see
// comment above) // comment above)
// return; // return;
itu = m_itemHistory.begin(); itu = m_itemHistory.begin();
@ -1921,13 +1921,13 @@ void TImageCache::Imp::outputMap(UINT chunkRequested, std::string filename) {
"\n"; "\n";
// os<<"***bigmem available" + // os<<"***bigmem available" +
// std::to_string((int)TBigMemoryManager::instance()->getAvailableMemoryinKb()); // std::to_string((int)TBigMemoryManager::instance()->getAvailableMemoryinKb());
os << "***uncompressed NOT compressable(refcount>1) " + os << "***uncompressed NOT compressible(refcount>1) " +
std::to_string(umcount1) + " " + std::to_string(umsize1 / 1024.0) + std::to_string(umcount1) + " " + std::to_string(umsize1 / 1024.0) +
" MB\n"; " MB\n";
os << "***uncompressed NOT compressable(cantCompress) " + os << "***uncompressed NOT compressible(cantCompress) " +
std::to_string(umcount2) + " " + std::to_string(umsize2 / 1024.0) + std::to_string(umcount2) + " " + std::to_string(umsize2 / 1024.0) +
" MB\n"; " MB\n";
os << "***uncompressed compressable " + std::to_string(umcount3) + " " + os << "***uncompressed compressible " + std::to_string(umcount3) + " " +
std::to_string(umsize3 / 1024.0) + " MB\n"; std::to_string(umsize3 / 1024.0) + " MB\n";
os << "***compressed on mem " + std::to_string(cmcount) + " " + os << "***compressed on mem " + std::to_string(cmcount) + " " +
std::to_string((int)cmsize / 1048576.0) + " MB\n"; std::to_string((int)cmsize / 1048576.0) + " MB\n";

View file

@ -107,8 +107,8 @@
// conditions are *BLOCKING*. // conditions are *BLOCKING*.
// Thread-safety: // Thread-safety:
// * Most of the following code is mutex-protected, altough it might seem not - // * Most of the following code is mutex-protected, although it might seem not
// indeed, // like it - indeed,
// only *one* mutex is locked and unlocked all of the time. This 'transition // only *one* mutex is locked and unlocked all of the time. This 'transition
// mutex' is // mutex' is
// the key to thread-safety: we're considered to lie in a 'transition state' // the key to thread-safety: we're considered to lie in a 'transition state'
@ -475,7 +475,7 @@ inline bool Runnable::customConditions() {
that the application must wait for the task to be finished, print logs that the application must wait for the task to be finished, print logs
or similar. or similar.
This signal is always preceded by a canceled() signal, informing all This signal is always preceded by a canceled() signal, informing all
active tasks that thay should begin quitting on their own in a 'soft' active tasks that they should begin quitting on their own in a 'soft'
way before brute termination may occur. way before brute termination may occur.
\sa \b Executor::shutdown static method and \b Runnable::canceled signal. \sa \b Executor::shutdown static method and \b Runnable::canceled signal.
@ -715,7 +715,7 @@ void Executor::init() {
//! to terminate - this depends //! to terminate - this depends
//! on the code connected to the terminated() signal and is under the user's //! on the code connected to the terminated() signal and is under the user's
//! responsibility (see the //! responsibility (see the
//! remarks specified in started() signal descritpion); if this is the intent //! remarks specified in started() signal description); if this is the intent
//! and the terminated slot //! and the terminated slot
//! is invoked in the controller thread, you should remember to implement a //! is invoked in the controller thread, you should remember to implement a
//! local event loop in it (so that //! local event loop in it (so that

View file

@ -77,7 +77,7 @@ in
case some part of the complex inside the cell has been defined. case some part of the complex inside the cell has been defined.
The plane outside the complex is assumed to be transparent. The plane outside the complex is assumed to be transparent.
\n \n
The lattice origin must be specified in the complex's contructor, and all tiles The lattice origin must be specified in the complex's constructor, and all tiles
uploaded into and downloaded from it must have an integer displacement with uploaded into and downloaded from it must have an integer displacement with
respect respect
to it - in other words, it is required that the complex has a well-defined pixel to it - in other words, it is required that the complex has a well-defined pixel
@ -317,7 +317,7 @@ inline TPoint TCacheResource::getCellPos(const TPointD &pos) const {
bool TCacheResource::checkRasterType(const TRasterP &ras, int &rasType) const { bool TCacheResource::checkRasterType(const TRasterP &ras, int &rasType) const {
rasType = ::getRasterType(ras); rasType = ::getRasterType(ras);
if (rasType == NONE) { if (rasType == NONE) {
assert(!"The passed raster has unkown type!"); assert(!"The passed raster has unknown type!");
return false; return false;
} }
if (m_tileType != NONE && m_tileType != rasType) { if (m_tileType != NONE && m_tileType != rasType) {

View file

@ -65,7 +65,7 @@ efficiently store
Now, the principal classes dealing with this job are: Now, the principal classes dealing with this job are:
- One TFxCacheManager per render instance, used to store predictive - One TFxCacheManager per render instance, used to store predictive
informations. information.
- A set of TFxCacheManagerDelegate per render instance, used to store - A set of TFxCacheManagerDelegate per render instance, used to store
references to cache resources references to cache resources
and providing reasons for caching results. and providing reasons for caching results.

View file

@ -34,7 +34,7 @@ public:
~StencilControlManager() {} ~StencilControlManager() {}
}; };
} // Local namepace } // Local namespace
//----------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------
@ -43,7 +43,7 @@ public:
int m_stencilBitCount; int m_stencilBitCount;
int m_pushCount; int m_pushCount;
int m_currentWriting; // current stencil bit plane. int m_currentWriting; // current stencil bit plane.
// 0 is the first bit plane ; -1 menas no stencil mask is writing // 0 is the first bit plane ; -1 means no stencil mask is writing
int m_virtualState; int m_virtualState;
// the state of the (eventually virtual) top mask. // the state of the (eventually virtual) top mask.

View file

@ -1194,8 +1194,8 @@ static int skip_rowsBMPC4(FILE *fp, UINT rows)
rows = 0; rows = 0;
break; break;
case 0x02: case 0x02:
c1 = getc(fp); /* x buffer offest */ c1 = getc(fp); /* x buffer offset */
c1 = getc(fp); /* y buffer offest */ c1 = getc(fp); /* y buffer offset */
rows -= c1; rows -= c1;
break; break;
default: default:
@ -1473,8 +1473,8 @@ static int skip_rowsBMPC8(FILE *fp, UINT rows)
rows = 0; rows = 0;
break; break;
case 0x02: case 0x02:
c1 = getc(fp); /* x buffer offest */ c1 = getc(fp); /* x buffer offset */
c1 = getc(fp); /* y buffer offest */ c1 = getc(fp); /* y buffer offset */
rows -= c1; rows -= c1;
break; break;
default: default:

View file

@ -706,7 +706,7 @@ void JpgExifReader::ProcessExifDir(unsigned char *DirStart,
if (ImageInfo.Comments[0]) { // We already have a jpeg comment. if (ImageInfo.Comments[0]) { // We already have a jpeg comment.
// Already have a comment (probably windows comment), skip this one. // Already have a comment (probably windows comment), skip this one.
if (ShowTags) if (ShowTags)
printf("Windows XP commend and other comment in header\n"); printf("Windows XP comment and other comment in header\n");
break; // Already have a windows comment, skip this one. break; // Already have a windows comment, skip this one.
} }

View file

@ -65,7 +65,7 @@ m_buffer = BigMemoryManager.getMemoryChunk(lx*ly*pixelSize, this);
//m_buffer = new UCHAR[lx*ly*pixelSize]; //m_buffer = new UCHAR[lx*ly*pixelSize];
m_totalMemory += ((lx*ly*pixelSize)>>10); m_totalMemory += ((lx*ly*pixelSize)>>10);
#ifdef _WIN32 #ifdef _WIN32
MessageBox( NULL, "Run out of contiguos phisical memory: please save all and MessageBox( NULL, "Run out of contiguous physical memory: please save all and
restart toonz!", "Warning", MB_OK); restart toonz!", "Warning", MB_OK);
#endif #endif
}*/ }*/

View file

@ -29,7 +29,7 @@ namespace borders {
For example, if we want to extract the borders of a fullcolor image For example, if we want to extract the borders of a fullcolor image
that separate bright areas from dark ones, we can just have a pixel selector that separate bright areas from dark ones, we can just have a pixel selector
cast each pixel to the integer value 0 if the pixel's value is below the cast each pixel to the integer value 0 if the pixel's value is below the
brigthness threshold, and 1 if above. brightness threshold, and 1 if above.
\n\n \n\n
Also, pixel selectors tell whether pixels are to be intended as Also, pixel selectors tell whether pixels are to be intended as
completely transparent (virtual pixels outside the raster boundaries are). completely transparent (virtual pixels outside the raster boundaries are).

View file

@ -11,10 +11,10 @@
/*! /*!
The RunsMapP is an auxiliary raster greymap type used to store run-length The RunsMapP is an auxiliary raster greymap type used to store run-length
informations information
about an image. about an image.
Not every image pixel has valid informations. Only pixels corresponding to Not every image pixel has valid information. Only pixels corresponding to
run headers do, and those include the position of the next run header. run headers do, and those include the position of the next run header.
This means that users must always iterate from the beginning of a line to get This means that users must always iterate from the beginning of a line to get
valid valid

View file

@ -229,7 +229,7 @@ void erodilate_chan(const TRasterPT<Pix> &src, const TRasterPT<Chan> &dst,
// perform a cache-friendly iteration in the separable/square kernel case // perform a cache-friendly iteration in the separable/square kernel case
int x, y, lx = src->getLx(), ly = src->getLy(); int x, y, lx = src->getLx(), ly = src->getLy();
// Peform rows erodilation // Perform rows erodilation
TRasterPT<Chan> temp(ly, lx); // Notice transposition plz TRasterPT<Chan> temp(ly, lx); // Notice transposition plz
{ {

View file

@ -2376,7 +2376,7 @@ void rop_resample_rgbm(TRasterPT<T> rout, const TRasterPT<T> &rin,
// the *opposites* of fractionary parts (explained later). // the *opposites* of fractionary parts (explained later).
// NOTE: We'll assume we want to include in the filter mask all // NOTE: We'll assume we want to include in the filter mask all
//*integer positions around a fractionary displacement of the origin*; //*integer positions around a fractionary displacement of the origin*;
// so the approximations below are stricly necessary. // so the approximations below are strictly necessary.
min_pix_ref_u = intLE(min_pix_out_u_); min_pix_ref_u = intLE(min_pix_out_u_);
min_pix_ref_v = intLE(min_pix_out_v_); min_pix_ref_v = intLE(min_pix_out_v_);
@ -3059,7 +3059,7 @@ void do_resample(TRasterCM32P rout, const TRasterCM32P &rin,
v * wrapin; // Take the associated input pixel pointer v * wrapin; // Take the associated input pixel pointer
tcm[0] = in_tcm[0]; tcm[0] = in_tcm[0];
if (u < lu - 1 && v < lv - 1) { if (u < lu - 1 && v < lv - 1) {
// Also take their 4 next neighours (we shall perform a kinf of bilinear // Also take their 4 next neighbours (we shall perform a kinf of bilinear
// interpolation) // interpolation)
tcm[1] = in_tcm[1]; tcm[1] = in_tcm[1];
tcm[2] = in_tcm[wrapin]; tcm[2] = in_tcm[wrapin];

View file

@ -777,7 +777,7 @@ void expandAreaAndFillGaps(TRasterCM32P ras) {
if (pix->getPaint() != TPixelCM32::getMaxPaint()) continue; if (pix->getPaint() != TPixelCM32::getMaxPaint()) continue;
int paint = TPixelCM32::getMaxPaint(); int paint = TPixelCM32::getMaxPaint();
// check the neibor pixes and take the smallest styleId // check the neighbor pixels and take the smallest styleId
if (upPix != pix && upPix->getInk() != TPixelCM32::getMaxInk()) if (upPix != pix && upPix->getInk() != TPixelCM32::getMaxInk())
paint = upPix->getPaint(); paint = upPix->getPaint();
if (dnPix != pix && dnPix->getInk() != TPixelCM32::getMaxInk()) if (dnPix != pix && dnPix->getInk() != TPixelCM32::getMaxInk())

View file

@ -1154,7 +1154,7 @@ TIStream &TIStream::operator>>(TPersist *&v) {
//--------------------------------------------------------------- //---------------------------------------------------------------
bool TIStream::matchEndTag() { bool TIStream::matchEndTag() {
if (m_imp->m_tagStack.empty()) throw TException("tag stack emtpy"); if (m_imp->m_tagStack.empty()) throw TException("tag stack empty");
if (!m_imp->matchTag()) return false; if (!m_imp->matchTag()) return false;
if (m_imp->m_currentTag.m_type != StreamTag::EndTag) return false; if (m_imp->m_currentTag.m_type != StreamTag::EndTag) return false;
if (m_imp->m_currentTag.m_name != m_imp->m_tagStack.back()) if (m_imp->m_currentTag.m_name != m_imp->m_tagStack.back())

View file

@ -34,7 +34,7 @@ FILE *fopen(const TFilePath &fp, string mode) {
Tifstream::Tifstream(const TFilePath &fp) : ifstream(m_file = fopen(fp, "rb")) { Tifstream::Tifstream(const TFilePath &fp) : ifstream(m_file = fopen(fp, "rb")) {
// manually set the fail bit here, since constructor ifstream::ifstream(FILE*) // manually set the fail bit here, since constructor ifstream::ifstream(FILE*)
// does not so even if the argument is null pointer. // does not so even if the argument is null pointer.
// the state will be refered in "TIStream::operator bool()" ( in tstream.cpp ) // the state will be referred in "TIStream::operator bool()" ( in tstream.cpp )
if (!m_file) setstate(failbit); if (!m_file) setstate(failbit);
} }
@ -54,7 +54,7 @@ Tofstream::Tofstream(const TFilePath &fp, bool append_existing)
: ofstream(m_file = fopen(fp, append_existing ? "ab" : "wb")) { : ofstream(m_file = fopen(fp, append_existing ? "ab" : "wb")) {
// manually set the fail bit here, since constructor ofstream::ofstream(FILE*) // manually set the fail bit here, since constructor ofstream::ofstream(FILE*)
// does not so even if the argument is null pointer. // does not so even if the argument is null pointer.
// the state will be refered in "TOStream::operator bool()" ( in tstream.cpp ) // the state will be referred in "TOStream::operator bool()" ( in tstream.cpp )
if (!m_file) setstate(failbit); if (!m_file) setstate(failbit);
} }

View file

@ -547,7 +547,7 @@ void TSystem::readDirectory(TFilePathSet &groupFpSet, TFilePathSet &allFpSet,
// store all file paths // store all file paths
fileSet_all.insert(son); fileSet_all.insert(son);
// in case of the sequencial files // in case of the sequential files
if (son.getDots() == "..") son = son.withFrame(); if (son.getDots() == "..") son = son.withFrame();
// store the group. insersion avoids duplication of the item // store the group. insersion avoids duplication of the item

View file

@ -196,7 +196,7 @@ bool TSystem::memoryShortage() {
memStatus.ullTotalVirtual * memStatus.ullTotalVirtual *
0.6; // if total memory used by this process(WorkingSetSize) is 0.6; // if total memory used by this process(WorkingSetSize) is
// half of max allocatable memory // half of max allocatable memory
//(ullTotalVirtual: on 32bits machines, tipically it's 2GB) //(ullTotalVirtual: on 32bits machines, typically it's 2GB)
// It's better "to stay large"; for values >0.6 this function may // It's better "to stay large"; for values >0.6 this function may
// returns that there is memory, but for fragmentation the malloc fails the // returns that there is memory, but for fragmentation the malloc fails the
// same! // same!
@ -243,7 +243,7 @@ TINT64 TSystem::getFreeMemorySize(bool onlyPhisicalMemory) {
// check for virtual memory // check for virtual memory
int numberOfResources = int numberOfResources =
swapctl(SC_GETNSWP, 0); /* get number of swapping resources configued */ swapctl(SC_GETNSWP, 0); /* get number of swapping resources configured */
if (numberOfResources == 0) return 0; if (numberOfResources == 0) return 0;

View file

@ -1438,7 +1438,7 @@ static bool isCloseEnoughP2P(double facMin, double facMax, TStroke *s1,
dist2 = tdistance2(p0, p1); dist2 = tdistance2(p0, p1);
/*!when closing beetween a normal stroke and a 0-thickness stroke (very /*!when closing between a normal stroke and a 0-thickness stroke (very
* typical) the thin one is assumed to have same thickness of the other*/ * typical) the thin one is assumed to have same thickness of the other*/
if (p0.thick == 0) if (p0.thick == 0)
p0.thick = p1.thick; p0.thick = p1.thick;
@ -1618,7 +1618,7 @@ static bool isCloseEnoughP2L(double facMin, double facMax, TStroke *s1,
TThickPoint p1 = s2->getChunk(index)->getThickPoint(t); TThickPoint p1 = s2->getChunk(index)->getThickPoint(t);
/*!when closing beetween a normal stroke and a 0-thickness stroke (very /*!when closing between a normal stroke and a 0-thickness stroke (very
* typical) the thin one is assumed to have same thickness of the other*/ * typical) the thin one is assumed to have same thickness of the other*/
if (p0.thick == 0) if (p0.thick == 0)
p0.thick = p1.thick; p0.thick = p1.thick;

View file

@ -1186,7 +1186,7 @@ DEFINE_CLASS_CODE(TStroke, 15)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// Costructor // Constructor
TStroke::TStroke() : TSmartObject(m_classCode) { TStroke::TStroke() : TSmartObject(m_classCode) {
vector<TThickPoint> p(3); vector<TThickPoint> p(3);
p[0] = TThickPoint(0, 0, 0); p[0] = TThickPoint(0, 0, 0);

View file

@ -2173,10 +2173,10 @@ VIStroke *TVectorImage::Imp::joinStroke(int index1, int index2, int cpIndex1,
int cpCount2 = stroke2->getControlPointCount(); int cpCount2 = stroke2->getControlPointCount();
int styleId = stroke1->getStyle(); int styleId = stroke1->getStyle();
// check if the both ends are at the same postion // check if the both ends are at the same position
bool isSamePos = isAlmostZero(tdistance2(stroke1->getControlPoint(cpIndex1), bool isSamePos = isAlmostZero(tdistance2(stroke1->getControlPoint(cpIndex1),
stroke2->getControlPoint(cpIndex2))); stroke2->getControlPoint(cpIndex2)));
// connecting the ends in the same shape at the same postion // connecting the ends in the same shape at the same position
// means just making the shape self-looped // means just making the shape self-looped
if (isSamePos && index1 == index2) { if (isSamePos && index1 == index2) {
stroke1->setSelfLoop(); stroke1->setSelfLoop();

View file

@ -16,7 +16,7 @@ using namespace tellipticbrush;
/*! \file tellipticbrush.cpp /*! \file tellipticbrush.cpp
This code deals with the "outlinization" process of a TStroke instance. This code deals with the "outlinization" process of a TStroke instance.
The process of extracing the outline of a thick stroke can be resumed in 2 main The process of extracting the outline of a thick stroke can be resumed in 2 main
steps: steps:
1. Discretize the stroke centerline in the most appropriate centerline points, 1. Discretize the stroke centerline in the most appropriate centerline points,
@ -472,7 +472,7 @@ void CoverageLinearizator::linearize(std::vector<CenterlinePoint> &cPoints,
TThickPoint P0(ttq.getThickP0()), P1(ttq.getThickP1()), P2(ttq.getThickP2()); TThickPoint P0(ttq.getThickP0()), P1(ttq.getThickP1()), P2(ttq.getThickP2());
if ((P0 == P1) || (P1 == P2)) if ((P0 == P1) || (P1 == P2))
return; // Linear speed out/in case. Straighted up in the buildDirs() return; // Linear speed out/in case. Straightened up in the buildDirs()
// Remember that d = 2 [P1 - P0 + t (P0 + P2 - 2 P1)] // Remember that d = 2 [P1 - P0 + t (P0 + P2 - 2 P1)]
@ -877,7 +877,7 @@ void tellipticbrush::OutlineBuilder::addRoundSideCaps(
std::vector<TOutlinePoint> &oPoints, const CenterlinePoint &cPoint) { std::vector<TOutlinePoint> &oPoints, const CenterlinePoint &cPoint) {
// Side caps - this has only sense when the backward and forward // Side caps - this has only sense when the backward and forward
// direction-derivatives // direction-derivatives
// are different. This means that thay build different envelope directions. // are different. This means that they build different envelope directions.
// So, we add // So, we add
// side caps to cover the 'elbow fractures' // side caps to cover the 'elbow fractures'
@ -1132,7 +1132,7 @@ namespace {
/* /*
Quick container to store all the linearization features to be supported. Quick container to store all the linearization features to be supported.
\note The set should be appropriately ordered so that linearizator dependance \note The set should be appropriately ordered so that linearizator dependence
can be supported (linearizators may work depending on knowledge of the other can be supported (linearizators may work depending on knowledge of the other
linearized points) linearized points)
*/ */

View file

@ -65,7 +65,7 @@ struct OutlinizationData {
which includes its position, and eventual forward and backward derivative-like which includes its position, and eventual forward and backward derivative-like
directions. Thickness data is included in the structure. directions. Thickness data is included in the structure.
These informations are necessary and sufficient to build associated outline This information is necessary and sufficient to build associated outline
points, points,
and eventual additional points related to caps. and eventual additional points related to caps.
*/ */
@ -74,7 +74,7 @@ struct CenterlinePoint {
double m_t; //!< The quadratic parameter where this point can be found double m_t; //!< The quadratic parameter where this point can be found
TThickPoint m_p; //!< The point's thick coordinates TThickPoint m_p; //!< The point's thick coordinates
bool m_posBuilt; //!< Wheteher m_p has been calculated bool m_posBuilt; //!< Whether m_p has been calculated
TThickPoint m_prevD; //!< The backward direction TThickPoint m_prevD; //!< The backward direction
bool m_hasPrevD; //!< If the point has (envelopable) backward direction bool m_hasPrevD; //!< If the point has (envelopable) backward direction

View file

@ -362,7 +362,7 @@ void TFontManager::setFamily(const wstring family) {
m_pimpl->m_currentFamily = family; m_pimpl->m_currentFamily = family;
// XXX: if current style is not valid for family, reset it? // XXX: if current style is not valid for family, reset it?
// doing so asserts when chosing a font in the GUI // doing so asserts when choosing a font in the GUI
#if 0 #if 0
QStringList styles = m_pimpl->m_qfontdb->styles(qFamily); QStringList styles = m_pimpl->m_qfontdb->styles(qFamily);
if (styles.contains(QString::fromStdWString(m_pimpl->m_currentTypeface))) { if (styles.contains(QString::fromStdWString(m_pimpl->m_currentTypeface))) {

View file

@ -611,7 +611,7 @@ public:
} }
/*! /*!
\details Explicitly ovverrides the stream's version, returning m_version. \details Explicitly overrides the stream's version, returning m_version.
This is necessary since palettes have their \a own version number, This is necessary since palettes have their \a own version number,
which is \a not the TIStream's file one. which is \a not the TIStream's file one.
*/ */
@ -1074,7 +1074,7 @@ void TPalette::setFrame(int frame) {
TColorStyle *cs = getStyle(styleId); TColorStyle *cs = getStyle(styleId);
assert(cs); assert(cs);
// Buid the keyframes interval containing frame // Build the keyframes interval containing frame
StyleAnimation::iterator j0, j1; StyleAnimation::iterator j0, j1;
j1 = animation.lower_bound( j1 = animation.lower_bound(

View file

@ -317,7 +317,7 @@ bool increaseControlPoints(TStroke &stroke, const TStrokeDeformation &deformer,
// questa funzione trova il punto in cui si supera il valore maxdifference // questa funzione trova il punto in cui si supera il valore maxdifference
// if minimum is not found or is equal to previous value // if minimum is not found or is equal to previous value
// use an euristic... // use a heuristic...
if (minimum < 0 || w == minimum) { if (minimum < 0 || w == minimum) {
minimum = w + incr * 0.5; minimum = w + incr * 0.5;
w += step; w += step;

View file

@ -672,7 +672,7 @@ void RecursiveReferenceLinearizator::subdivideCenterline(
/* /*
Quick container to store all the linearization features to be supported. Quick container to store all the linearization features to be supported.
\note The set should be appropriately ordered so that linearizator dependance \note The set should be appropriately ordered so that linearizator dependence
can be supported (linearizators may work depending on knowledge of the other can be supported (linearizators may work depending on knowledge of the other
linearized points) linearized points)
*/ */

View file

@ -21,13 +21,13 @@
namespace AviCodecRestrictions { namespace AviCodecRestrictions {
//! Returns a text specifing resolution restricions for the given codec name. //! Returns a text specifying resolution restricions for the given codec name.
void DVAPI getRestrictions(const std::wstring &codecName, void DVAPI getRestrictions(const std::wstring &codecName,
QString &restrictions); QString &restrictions);
//! Returns true if the ginven codec can work in the given resolution. //! Returns true if the ginven codec can work in the given resolution.
bool DVAPI canWriteMovie(const std::wstring &codecName, bool DVAPI canWriteMovie(const std::wstring &codecName,
const TDimension &resolution); const TDimension &resolution);
//! Return a mapping containing the same codecs in \b codecNames, specifing //! Return a mapping containing the same codecs in \b codecNames, specifying
//! which codec can work in the given resolution. //! which codec can work in the given resolution.
QMap<std::wstring, bool> DVAPI getUsableCodecs(const TDimension &resolution); QMap<std::wstring, bool> DVAPI getUsableCodecs(const TDimension &resolution);
//! Returns true if the specifiedcodec can be configured. //! Returns true if the specifiedcodec can be configured.

View file

@ -2,7 +2,7 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// drawutil.h: // drawutil.h:
// Private header to common fuction in drawcurves.cpp and drawregions.cpp // Private header to common function in drawcurves.cpp and drawregions.cpp
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#ifndef DRAWUTIL_H #ifndef DRAWUTIL_H

View file

@ -48,7 +48,7 @@ private:
* @brief Range of mapping * @brief Range of mapping
* *
* Only an interval of potential function will be used to * Only an interval of potential function will be used to
* map the tranformation. * map the transformation.
*/ */
range_, range_,
par_, //! Parameter of selection. par_, //! Parameter of selection.

View file

@ -46,7 +46,7 @@ class StrokeDeformationImpl;
/** /**
* @brief This class is the interface for manipulation * @brief This class is the interface for manipulation
* algorihms. * algorithms.
* *
* StrokeDeformation is a wrapper for for StrokeDeformationImpl, * StrokeDeformation is a wrapper for for StrokeDeformationImpl,
* its function is to verify state and parameteres before * its function is to verify state and parameteres before

View file

@ -39,7 +39,7 @@
to the \a number of allowed textures, there \a are limits to the \b to the \a number of allowed textures, there \a are limits to the \b
size of said size of said
textures, which can be tested by asking OpenGL whether it can textures, which can be tested by asking OpenGL whether it can
accomodate specific accommodate specific
texture requests or not. texture requests or not.
Technically, the MeshTexturizer class acts as a virtualization Technically, the MeshTexturizer class acts as a virtualization
@ -143,7 +143,7 @@ private:
\details The purpose of MeshTexturizer is that of storing in VRAM a set of \details The purpose of MeshTexturizer is that of storing in VRAM a set of
textures textures
cut up into tiles. This struture holds the data about the cut up into tiles. This structure holds the data about the
end-product of end-product of
texture loading into a MeshTexturizer instance. texture loading into a MeshTexturizer instance.
*/ */

View file

@ -107,7 +107,7 @@ private:
\par Rationale \par Rationale
The crucial reason behind the existance of this class lies in the The crucial reason behind the existence of this class lies in the
necessity to cache PlasticDeformer instances to achieve real-time speed in necessity to cache PlasticDeformer instances to achieve real-time speed in
the processing of part of its algorithms. the processing of part of its algorithms.
\n\n \n\n

View file

@ -55,7 +55,7 @@ public:
/*! /*!
Resizes the output buffer to the specified size. Requires that Resizes the output buffer to the specified size. Requires that
the contex is made current before invocation. In case lx or ly are 0, the context is made current before invocation. In case lx or ly are 0,
the context's output buffer is destroyed. the context's output buffer is destroyed.
*/ */
void resize(int lx, int ly, const QOpenGLFramebufferObjectFormat &fmt = void resize(int lx, int ly, const QOpenGLFramebufferObjectFormat &fmt =

View file

@ -44,12 +44,12 @@
The classical cache concept is nothing more than that of a standard The classical cache concept is nothing more than that of a standard
associative associative
map, tweaked to accomodate specific commodities - such as managing map, tweaked to accommodate specific commodities - such as managing
the cache the cache
size. size.
However, sometimes resources could be considered to be effectively However, sometimes resources could be considered to be effectively
indentical, identical,
to the point that assigning a key is merely a way to keep the to the point that assigning a key is merely a way to keep the
objects objects
distinct in the cache. Users are in the condition to require only distinct in the cache. Users are in the condition to require only

View file

@ -68,7 +68,7 @@ namespace TConsts {
const double epsilon = 1e-8; const double epsilon = 1e-8;
} }
// use macros insted of constexprs, because MSVC2013 does not support // use macros instead of constexprs, because MSVC2013 does not support
// `constexpr`. // `constexpr`.
#define M_PI_3 (M_PI / 3) #define M_PI_3 (M_PI / 3)
#define M_PI_180 (M_PI_4 / 45) #define M_PI_180 (M_PI_4 / 45)

View file

@ -123,7 +123,7 @@ public:
bool isBold(const QString &family, const QString &style); bool isBold(const QString &family, const QString &style);
bool isItalic(const QString &family, const QString &style); bool isItalic(const QString &family, const QString &style);
// --------- TFont methods called on curren font ----------- // --------- TFont methods called on current font -----------
TPoint drawChar(TVectorImageP &outImage, wchar_t charcode, TPoint drawChar(TVectorImageP &outImage, wchar_t charcode,
wchar_t nextCode = 0) { wchar_t nextCode = 0) {

View file

@ -99,7 +99,7 @@ public:
// Cache Management internals // Cache Management internals
//************************************************************************************************ //************************************************************************************************
//! The ResourceDeclaration structure contains the informations retrieved in the //! The ResourceDeclaration structure contains the information retrieved in the
//! predictive processes performed before a render process. It can be retrieved //! predictive processes performed before a render process. It can be retrieved
//! via the TFxCacheManager::getResource() method or passed directly by it to //! via the TFxCacheManager::getResource() method or passed directly by it to
//! TFxCacheManagerDelegate instances. //! TFxCacheManagerDelegate instances.
@ -182,7 +182,7 @@ TFxCacheManagerDelegate instances.
Access to a cache resource is performed through the getResource() method, which Access to a cache resource is performed through the getResource() method, which
requires requires
a description of the resource (as specified in the TCacheResource class) a description of the resource (as specified in the TCacheResource class)
and some informations - namely, the fx, render settings and frame - about the and some information - namely, the fx, render settings and frame - about the
circumstances circumstances
of the request. If the resource is managed by some manager delegate, it will be of the request. If the resource is managed by some manager delegate, it will be
returned. returned.

View file

@ -925,7 +925,7 @@ return *this = *this * b;
}; };
*/ */
/*! /*!
Retruns the inverse tansformation as: Returns the inverse tansformation as:
<p>\f$\left(\begin{array}{ccc}\bf{A}^{-1}&-\bf{A}^{-1}&\vec{b}\\\vec{0}&\vec{0}&1\end{array}\right)\f$</p> <p>\f$\left(\begin{array}{ccc}\bf{A}^{-1}&-\bf{A}^{-1}&\vec{b}\\\vec{0}&\vec{0}&1\end{array}\right)\f$</p>
*/ */
@ -1024,7 +1024,7 @@ a12*a12+a21*a21) < err;
*/ */
/*! /*!
Retruns the transfomed point. Returns the transformed point.
*/ */
TPointD operator*(const TPointD &p) const; TPointD operator*(const TPointD &p) const;
/*Sposto in tgeometry.cpp /*Sposto in tgeometry.cpp
@ -1034,7 +1034,7 @@ return TPointD(p.x*a11+p.y*a12+a13, p.x*a21+p.y*a22+a23);
*/ */
/*! /*!
Retruns the transformed box of the bounding box. Returns the transformed box of the bounding box.
*/ */
TRectD operator*(const TRectD &rect) const; TRectD operator*(const TRectD &rect) const;

View file

@ -11,7 +11,7 @@ http://www.sentex.net/~mwandel/jhead/
#include <stdlib.h> #include <stdlib.h>
// undefining ReadAllTags will load only resolution infomation // undefining ReadAllTags will load only resolution information
#define ReadAllTags #define ReadAllTags
#undef ReadAllTags #undef ReadAllTags

View file

@ -46,7 +46,7 @@ public:
\par A array of coeff \par A array of coeff
\par n size of matrix \par n size of matrix
\par indx array with permutation from pivoting \par indx array with permutation from pivoting
\par d +1/-1 and depend wheter the number of row interchanges (even or odd) \par d +1/-1 and depend whether the number of row interchanges (even or odd)
\note If error a TException is thrown. \note If error a TException is thrown.
\include mathutils_ex2.cpp \include mathutils_ex2.cpp
*/ */

View file

@ -53,7 +53,7 @@ public:
// client side // client side
// 'send' returns false if the tmessage is not active in the application // 'send' returns false if the tmessage is not active in the application
// (tipically, in console applications such as tcomposer) // (typically, in console applications such as tcomposer)
bool send(DVGui::MsgType type, const QString &message); bool send(DVGui::MsgType type, const QString &message);
void connectTo(const QString &address = ""); void connectTo(const QString &address = "");

View file

@ -35,7 +35,7 @@ class TVectorImage;
//******************************************************************************* //*******************************************************************************
/*! /*!
\brief Selection type for level-based multi-frame selections targetting \brief Selection type for level-based multi-frame selections targeting
primitives described by predefined filtering functions. primitives described by predefined filtering functions.
*/ */
@ -50,7 +50,7 @@ public:
}; };
enum Filter //! Possible selection filters. enum Filter //! Possible selection filters.
{ EMPTY, //!< Selection is empty - everyting is filtered out. { EMPTY, //!< Selection is empty - everything is filtered out.
WHOLE, //!< Selects everything - nothing is filtered out. WHOLE, //!< Selects everything - nothing is filtered out.
SELECTED_STYLES, //!< Acts only entities with selected palette styles. SELECTED_STYLES, //!< Acts only entities with selected palette styles.
BOUNDARY_STROKES, //!< Acts only on boundary strokes (applies only to BOUNDARY_STROKES, //!< Acts only on boundary strokes (applies only to

View file

@ -366,7 +366,7 @@ public:
/*! /*!
Picks a region of the scene, using an OpenGL projection matrix to Picks a region of the scene, using an OpenGL projection matrix to
restrict drawing to a small regionaround \p p of the viewport. restrict drawing to a small regionaround \p p of the viewport.
Retuns -1 if no object's view has been changed. Returns -1 if no object's view has been changed.
*/ */
int pick(const TPointD &p); int pick(const TPointD &p);
bool isPicking() const { return m_picking; } bool isPicking() const { return m_picking; }

View file

@ -277,7 +277,7 @@ protected slots:
void onFrameSwitched() { updateStatus(); } void onFrameSwitched() { updateStatus(); }
// update the object list in combobox // update the object list in combobox
void updateStageObjectComboItems(); void updateStageObjectComboItems();
// syncronize the current item in the combobox to the selected stage object // synchronize the current item in the combobox to the selected stage object
void syncCurrentStageObjectComboItem(); void syncCurrentStageObjectComboItem();
// change the current stage object when user changes it via combobox by hand // change the current stage object when user changes it via combobox by hand
void onCurrentStageObjectComboActivated(int index); void onCurrentStageObjectComboActivated(int index);

View file

@ -62,7 +62,7 @@ private:
// font color // font color
QColor m_color; QColor m_color;
// font (familiy, bold, italic) // font (family, bold, italic)
QFont m_font; QFont m_font;
QString m_text; QString m_text;

View file

@ -53,7 +53,7 @@ public:
void selectKeyframe(int kIndex); void selectKeyframe(int kIndex);
// create a new keyframe, select it and returns its k-index // create a new keyframe, select it and returns its k-index
// (if a keyframe already exsist at frame then it is equivalent to // (if a keyframe already exists at frame then it is equivalent to
// selectKeyframe) // selectKeyframe)
// note: call createKeyframe() when no other keyframes are selected // note: call createKeyframe() when no other keyframes are selected
int createKeyframe(double frame); int createKeyframe(double frame);
@ -92,7 +92,7 @@ public:
double similarShapeOffset); double similarShapeOffset);
// addUndo is called automatically (if needed) in the dtor. // addUndo is called automatically (if needed) in the dtor.
// it is also possible to call it explictly. // it is also possible to call it explicitly.
void addUndo(); void addUndo();
static void setValue(TDoubleParam *curve, double frame, double value) { static void setValue(TDoubleParam *curve, double frame, double value) {

View file

@ -25,7 +25,7 @@ class DVAPI ExpressionReferenceMonitorInfo {
// true if the parameter is not monitored // true if the parameter is not monitored
bool m_ignored = false; bool m_ignored = false;
// column indices to which the parameter refers. // column indices to which the parameter refers.
// note that the columns refered by the "cell" syntax will be // note that the columns referred by the "cell" syntax will be
// registered in this container, but not in the paramRefMap. // registered in this container, but not in the paramRefMap.
QSet<int> m_colRefMap; QSet<int> m_colRefMap;
// parameters to which the parameter refers // parameters to which the parameter refers

View file

@ -64,7 +64,7 @@ class TTileSaverFullColor;
//============================================================================= //=============================================================================
// returns true if the savebox is changed 9tipically, if you fill the bg) // returns true if the savebox is changed typically, if you fill the bg)
DVAPI bool fill(const TRasterCM32P &r, const FillParameters &params, DVAPI bool fill(const TRasterCM32P &r, const FillParameters &params,
TTileSaverCM32 *saver = 0, bool fillGaps = false, TTileSaverCM32 *saver = 0, bool fillGaps = false,
bool closeGaps = false, int closeStyleIndex = -1, bool closeGaps = false, int closeStyleIndex = -1,

View file

@ -704,10 +704,10 @@ private:
VectorRn dPreTheta; // (vale solo per SDLS) VectorRn dPreTheta; // (vale solo per SDLS)
// Parameters for pseudorinverse // Parameters for pseudoinverse
static const double PseudoInverseThresholdFactor; static const double PseudoInverseThresholdFactor;
// Paremeters for the Damped Least Squares method // Parameters for the Damped Least Squares method
static const double DefaultDampingLambda; static const double DefaultDampingLambda;
double DampingLambda; double DampingLambda;
double DampingLambdaSq; double DampingLambdaSq;

View file

@ -282,7 +282,7 @@ protected:
//! external data. //! external data.
virtual bool getInfo(TImageInfo &info, int imFlags, void *extData) = 0; virtual bool getInfo(TImageInfo &info, int imFlags, void *extData) = 0;
// load icon (and image) data of all frames into cache. impremented in // load icon (and image) data of all frames into cache. implemented in
// ImageLoader // ImageLoader
virtual void buildAllIconsAndPutInCache(TXshSimpleLevel *, virtual void buildAllIconsAndPutInCache(TXshSimpleLevel *,
std::vector<TFrameId>, std::vector<TFrameId>,

View file

@ -55,7 +55,7 @@ public:
// Other (misplaced) misc options // Other (misplaced) misc options
bool m_doCompare; //!< Whehter must compare between two images bool m_doCompare; //!< Whether must compare between two images
bool m_defineLoadbox; //!< Flipbook-specific bool m_defineLoadbox; //!< Flipbook-specific
bool m_useLoadbox; //!< Flipbook-specific bool m_useLoadbox; //!< Flipbook-specific
@ -66,7 +66,7 @@ public:
bool m_recomputeIfNeeded; bool m_recomputeIfNeeded;
bool m_drawBlankFrame; bool m_drawBlankFrame;
bool m_useChecks; //!< whether to consider paint check and ink check bool m_useChecks; //!< whether to consider paint check and ink check
bool m_forSceneIcon = false; // whether it is redered for the scene icons bool m_forSceneIcon = false; // whether it is rendered for the scene icons
public: public:
VisualSettings(); VisualSettings();

View file

@ -214,7 +214,7 @@ public:
ie ie
only \a fully white pixels will be replaced with transparent. only \a fully white pixels will be replaced with transparent.
This implicityl restrains its applicability to images <I>without This implicityl restrains its applicability to images <I>without
antialias</I>. This is therefore coupled with antialiasing settins. antialias</I>. This is therefore coupled with antialiasing settings.
\sa The setDoAntialias() method. */ \sa The setDoAntialias() method. */
void setWhiteTransp(bool whiteTransp) //! Whether full white pixels should void setWhiteTransp(bool whiteTransp) //! Whether full white pixels should

View file

@ -105,7 +105,7 @@ class DVAPI LevelUpdater {
TLevelWriterP m_lw; //!< The updater's level writer object TLevelWriterP m_lw; //!< The updater's level writer object
TFilePath TFilePath
m_lwPath; //!< Path of the file written by m_lw, could be a temporary m_lwPath; //!< Path of the file written by m_lw, could be a temporary
TPropertyGroup *m_pg; //!< Copy of the file format propeties used by m_lw TPropertyGroup *m_pg; //!< Copy of the file format properties used by m_lw
TLevelReaderP m_lr; //!< The updater's level reader object TLevelReaderP m_lr; //!< The updater's level reader object
TLevelP m_inputLevel; //!< The initial source level frames structure TLevelP m_inputLevel; //!< The initial source level frames structure
@ -119,7 +119,7 @@ class DVAPI LevelUpdater {
bool m_usingTemporaryFile; //!< Whether a temporary file is being used to bool m_usingTemporaryFile; //!< Whether a temporary file is being used to
//! hold additional frames //! hold additional frames
bool m_opened; //!< Wheter the updater is already attached to a level bool m_opened; //!< Whether the updater is already attached to a level
public: public:
LevelUpdater(); LevelUpdater();

View file

@ -300,11 +300,11 @@ used in subXsheet.
bool save(const TFilePath newScenePath); bool save(const TFilePath newScenePath);
/*! /*!
Update all resouces paths. Update all resources paths.
*/ */
void updatePaths(); void updatePaths();
/*! /*!
Set all resouces paths to old paths. Set all resources paths to old paths.
*/ */
void rollbackPaths(); void rollbackPaths();
/*! /*!

View file

@ -61,7 +61,7 @@ public:
TPointD m_center; // position of the rotation center of the stageobject, TPointD m_center; // position of the rotation center of the stageobject,
// i.e. the "joint" // i.e. the "joint"
bool m_selected; // true if the bone belongs to the active chain (i.e. bool m_selected; // true if the bone belongs to the active chain (i.e.
// handle <-> pinned ponts) // handle <-> pinned points)
PinnedStatus m_pinnedStatus; PinnedStatus m_pinnedStatus;
}; // class Bone }; // class Bone
@ -75,7 +75,7 @@ public:
~Skeleton(); ~Skeleton();
//! create a skeleton containing 'col'. //! create a skeleton containing 'col'.
//! tempPinnedColumns contains the column indices of the temporarly pinned //! tempPinnedColumns contains the column indices of the temporarily pinned
//! bones //! bones
void build(TXsheet *xsh, int row, int col, void build(TXsheet *xsh, int row, int col,
const std::set<int> &tempPinnedColumns = std::set<int>()); const std::set<int> &tempPinnedColumns = std::set<int>());

View file

@ -223,7 +223,7 @@ private:
//! Compute the matrix used to distort image. //! Compute the matrix used to distort image.
//! First is compute a transformation A' starting from m_startPoints to (0,0), //! First is compute a transformation A' starting from m_startPoints to (0,0),
//! (0,1), (1,1), (1,0); //! (0,1), (1,1), (1,0);
//! the a second tranformation A'' is compute starting from (0,0), (0,1), //! the second tranformation A'' is computed starting from (0,0), (0,1),
//! (1,1), (1,0) to m_endPoints. //! (1,1), (1,0) to m_endPoints.
//! The resulting matrix is A'*A''. //! The resulting matrix is A'*A''.
void computeMatrix(); void computeMatrix();

View file

@ -116,11 +116,11 @@ public:
const TFilePath path) const; //!< Builds the path to be used during a const TFilePath path) const; //!< Builds the path to be used during a
//!< level import operation. //!< level import operation.
/*! \details If convertion is required, a new level file will be created /*! \details If conversion is required, a new level file will be created
and \p levelPath will be substituted with its new path. and \p levelPath will be substituted with its new path.
\return Whether the level doesn't need to be converted or \return Whether the level doesn't need to be converted or
the convertion succeeded. */ the conversion succeeded. */
bool convertLevelIfNeeded(TFilePath &levelPath); //!< Checks if the given bool convertLevelIfNeeded(TFilePath &levelPath); //!< Checks if the given
//! levelPath is a file path //! levelPath is a file path
@ -169,7 +169,7 @@ Return scene frame count.
int getFrameCount() const; int getFrameCount() const;
/*! /*!
Returs frame count stored in the scene header. Returns frame count stored in the scene header.
Quicker than load(fp); getFrameCount() Quicker than load(fp); getFrameCount()
*/ */
int loadFrameCount(const TFilePath &fp); int loadFrameCount(const TFilePath &fp);
@ -250,7 +250,7 @@ If \b scene is in +scenes/name.tnz return name,
//! gets the contentHistory. possibly creates a new one (if createIfNeeded) //! gets the contentHistory. possibly creates a new one (if createIfNeeded)
TContentHistory *getContentHistory(bool createIfNeeded = false); TContentHistory *getContentHistory(bool createIfNeeded = false);
// shifts camera offet, returning old value; usend for steroscophy // shifts camera offset, returning old value; usend for steroscophy
double shiftCameraX(double val); double shiftCameraX(double val);
void setVersionNumber(VersionNumber version) { m_versionNumber = version; } void setVersionNumber(VersionNumber version) { m_versionNumber = version; }
@ -265,7 +265,7 @@ If \b scene is in +scenes/name.tnz return name,
private: private:
TFilePath m_scenePath; //!< Full path to the scene file (.tnz). TFilePath m_scenePath; //!< Full path to the scene file (.tnz).
ChildStack *m_childStack; //!< Xsheet hierachy. ChildStack *m_childStack; //!< Xsheet hierarchy.
TSceneProperties *m_properties; TSceneProperties *m_properties;
TLevelSet *m_levelSet; TLevelSet *m_levelSet;
TProject *m_project; TProject *m_project;

View file

@ -138,7 +138,7 @@ The default value is XY.
The Keyframe struct define a keyframe. The Keyframe struct define a keyframe.
A keyframe allows to define object values in a specific frame. A keyframe allows to define object values in a specific frame.
Keyframes are the starting and ending points of a transition in a scene. Keyframes are the starting and ending points of a transition in a scene.
Its parameters are taken as references to make changes on the paramters of Its parameters are taken as references to make changes on the parameters of
other frames, other frames,
as: as:
@ -317,7 +317,7 @@ object.
//! Returns true if \e frame is a keyframe for all channels. //! Returns true if \e frame is a keyframe for all channels.
bool isFullKeyframe(int frame) const; bool isFullKeyframe(int frame) const;
//! Returns true if \e frame is a keyframe for all channels with exeption of //! Returns true if \e frame is a keyframe for all channels with execption of
//! global scale channel. //! global scale channel.
bool is52FullKeyframe(int frame) const; bool is52FullKeyframe(int frame) const;
@ -439,7 +439,7 @@ Doesn't delete \e this.
*/ */
void detachFromParent(); void detachFromParent();
//! Makes all children of \e this childern of \e parentId. //! Makes all children of \e this children of \e parentId.
void attachChildrenToParent(const TStageObjectId &parentId); void attachChildrenToParent(const TStageObjectId &parentId);
//! Resets the area position setting internal time of the object and of all //! Resets the area position setting internal time of the object and of all
@ -449,8 +449,8 @@ Doesn't delete \e this.
/*! /*!
Return true if current object is visible, if object position in z-axis is Return true if current object is visible, if object position in z-axis is
less than 1000; othrwise return false. less than 1000; othrwise return false.
\n Set \b TAffine \b aff to current object trasformation matrix computed \n Set \b TAffine \b aff to current object transformation matrix computed
using camera and object trasformation matrix, using camera and object transformation matrix,
\b cameraAff, \b objectAff, and using camera and object position in z-axis, \b cameraAff, \b objectAff, and using camera and object position in z-axis,
\b cameraZ, \b objectZ. \b cameraZ, \b objectZ.
\n \b objectZ default value is zero, big value describe the nearest camera \n \b objectZ default value is zero, big value describe the nearest camera

View file

@ -120,7 +120,7 @@ parent of the removed column.
void removeColumn(int index); void removeColumn(int index);
/*! /*!
Remove from current stage objetc tree the stage objetc with \b Remove from current stage object tree the stage object with \b
TStageObjectId \b \e id. TStageObjectId \b \e id.
\n It doesn't delete the stage object. \n It doesn't delete the stage object.
\sa insertStageObject() and removeColumn() \sa insertStageObject() and removeColumn()
@ -133,7 +133,7 @@ TStageObjectId \b \e id.
*/ */
void insertStageObject(TStageObject *object); void insertStageObject(TStageObject *object);
/*! /*!
This method swaps colum \b \e i with column \b \e j. This method swaps column \b \e i with column \b \e j.
Columns \b \e i and \b \e j must exist. Columns \b \e i and \b \e j must exist.
*/ */
void swapColumns(int i, int j); void swapColumns(int i, int j);
@ -187,7 +187,7 @@ Returns the numbers of the objects in the tree.
An Handle Manager is an object that implements a method to retrieve An Handle Manager is an object that implements a method to retrieve
the point position the point position
of the handle given its id and its name. of the handle given its id and its name.
See TStageObject::getHandle() for an explanation of what an hanlde is. See TStageObject::getHandle() for an explanation of what a handle is.
*/ */
void setHandleManager(HandleManager *hm); void setHandleManager(HandleManager *hm);
/*! /*!
@ -271,7 +271,7 @@ index \b \e cameraIndex.
return getCamera(TStageObjectId::CameraId(cameraIndex)); return getCamera(TStageObjectId::CameraId(cameraIndex));
} }
/*! /*!
Return a pointer to current stage objetc tree camera \b TCamera. Return a pointer to current stage object tree camera \b TCamera.
\sa getCamera() and getCurrentCameraId() \sa getCamera() and getCurrentCameraId()
*/ */
inline TCamera *getCurrentCamera() { return getCamera(getCurrentCameraId()); } inline TCamera *getCurrentCamera() { return getCamera(getCurrentCameraId()); }

View file

@ -40,7 +40,7 @@ class TFx;
\b TXshCellColumn, \b TXshSoundColumn and TXshPaletteColumn. \b TXshCellColumn, \b TXshSoundColumn and TXshPaletteColumn.
The class contains all features about a generic xsheet column and gives The class contains all features about a generic xsheet column and gives
all methods to access to these informations. all methods to access to these information.
The createEmpty() static method creates an new empty column. The createEmpty() static method creates an new empty column.

View file

@ -60,7 +60,7 @@ class ExpressionReferenceMonitor;
// TXsheet declaration // TXsheet declaration
//**************************************************************************************** //****************************************************************************************
//! This is the base class for an xsheet. An Xsheet is composed of colums of //! This is the base class for an xsheet. An Xsheet is composed of columns of
//! frames. //! frames.
/*! /*!
Inherits \b TSmartObject and \b TPersist. Inherits \b TSmartObject and \b TPersist.
@ -76,7 +76,7 @@ ToonzScene.
For purposes of this class, a Column is a graphics layer, and a For purposes of this class, a Column is a graphics layer, and a
row is a frame number. row is a frame number.
(Whether horizontal or vertial is a matter of displaying). (Whether horizontal or vertical is a matter of displaying).
A \b column \b set contains all xsheet columns. A collection of A \b column \b set contains all xsheet columns. A collection of
functions, concerning column functions, concerning column
@ -591,7 +591,7 @@ private:
TXsheet(const TXsheet &); TXsheet(const TXsheet &);
TXsheet &operator=(const TXsheet &); TXsheet &operator=(const TXsheet &);
/*! Return column in index if exists, overwise create a new column; /*! Return column in index if exists, otherwise create a new column;
if column exist and is empty check \b isSoundColumn and return right type. if column exist and is empty check \b isSoundColumn and return right type.
*/ */
TXshColumn *touchColumn(int index, TXshColumn *touchColumn(int index,

View file

@ -37,7 +37,7 @@ class TXshSoundTextLevel;
\b TXshChildLevel, \b TXshSimpleLevel and \b TXshZeraryFxLevel. \b TXshChildLevel, \b TXshSimpleLevel and \b TXshZeraryFxLevel.
The class contains all features about a generic level and gives all methods The class contains all features about a generic level and gives all methods
to access to these informations. to access to these information.
It's possible ot know level name, getName(), or identify level types It's possible ot know level name, getName(), or identify level types
getType(), getType(),

View file

@ -30,7 +30,7 @@ public:
struct Note { struct Note {
//! Default colors are defined in TSceneProperties //! Default colors are defined in TSceneProperties
int m_colorIndex; int m_colorIndex;
//! Is html test, contains font inforamtion. //! Is html test, contains font information.
QString m_text; QString m_text;
int m_row; int m_row;
int m_col; int m_col;

View file

@ -33,12 +33,12 @@ class TOStream;
/*! /*!
\brief Provides a base container for vectorization options. \brief Provides a base container for vectorization options.
\details All vectorization options and informations are passed from higher \details All vectorization options and information are passed from higher
(like \p VectorizerPopup) to lower layers (\p VectorizerCore) of (like \p VectorizerPopup) to lower layers (\p VectorizerCore) of
the vectorization process inside a \p VectorizerConfiguration the vectorization process inside a \p VectorizerConfiguration
variable. variable.
This typically includes vectorization modes, various sensitivity and This typically includes vectorization modes, various sensitivity and
accuracy parameters, and post-processing informations. This class accuracy parameters, and post-processing information. This class
merely acts as a base parameters container (although no pure virtual merely acts as a base parameters container (although no pure virtual
method is present) - meaning that every vectorization method method is present) - meaning that every vectorization method
inherits inherits

View file

@ -213,7 +213,7 @@ signals:
DoublePairField* doublePairFieldExample = new DoublePairField* doublePairFieldExample = new
DoublePairField(this); DoublePairField(this);
doublePairFieldExample->setLeftText(tr("Left Value:")); doublePairFieldExample->setLeftText(tr("Left Value:"));
doublePairFieldExample->setRightText(tr("Rigth doublePairFieldExample->setRightText(tr("Right
Value:")); Value:"));
doublePairFieldExample->setRange(0,10); doublePairFieldExample->setRange(0,10);
doublePairFieldExample->setValues(std::make_pair(3.58,7.65)); doublePairFieldExample->setValues(std::make_pair(3.58,7.65));
@ -240,7 +240,7 @@ public:
MeasuredDoublePairField* doublePairFieldExample = new MeasuredDoublePairField* doublePairFieldExample = new
MeasuredDoublePairField(this); MeasuredDoublePairField(this);
doublePairFieldExample->setLeftText(tr("Left Value:")); doublePairFieldExample->setLeftText(tr("Left Value:"));
doublePairFieldExample->setRightText(tr("Rigth doublePairFieldExample->setRightText(tr("Right
Value:")); Value:"));
doublePairFieldExample->setRange(0,10); doublePairFieldExample->setRange(0,10);
doublePairFieldExample->setValues(std::make_pair(3.58,7.65)); doublePairFieldExample->setValues(std::make_pair(3.58,7.65));

View file

@ -53,7 +53,7 @@ class QTimer;
available content space in that direction. They are \a empty by available content space in that direction. They are \a empty by
default, default,
but can be filled in or styled with a style sheet. but can be filled in or styled with a style sheet.
In the latter case, they are given an object name dependant on the In the latter case, they are given an object name dependent on the
scroll orientation - in the form scroll orientation - in the form
<TT>Scroll<Left/Right/Up/Down>Button</TT>. <TT>Scroll<Left/Right/Up/Down>Button</TT>.

View file

@ -259,7 +259,7 @@ public:
const QString &customizeId, const QString &customizeId,
FlipConsoleOwner *consoleOwner, // call FlipConsoleOwner *consoleOwner, // call
// consoleOwner->onDrawFrame() // consoleOwner->onDrawFrame()
// intead of emitting drawFrame // instead of emitting drawFrame
// signal // signal
bool enableBlanks = false); bool enableBlanks = false);
void enableBlanks(bool state); void enableBlanks(bool state);

View file

@ -143,7 +143,7 @@ public:
double xToFrame(double x) const; double xToFrame(double x) const;
double frameToX(double frame) const; double frameToX(double frame) const;
// note: the y-unit depends on the unit (e.g. degress, inches,..) and // note: the y-unit depends on the unit (e.g. degrees, inches,..) and
// therefore on the curve // therefore on the curve
double valueToY(TDoubleParam *curve, double value) const; double valueToY(TDoubleParam *curve, double value) const;
double yToValue(TDoubleParam *curve, double y) const; double yToValue(TDoubleParam *curve, double y) const;

View file

@ -77,7 +77,7 @@ public:
void refresh(); void refresh();
// overriden from TDoubleParamObserver // overridden from TDoubleParamObserver
void onChange(const TParamChange &) override { refresh(); } void onChange(const TParamChange &) override { refresh(); }
void setXsheetHandle(TXsheetHandle *xshHandle) { m_xshHandle = xshHandle; } void setXsheetHandle(TXsheetHandle *xshHandle) { m_xshHandle = xshHandle; }
@ -200,7 +200,7 @@ public:
void refresh() override; void refresh() override;
void apply() override; void apply() override;
// return false if a circular reference is occured // return false if a circular reference is occurred
bool getGuiValues(std::string &expressionText, std::string &unitName); bool getGuiValues(std::string &expressionText, std::string &unitName);
void init(int segmentLength) override; void init(int segmentLength) override;

View file

@ -138,8 +138,8 @@ public:
void simulateDisconnectSelection(bool disconnect); void simulateDisconnectSelection(bool disconnect);
//! Updates all Group Editors containing fx. //! Updates all Group Editors containing fx.
//! Each fx is only in one group, but each gruop can contains othe group. All //! Each fx is only in one group, but each gruop can contains other group.
//! nested Groups must be updated. // All nested Groups must be updated.
void updateNestedGroupEditors(FxSchematicNode *node, const QPointF &newPos); void updateNestedGroupEditors(FxSchematicNode *node, const QPointF &newPos);
void closeInnerMacroEditor(int groupId); void closeInnerMacroEditor(int groupId);
void resizeNodes(bool maximizedNode); void resizeNodes(bool maximizedNode);

View file

@ -67,7 +67,7 @@ namespace DVGui {
IntPairField* intPairFieldExample = new IntPairField* intPairFieldExample = new
IntPairField(this); IntPairField(this);
intPairFieldExample->setLeftText(tr("Left Value:")); intPairFieldExample->setLeftText(tr("Left Value:"));
intPairFieldExample->setRightText(tr("Rigth Value:")); intPairFieldExample->setRightText(tr("Right Value:"));
intPairFieldExample->setRange(0,10); intPairFieldExample->setRange(0,10);
intPairFieldExample->setValues(std::make_pair(3,8)); intPairFieldExample->setValues(std::make_pair(3,8));
\endcode \endcode

View file

@ -155,7 +155,7 @@ public:
bool canUseShortcut(QString shortcut); bool canUseShortcut(QString shortcut);
QAction *getAction(CommandId id, bool createIfNeeded = false); QAction *getAction(CommandId id, bool createIfNeeded = false);
// createAction creates a new indepenent QAction with text and shortcut // createAction creates a new independent QAction with text and shortcut
// if the action is a toggle action (e.g. show/hide something) the text is // if the action is a toggle action (e.g. show/hide something) the text is
// controlled by state // controlled by state
// you can use createAction() for context menu // you can use createAction() for context menu

View file

@ -257,13 +257,13 @@ public:
SchematicPort *getEndPort() const { return m_endPort; } SchematicPort *getEndPort() const { return m_endPort; }
/*! Returns the other SchematicPort linked to the specified \b port.\n /*! Returns the other SchematicPort linked to the specified \b port.\n
Returns 0 if \b port isn't neither the start SchematicPort eihter the end Returns 0 if \b port isn't neither the start SchematicPort either the end
SchematicPort of this link.*/ SchematicPort of this link.*/
SchematicPort *getOtherPort(const SchematicPort *port) const; SchematicPort *getOtherPort(const SchematicPort *port) const;
/*! Returns the other SchematicNode linked to the specified \b node.\n /*! Returns the other SchematicNode linked to the specified \b node.\n
Returns 0 if \b node isn't neither the parent node of the start Returns 0 if \b node isn't neither the parent node of the start
SchematicPort SchematicPort
eihter the parent node of the end SchematicPort of the link.*/ either the parent node of the end SchematicPort of the link.*/
SchematicNode *getOtherNode(const SchematicNode *node) const; SchematicNode *getOtherNode(const SchematicNode *node) const;
//! Returns true if the link is line shaped. //! Returns true if the link is line shaped.
@ -294,7 +294,7 @@ protected:
links but can begin to draw links.\n links but can begin to draw links.\n
A SchematicPort has got a hook thet is a position where links starts or A SchematicPort has got a hook thet is a position where links starts or
ends.\n ends.\n
A SchematicPort can be linked to an arbitriary number of links. A SchematicPort can be linked to an arbitrary number of links.
A SchematicPort handles a container of all links to retrieve all linked A SchematicPort handles a container of all links to retrieve all linked
node; each link is indexed using a node; each link is indexed using a
progressive number assigned when the link is inserted to the container. progressive number assigned when the link is inserted to the container.

View file

@ -90,7 +90,7 @@ protected:
//! Returns \b true if no nodes intersects \b rect. //! Returns \b true if no nodes intersects \b rect.
bool isAnEmptyZone(const QRectF &rect); bool isAnEmptyZone(const QRectF &rect);
//! Returns a vector containing all nodes which had their bounding rects //! Returns a vector containing all nodes which had their bounding rects
//! conatined in \b node bounding //! contained in \b node bounding
//! rect enlarged of 10. //! rect enlarged of 10.
QVector<SchematicNode *> getPlacedNode(SchematicNode *node); QVector<SchematicNode *> getPlacedNode(SchematicNode *node);

View file

@ -29,7 +29,7 @@ class StageSchematicGroupEditor;
// //
//================================================================== //==================================================================
//! Provide a structure representing a node af a tree. //! Provide a structure representing a node af a tree.
//! This class mantains information about a node of the stage schematic and its //! This class maintains information about a node of the stage schematic and its
//! children. //! children.
//! The tree is generated using the TStageObjectTree. //! The tree is generated using the TStageObjectTree.
//! The generated tree is used to oreder stage schematic nodes in the window. //! The generated tree is used to oreder stage schematic nodes in the window.
@ -74,7 +74,7 @@ public:
//! QGraphicsScene for the Stage Schematic. //! QGraphicsScene for the Stage Schematic.
//! All StageSchematicNode, StageSchematicSplineNode and link are pleced and //! All StageSchematicNode, StageSchematicSplineNode and link are pleced and
//! handled in this scene. //! handled in this scene.
//! The scene mantains two mapping: //! The scene maintains two mapping:
//! one for StageSchematicNode and one for StageSchematicSplineNode. These //! one for StageSchematicNode and one for StageSchematicSplineNode. These
//! mapping can be used to retrieve //! mapping can be used to retrieve
//! nodes and spline.\n //! nodes and spline.\n

View file

@ -84,19 +84,19 @@ public:
void setStdPaletteHandle(TPaletteHandle *stdPaletteHandle); void setStdPaletteHandle(TPaletteHandle *stdPaletteHandle);
TPaletteHandle *getStdPaletteHandle() const { return m_studioPaletteHandle; } TPaletteHandle *getStdPaletteHandle() const { return m_studioPaletteHandle; }
/*! Overriden from StudioPalette::Listener. */ /*! Overridden from StudioPalette::Listener. */
void onStudioPaletteTreeChange() override { refresh(); } void onStudioPaletteTreeChange() override { refresh(); }
/*! Overriden from StudioPalette::Listener. */ /*! Overridden from StudioPalette::Listener. */
void onStudioPaletteMove(const TFilePath &dstPath, void onStudioPaletteMove(const TFilePath &dstPath,
const TFilePath &srcPath) override { const TFilePath &srcPath) override {
refresh(); refresh();
} }
/*! Overriden from StudioPalette::Listener. */ /*! Overridden from StudioPalette::Listener. */
void onStudioPaletteChange(const TFilePath &palette) override { refresh(); } void onStudioPaletteChange(const TFilePath &palette) override { refresh(); }
/*! Overriden from TProjectManager::Listener. */ /*! Overridden from TProjectManager::Listener. */
void onProjectSwitched() override { resetProjectPaletteFolder(); } void onProjectSwitched() override { resetProjectPaletteFolder(); }
/*! Overriden from TProjectManager::Listener. */ /*! Overridden from TProjectManager::Listener. */
void onProjectChanged() override { resetProjectPaletteFolder(); } void onProjectChanged() override { resetProjectPaletteFolder(); }
TFilePath getCurrentItemPath() { return getItemPath(currentItem()); } TFilePath getCurrentItemPath() { return getItemPath(currentItem()); }

View file

@ -15,7 +15,7 @@
#define V_RotateReset "T_RotateReset" #define V_RotateReset "T_RotateReset"
#define V_PositionReset "T_PositionReset" #define V_PositionReset "T_PositionReset"
// folloing command ids are for command bar // following command ids are for command bar
#define VB_ViewReset "VB_ViewReset" #define VB_ViewReset "VB_ViewReset"
#define VB_ZoomFit "VB_ZoomFit" #define VB_ZoomFit "VB_ZoomFit"
#define VB_ZoomReset "VB_ZoomReset" #define VB_ZoomReset "VB_ZoomReset"

View file

@ -24,7 +24,7 @@ class BoardSettings;
//============================================================================= //=============================================================================
//! The TOutputProperties class provides a container for output properties and //! The TOutputProperties class provides a container for output properties and
//! gives all methods to access to these informations. //! gives all methods to access to these information.
/*!The class contains all features necessaries to compute output and provides a /*!The class contains all features necessaries to compute output and provides a
collection of functions that return the various feature, and enable collection of functions that return the various feature, and enable
manipulation of these. manipulation of these.
@ -42,18 +42,18 @@ class BoardSettings;
The getWhichLevels() function return a value is used to characterize which The getWhichLevels() function return a value is used to characterize which
levels are in output: levels are in output:
\li If value is TOutputProperties::AllLevels all levels are coputed in \li If value is TOutputProperties::AllLevels all levels are computed in
output. output.
\li If value is TOutputProperties::SelectedOnly only selectecd levels are \li If value is TOutputProperties::SelectedOnly only selectecd levels are
coputed in output. computed in output.
\li If value is TOutputProperties::AnimatedOnly only animated levels are \li If value is TOutputProperties::AnimatedOnly only animated levels are
coputed in output. computed in output.
It can be set by setWhichLevels(). It can be set by setWhichLevels().
The getFileFormatProperties(string ext) function return file of fomat \b ext The getFileFormatProperties(string ext) function return file of format \b ext
properties \b TPropertyGroup. It's possibile set different format and have properties \b TPropertyGroup. It's possibile set different format and have
appropriete properties. appropriate properties.
The getRenderSettings() function return render settings \b TRenderSettings, The getRenderSettings() function return render settings \b TRenderSettings,
it can be change using setRenderSettings(). it can be change using setRenderSettings().
@ -64,7 +64,7 @@ class DVAPI TOutputProperties {
public: public:
/*! /*!
This enum type is used to characterize which levels are in output. This enum type is used to characterize which levels are in output.
Can set in output all lavel, only selectecd levels or only animated levels. Can set in output to all levels, only selected levels or only animated levels.
\sa getWhichLevels(), setWhichLevels() \sa getWhichLevels(), setWhichLevels()
*/ */
enum { AllLevels, SelectedOnly, AnimatedOnly }; enum { AllLevels, SelectedOnly, AnimatedOnly };

View file

@ -74,7 +74,7 @@ Index \p 1
current current
implementation</I>, copy and assignment are \a forbidden. This behavior is implementation</I>, copy and assignment are \a forbidden. This behavior is
somewhat somewhat
inconsitent since a palette \b is currently \a clonable and \a assignable inconsistent since a palette \b is currently \a clonable and \a assignable
with the with the
appropriate functions. Normalization to common C++ syntax should be enforced appropriate functions. Normalization to common C++ syntax should be enforced
ASAP. ASAP.
@ -206,10 +206,10 @@ private:
bool m_isLocked; //!< Whether the palette is locked. bool m_isLocked; //!< Whether the palette is locked.
bool m_askOverwriteFlag; //!< This variable is quite unique. This flag is to bool m_askOverwriteFlag; //!< This variable is quite unique. This flag is to
//! acheive following beghavior: //! achieve following behavior:
//! When saving the level with the palette being edited, ask whether the //! When saving the level with the palette being edited, ask whether the
//! palette //! palette
//! should be overwitten ONLY ONCE AT THE FIRST TIME. //! should be overwritten ONLY ONCE AT THE FIRST TIME.
//! The confirmation dialog will not be opened unless the palette is edited //! The confirmation dialog will not be opened unless the palette is edited
//! again, //! again,
//! even if the palette's dirtyflag is true. //! even if the palette's dirtyflag is true.
@ -335,7 +335,7 @@ between RGBA color components.
bool isFromStudioPalette = false); //!< Copies src's page, color bool isFromStudioPalette = false); //!< Copies src's page, color
//! styles an animation table //! styles an animation table
//! to the //! to the
//! correspondig features of the palette. //! corresponding features of the palette.
//! if the palette is copied from studio palette, this function will modify //! if the palette is copied from studio palette, this function will modify
//! the original names. //! the original names.
void merge(const TPalette *src, void merge(const TPalette *src,
@ -378,7 +378,7 @@ between RGBA color components.
//! palette. //! palette.
void setRefImg(const TImageP &img); //!< Associates an image to this palette, void setRefImg(const TImageP &img); //!< Associates an image to this palette,
//! that is an image in the frame //! that is an image in the frame
//! builded or modified using this palette. //! built or modified using this palette.
const TFilePath getRefImgPath() const { const TFilePath getRefImgPath() const {
return m_refImgPath; return m_refImgPath;

View file

@ -34,7 +34,7 @@ class DVAPI TParam : public TSmartObject, public TPersist {
public: public:
/*! /*!
The contructor store the name of the parameter and initialize his The constructor store the name of the parameter and initialize his
interface with I/O through the class TPersist. interface with I/O through the class TPersist.
*/ */
TParam(std::string name = "", std::string description = "", TParam(std::string name = "", std::string description = "",

View file

@ -112,7 +112,7 @@ inline std::string TPersist::getStreamTag() const {
//------------------------------------------------------------------- //-------------------------------------------------------------------
/*! /*!
This template class is used to create an istance of the class \a This template class is used to create an instance of the class \a
T. T.
*/ */
template <class T> template <class T>

View file

@ -124,7 +124,7 @@ static inline TPixelRGBM32 from(const TPixelRGBM64 &pix);
static TPixelRGBM32 from(const TPixelGR8 &pix); static TPixelRGBM32 from(const TPixelGR8 &pix);
//!Converts TPixelGR16 into TPixelRGBM32 //!Converts TPixelGR16 into TPixelRGBM32
static TPixelRGBM32 from(const TPixelGR16 &pix); static TPixelRGBM32 from(const TPixelGR16 &pix);
//!In this conversion instead of truncating values fron 64 to 32 a randomic //!In this conversion instead of truncating values from 64 to 32 a randomic
dithering is performed. dithering is performed.
//!r is a unsigned int random value //!r is a unsigned int random value
static inline TPixelRGBM32 from(const TPixelRGBM64 &pix, TUINT32 r); // per il static inline TPixelRGBM32 from(const TPixelRGBM64 &pix, TUINT32 r); // per il

View file

@ -50,12 +50,12 @@ public:
inline void setValue(int _value) { value = (UCHAR)_value; } inline void setValue(int _value) { value = (UCHAR)_value; }
//! In this conversion instead of truncating values fron 16 to 8 a randomic //! In this conversion instead of truncating values from 16 to 8 a randomic
//! dithering is performed. //! dithering is performed.
// randomNumber is an unsigned int random value // randomNumber is an unsigned int random value
static inline TPixelGR8 from(const TPixelGR16 &pix, static inline TPixelGR8 from(const TPixelGR16 &pix,
TUINT32 randomNumber); // per il dithering TUINT32 randomNumber); // per il dithering
//! In this conversion instead of truncating values fron 64 to 8 a randomic //! In this conversion instead of truncating values from 64 to 8 a randomic
//! dithering is performed. //! dithering is performed.
// randomNumber is an unsigned int random value // randomNumber is an unsigned int random value

View file

@ -373,7 +373,7 @@ TRasterPT<T> TRasterT<T>::extractT(TRect &rect) {
// //
// metodi inline di TRasterPT // metodi inline di TRasterPT
// (n.b. se non si fanno esplicitament "inline" NT si confonde con dll // (n.b. se non si fanno esplicitament "inline" NT si confonde con dll
// exort/import) // export/import)
// //
template <class T> template <class T>

View file

@ -38,7 +38,7 @@ class TPalette;
//****************************************************************************** //******************************************************************************
/*! /*!
\brief Data class containing the relevant additional informations needed in \brief Data class containing the relevant additional information needed in
a render process. a render process.
\details This class stores most of the data required by Toonz and single fxs \details This class stores most of the data required by Toonz and single fxs
@ -55,7 +55,7 @@ class TPalette;
render render
on the default reference. on the default reference.
\sa TRasterFx::compute() for further informations. \sa TRasterFx::compute() for further information.
*/ */
class DVAPI TRenderSettings { class DVAPI TRenderSettings {

View file

@ -164,7 +164,7 @@ struct TRenderPort::RenderData {
//! discouraged. Further //! discouraged. Further
//! improvements of the TRenderer's API will eventually make the need for these //! improvements of the TRenderer's API will eventually make the need for these
//! calls obsolete. However, //! calls obsolete. However,
//! we've implemented the possibilty to rely on TRenderer's management support //! we've implemented the possibility to rely on TRenderer's management support
//! even in those cases - //! even in those cases -
//! it can be done by declaring the render process' interesting events through //! it can be done by declaring the render process' interesting events through
//! the apposite <a> declare..() <\a> //! the apposite <a> declare..() <\a>

View file

@ -144,7 +144,7 @@ private:
/*! \def MANAGER_FILESCOPE_DECLARATION(managerClass, generatorClass) /*! \def MANAGER_FILESCOPE_DECLARATION(managerClass, generatorClass)
This macro must be used at file scope to bind the manager to its generator This macro must be used at file scope to bind the manager to its generator
instance - just place it after the generator definition. instance - just place it after the generator definition.
\note In case the manager is dependant on some other manager, use the \note In case the manager is dependent on some other manager, use the
\c MANAGER_FILESCOPE_DECLARATION_DEP macro instead. \c MANAGER_FILESCOPE_DECLARATION_DEP macro instead.
*/ */

View file

@ -172,7 +172,7 @@ DVAPI void quickPut(const TRasterP &out, const TRasterCM32P &up,
const TPixel32 &globalColorScale = TPixel::Black, const TPixel32 &globalColorScale = TPixel::Black,
bool inksOnly = false); bool inksOnly = false);
// for trasparency check, ink check and paint check // for transparency check, ink check and paint check
class CmappedQuickputSettings { class CmappedQuickputSettings {
public: public:

View file

@ -41,7 +41,7 @@ class TVectorImage;
//********************************************************************************** //**********************************************************************************
/*! /*!
Base classs for stroke color styles. Base class for stroke color styles.
*/ */
class DVAPI TSimpleStrokeStyle : public TColorStyle { class DVAPI TSimpleStrokeStyle : public TColorStyle {

View file

@ -80,7 +80,7 @@ public:
/*! /*!
The class TSoundTrack contains all features about a sound track The class TSoundTrack contains all features about a sound track
and gives all methods to access to these informations and gives all methods to access to these information
*/ */
class DVAPI TSoundTrack : public TSmartObject { class DVAPI TSoundTrack : public TSmartObject {
DECLARE_CLASS_CODE DECLARE_CLASS_CODE
@ -198,7 +198,7 @@ Blanks the soundtrack in the given range. Range is expressed in seconds.
void blank(double t0, double t1); void blank(double t0, double t1);
/*! /*!
Returns a new soundtrack obtained applying the given sound tranform Returns a new soundtrack obtained applying the given sound transform
to the soundtrack to the soundtrack
*/ */
virtual TSoundTrackP apply(TSoundTransform *) = 0; virtual TSoundTrackP apply(TSoundTransform *) = 0;

Some files were not shown because too many files have changed in this diff Show more