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.
Initialize this path with the folling commands:
Initialize this path with the following commands:
```
$ 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)
{
printf("%s:\n", __FUNCTION__);
/* geometric plugin のように Bounding Box が自明の場合、 Skew などの変換の影響でフルスクリーン効果のような大きな Bouding Box が
/* geometric plugin のように Bounding Box が自明の場合、 Skew などの変換の影響でフルスクリーン効果のような大きな Bounding Box が
. .
*/
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)
{
printf("%s:\n", __FUNCTION__);
/* geometric plugin のように Bounding Box が自明の場合、 Skew などの変換の影響でフルスクリーン効果のような大きな Bouding Box が
/* geometric plugin のように Bounding Box が自明の場合、 Skew などの変換の影響でフルスクリーン効果のような大きな Bounding Box が
. .
*/
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>
"No Tile"&nbsp&nbspIt will not repeat the tiles.<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><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>

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>
"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>
"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><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>

View file

@ -29,7 +29,7 @@ Toonz既存の「TileFx」の機能を以下の点で強化したものです。
<LI><b>Left Quantity</b> : 左側に繰り返す回数を指定します。<br>
"No Tile"&nbsp&nbsp繰り返しません。<br>
"1 Tile"&nbsp&nbsp&nbsp1枚だけ繰り返します。<br>
"Mutiple Tiles"&nbsp必要な範囲内で無限に繰り返します。
"Multiple Tiles"&nbsp必要な範囲内で無限に繰り返します。
</LI>
<LI><b>Right Quantity</b> : 右側に繰り返す回数を指定します。Left Quantityを参照</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
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

View file

@ -254,7 +254,7 @@ and more.
Fx writers may want to explicitly specify a parameter concept
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

View file

@ -1103,7 +1103,7 @@ void TColorUtils::buildColorChipPalette(QList<QPair<TPixel32, TPoint>> &palette,
edgePoints.at(corners[EdgePoint::LeftLower]).pos);
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();
while (i != corners.constEnd()) {
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);
item->m_cantCompress = true;
CacheItemP newItem = new CompressedOnMemoryCacheItem(
item->getImage()); // WARNING the codec buffer allocation can CHANGE
item->getImage()); // WARNING the codec buffer allocation can CHANGE
// the cache.
item->m_cantCompress = false;
if (newItem->getSize() ==
@ -838,7 +838,7 @@ void TImageCache::Imp::doCompress() {
m_compressedItems[id] = newItem;
item = CacheItemP();
uitem = UncompressedOnMemoryCacheItemP();
// doCompress();//restart, since interators can have been changed (see
// doCompress();//restart, since iterators could have been changed (see
// comment above)
// return;
itu = m_itemHistory.begin();
@ -1921,13 +1921,13 @@ void TImageCache::Imp::outputMap(UINT chunkRequested, std::string filename) {
"\n";
// os<<"***bigmem available" +
// 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) +
" MB\n";
os << "***uncompressed NOT compressable(cantCompress) " +
os << "***uncompressed NOT compressible(cantCompress) " +
std::to_string(umcount2) + " " + std::to_string(umsize2 / 1024.0) +
" MB\n";
os << "***uncompressed compressable " + std::to_string(umcount3) + " " +
os << "***uncompressed compressible " + std::to_string(umcount3) + " " +
std::to_string(umsize3 / 1024.0) + " MB\n";
os << "***compressed on mem " + std::to_string(cmcount) + " " +
std::to_string((int)cmsize / 1048576.0) + " MB\n";

View file

@ -107,8 +107,8 @@
// conditions are *BLOCKING*.
// Thread-safety:
// * Most of the following code is mutex-protected, altough it might seem not -
// indeed,
// * Most of the following code is mutex-protected, although it might seem not
// like it - indeed,
// only *one* mutex is locked and unlocked all of the time. This 'transition
// mutex' is
// 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
or similar.
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.
\sa \b Executor::shutdown static method and \b Runnable::canceled signal.
@ -715,7 +715,7 @@ void Executor::init() {
//! to terminate - this depends
//! on the code connected to the terminated() signal and is under the user's
//! 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
//! is invoked in the controller thread, you should remember to implement a
//! 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.
The plane outside the complex is assumed to be transparent.
\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
respect
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 {
rasType = ::getRasterType(ras);
if (rasType == NONE) {
assert(!"The passed raster has unkown type!");
assert(!"The passed raster has unknown type!");
return false;
}
if (m_tileType != NONE && m_tileType != rasType) {

View file

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

View file

@ -34,7 +34,7 @@ public:
~StencilControlManager() {}
};
} // Local namepace
} // Local namespace
//-----------------------------------------------------------------------------------------
@ -43,7 +43,7 @@ public:
int m_stencilBitCount;
int m_pushCount;
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;
// the state of the (eventually virtual) top mask.

View file

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

View file

@ -706,7 +706,7 @@ void JpgExifReader::ProcessExifDir(unsigned char *DirStart,
if (ImageInfo.Comments[0]) { // We already have a jpeg comment.
// Already have a comment (probably windows comment), skip this one.
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.
}

View file

@ -65,7 +65,7 @@ m_buffer = BigMemoryManager.getMemoryChunk(lx*ly*pixelSize, this);
//m_buffer = new UCHAR[lx*ly*pixelSize];
m_totalMemory += ((lx*ly*pixelSize)>>10);
#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);
#endif
}*/

View file

@ -29,7 +29,7 @@ namespace borders {
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
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
Also, pixel selectors tell whether pixels are to be intended as
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
informations
information
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.
This means that users must always iterate from the beginning of a line to get
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
int x, y, lx = src->getLx(), ly = src->getLy();
// Peform rows erodilation
// Perform rows erodilation
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).
// NOTE: We'll assume we want to include in the filter mask all
//*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_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
tcm[0] = in_tcm[0];
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)
tcm[1] = in_tcm[1];
tcm[2] = in_tcm[wrapin];

View file

@ -777,7 +777,7 @@ void expandAreaAndFillGaps(TRasterCM32P ras) {
if (pix->getPaint() != TPixelCM32::getMaxPaint()) continue;
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())
paint = upPix->getPaint();
if (dnPix != pix && dnPix->getInk() != TPixelCM32::getMaxInk())

View file

@ -1154,7 +1154,7 @@ TIStream &TIStream::operator>>(TPersist *&v) {
//---------------------------------------------------------------
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->m_currentTag.m_type != StreamTag::EndTag) return false;
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")) {
// manually set the fail bit here, since constructor ifstream::ifstream(FILE*)
// 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);
}
@ -54,7 +54,7 @@ Tofstream::Tofstream(const TFilePath &fp, bool append_existing)
: ofstream(m_file = fopen(fp, append_existing ? "ab" : "wb")) {
// manually set the fail bit here, since constructor ofstream::ofstream(FILE*)
// 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);
}

View file

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

View file

@ -196,7 +196,7 @@ bool TSystem::memoryShortage() {
memStatus.ullTotalVirtual *
0.6; // if total memory used by this process(WorkingSetSize) is
// 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
// returns that there is memory, but for fragmentation the malloc fails the
// same!
@ -243,7 +243,7 @@ TINT64 TSystem::getFreeMemorySize(bool onlyPhisicalMemory) {
// check for virtual memory
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;

View file

@ -1438,7 +1438,7 @@ static bool isCloseEnoughP2P(double facMin, double facMax, TStroke *s1,
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*/
if (p0.thick == 0)
p0.thick = p1.thick;
@ -1618,7 +1618,7 @@ static bool isCloseEnoughP2L(double facMin, double facMax, TStroke *s1,
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*/
if (p0.thick == 0)
p0.thick = p1.thick;

View file

@ -1186,7 +1186,7 @@ DEFINE_CLASS_CODE(TStroke, 15)
//-----------------------------------------------------------------------------
// Costructor
// Constructor
TStroke::TStroke() : TSmartObject(m_classCode) {
vector<TThickPoint> p(3);
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 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),
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
if (isSamePos && index1 == index2) {
stroke1->setSelfLoop();

View file

@ -16,7 +16,7 @@ using namespace tellipticbrush;
/*! \file tellipticbrush.cpp
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:
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());
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)]
@ -877,7 +877,7 @@ void tellipticbrush::OutlineBuilder::addRoundSideCaps(
std::vector<TOutlinePoint> &oPoints, const CenterlinePoint &cPoint) {
// Side caps - this has only sense when the backward and forward
// 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
// side caps to cover the 'elbow fractures'
@ -1132,7 +1132,7 @@ namespace {
/*
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
linearized points)
*/

View file

@ -65,7 +65,7 @@ struct OutlinizationData {
which includes its position, and eventual forward and backward derivative-like
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,
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
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
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;
// 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
QStringList styles = m_pimpl->m_qfontdb->styles(qFamily);
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,
which is \a not the TIStream's file one.
*/
@ -1074,7 +1074,7 @@ void TPalette::setFrame(int frame) {
TColorStyle *cs = getStyle(styleId);
assert(cs);
// Buid the keyframes interval containing frame
// Build the keyframes interval containing frame
StyleAnimation::iterator j0, j1;
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
// if minimum is not found or is equal to previous value
// use an euristic...
// use a heuristic...
if (minimum < 0 || w == minimum) {
minimum = w + incr * 0.5;
w += step;

View file

@ -672,7 +672,7 @@ void RecursiveReferenceLinearizator::subdivideCenterline(
/*
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
linearized points)
*/

View file

@ -21,13 +21,13 @@
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,
QString &restrictions);
//! Returns true if the ginven codec can work in the given resolution.
bool DVAPI canWriteMovie(const std::wstring &codecName,
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.
QMap<std::wstring, bool> DVAPI getUsableCodecs(const TDimension &resolution);
//! Returns true if the specifiedcodec can be configured.

View file

@ -2,7 +2,7 @@
//-----------------------------------------------------------------------------
// 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

View file

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

View file

@ -46,7 +46,7 @@ class StrokeDeformationImpl;
/**
* @brief This class is the interface for manipulation
* algorihms.
* algorithms.
*
* StrokeDeformation is a wrapper for for StrokeDeformationImpl,
* 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
size of said
textures, which can be tested by asking OpenGL whether it can
accomodate specific
accommodate specific
texture requests or not.
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
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
texture loading into a MeshTexturizer instance.
*/

View file

@ -107,7 +107,7 @@ private:
\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
the processing of part of its algorithms.
\n\n

View file

@ -55,7 +55,7 @@ public:
/*!
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.
*/
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
associative
map, tweaked to accomodate specific commodities - such as managing
map, tweaked to accommodate specific commodities - such as managing
the cache
size.
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
objects
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;
}
// use macros insted of constexprs, because MSVC2013 does not support
// use macros instead of constexprs, because MSVC2013 does not support
// `constexpr`.
#define M_PI_3 (M_PI / 3)
#define M_PI_180 (M_PI_4 / 45)

View file

@ -123,7 +123,7 @@ public:
bool isBold(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,
wchar_t nextCode = 0) {

View file

@ -99,7 +99,7 @@ public:
// 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
//! via the TFxCacheManager::getResource() method or passed directly by it to
//! TFxCacheManagerDelegate instances.
@ -182,7 +182,7 @@ TFxCacheManagerDelegate instances.
Access to a cache resource is performed through the getResource() method, which
requires
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
of the request. If the resource is managed by some manager delegate, it will be
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>
*/
@ -1024,7 +1024,7 @@ a12*a12+a21*a21) < err;
*/
/*!
Retruns the transfomed point.
Returns the transformed point.
*/
TPointD operator*(const TPointD &p) const;
/*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;

View file

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

View file

@ -46,7 +46,7 @@ public:
\par A array of coeff
\par n size of matrix
\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.
\include mathutils_ex2.cpp
*/

View file

@ -53,7 +53,7 @@ public:
// client side
// '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);
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.
*/
@ -50,7 +50,7 @@ public:
};
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.
SELECTED_STYLES, //!< Acts only entities with selected palette styles.
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
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);
bool isPicking() const { return m_picking; }

View file

@ -277,7 +277,7 @@ protected slots:
void onFrameSwitched() { updateStatus(); }
// update the object list in combobox
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();
// change the current stage object when user changes it via combobox by hand
void onCurrentStageObjectComboActivated(int index);

View file

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

View file

@ -53,7 +53,7 @@ public:
void selectKeyframe(int kIndex);
// 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)
// note: call createKeyframe() when no other keyframes are selected
int createKeyframe(double frame);
@ -92,7 +92,7 @@ public:
double similarShapeOffset);
// 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();
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
bool m_ignored = false;
// 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.
QSet<int> m_colRefMap;
// 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,
TTileSaverCM32 *saver = 0, bool fillGaps = false,
bool closeGaps = false, int closeStyleIndex = -1,

View file

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

View file

@ -282,7 +282,7 @@ protected:
//! external data.
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
virtual void buildAllIconsAndPutInCache(TXshSimpleLevel *,
std::vector<TFrameId>,

View file

@ -55,7 +55,7 @@ public:
// 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_useLoadbox; //!< Flipbook-specific
@ -66,7 +66,7 @@ public:
bool m_recomputeIfNeeded;
bool m_drawBlankFrame;
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:
VisualSettings();

View file

@ -214,7 +214,7 @@ public:
ie
only \a fully white pixels will be replaced with transparent.
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. */
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
TFilePath
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
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
//! 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:
LevelUpdater();

View file

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

View file

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

View file

@ -223,7 +223,7 @@ private:
//! Compute the matrix used to distort image.
//! First is compute a transformation A' starting from m_startPoints to (0,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.
//! The resulting matrix is A'*A''.
void computeMatrix();

View file

@ -116,11 +116,11 @@ public:
const TFilePath path) const; //!< Builds the path to be used during a
//!< 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.
\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
//! levelPath is a file path
@ -169,7 +169,7 @@ Return scene frame count.
int getFrameCount() const;
/*!
Returs frame count stored in the scene header.
Returns frame count stored in the scene header.
Quicker than load(fp); getFrameCount()
*/
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)
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);
void setVersionNumber(VersionNumber version) { m_versionNumber = version; }
@ -265,7 +265,7 @@ If \b scene is in +scenes/name.tnz return name,
private:
TFilePath m_scenePath; //!< Full path to the scene file (.tnz).
ChildStack *m_childStack; //!< Xsheet hierachy.
ChildStack *m_childStack; //!< Xsheet hierarchy.
TSceneProperties *m_properties;
TLevelSet *m_levelSet;
TProject *m_project;

View file

@ -138,7 +138,7 @@ The default value is XY.
The Keyframe struct define a keyframe.
A keyframe allows to define object values in a specific frame.
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,
as:
@ -317,7 +317,7 @@ object.
//! Returns true if \e frame is a keyframe for all channels.
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.
bool is52FullKeyframe(int frame) const;
@ -439,7 +439,7 @@ Doesn't delete \e this.
*/
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);
//! 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
less than 1000; othrwise return false.
\n Set \b TAffine \b aff to current object trasformation matrix computed
using camera and object trasformation matrix,
\n Set \b TAffine \b aff to current object transformation matrix computed
using camera and object transformation matrix,
\b cameraAff, \b objectAff, and using camera and object position in z-axis,
\b cameraZ, \b objectZ.
\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);
/*!
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.
\n It doesn't delete the stage object.
\sa insertStageObject() and removeColumn()
@ -133,7 +133,7 @@ TStageObjectId \b \e id.
*/
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.
*/
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
the point position
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);
/*!
@ -271,7 +271,7 @@ index \b \e 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()
*/
inline TCamera *getCurrentCamera() { return getCamera(getCurrentCameraId()); }

View file

@ -40,7 +40,7 @@ class TFx;
\b TXshCellColumn, \b TXshSoundColumn and TXshPaletteColumn.
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.

View file

@ -60,7 +60,7 @@ class ExpressionReferenceMonitor;
// 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.
/*!
Inherits \b TSmartObject and \b TPersist.
@ -76,7 +76,7 @@ ToonzScene.
For purposes of this class, a Column is a graphics layer, and a
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
functions, concerning column
@ -591,7 +591,7 @@ private:
TXsheet(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.
*/
TXshColumn *touchColumn(int index,

View file

@ -37,7 +37,7 @@ class TXshSoundTextLevel;
\b TXshChildLevel, \b TXshSimpleLevel and \b TXshZeraryFxLevel.
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
getType(),

View file

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

View file

@ -33,12 +33,12 @@ class TOStream;
/*!
\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
the vectorization process inside a \p VectorizerConfiguration
variable.
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
method is present) - meaning that every vectorization method
inherits

View file

@ -213,7 +213,7 @@ signals:
DoublePairField* doublePairFieldExample = new
DoublePairField(this);
doublePairFieldExample->setLeftText(tr("Left Value:"));
doublePairFieldExample->setRightText(tr("Rigth
doublePairFieldExample->setRightText(tr("Right
Value:"));
doublePairFieldExample->setRange(0,10);
doublePairFieldExample->setValues(std::make_pair(3.58,7.65));
@ -240,7 +240,7 @@ public:
MeasuredDoublePairField* doublePairFieldExample = new
MeasuredDoublePairField(this);
doublePairFieldExample->setLeftText(tr("Left Value:"));
doublePairFieldExample->setRightText(tr("Rigth
doublePairFieldExample->setRightText(tr("Right
Value:"));
doublePairFieldExample->setRange(0,10);
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
default,
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
<TT>Scroll<Left/Right/Up/Down>Button</TT>.

View file

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

View file

@ -143,7 +143,7 @@ public:
double xToFrame(double x) 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
double valueToY(TDoubleParam *curve, double value) const;
double yToValue(TDoubleParam *curve, double y) const;

View file

@ -77,7 +77,7 @@ public:
void refresh();
// overriden from TDoubleParamObserver
// overridden from TDoubleParamObserver
void onChange(const TParamChange &) override { refresh(); }
void setXsheetHandle(TXsheetHandle *xshHandle) { m_xshHandle = xshHandle; }
@ -200,7 +200,7 @@ public:
void refresh() 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);
void init(int segmentLength) override;

View file

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

View file

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

View file

@ -155,7 +155,7 @@ public:
bool canUseShortcut(QString shortcut);
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
// controlled by state
// you can use createAction() for context menu

View file

@ -257,13 +257,13 @@ public:
SchematicPort *getEndPort() const { return m_endPort; }
/*! 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 *getOtherPort(const SchematicPort *port) const;
/*! 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
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;
//! Returns true if the link is line shaped.
@ -294,7 +294,7 @@ protected:
links but can begin to draw links.\n
A SchematicPort has got a hook thet is a position where links starts or
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
node; each link is indexed using a
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.
bool isAnEmptyZone(const QRectF &rect);
//! 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.
QVector<SchematicNode *> getPlacedNode(SchematicNode *node);

View file

@ -29,7 +29,7 @@ class StageSchematicGroupEditor;
//
//==================================================================
//! 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.
//! The tree is generated using the TStageObjectTree.
//! The generated tree is used to oreder stage schematic nodes in the window.
@ -74,7 +74,7 @@ public:
//! QGraphicsScene for the Stage Schematic.
//! All StageSchematicNode, StageSchematicSplineNode and link are pleced and
//! handled in this scene.
//! The scene mantains two mapping:
//! The scene maintains two mapping:
//! one for StageSchematicNode and one for StageSchematicSplineNode. These
//! mapping can be used to retrieve
//! nodes and spline.\n

View file

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

View file

@ -15,7 +15,7 @@
#define V_RotateReset "T_RotateReset"
#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_ZoomFit "VB_ZoomFit"
#define VB_ZoomReset "VB_ZoomReset"

View file

@ -24,7 +24,7 @@ class BoardSettings;
//=============================================================================
//! 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
collection of functions that return the various feature, and enable
manipulation of these.
@ -42,18 +42,18 @@ class BoardSettings;
The getWhichLevels() function return a value is used to characterize which
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.
\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
coputed in output.
computed in output.
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
appropriete properties.
appropriate properties.
The getRenderSettings() function return render settings \b TRenderSettings,
it can be change using setRenderSettings().
@ -64,7 +64,7 @@ class DVAPI TOutputProperties {
public:
/*!
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()
*/
enum { AllLevels, SelectedOnly, AnimatedOnly };

View file

@ -74,7 +74,7 @@ Index \p 1
current
implementation</I>, copy and assignment are \a forbidden. This behavior is
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
appropriate functions. Normalization to common C++ syntax should be enforced
ASAP.
@ -206,10 +206,10 @@ private:
bool m_isLocked; //!< Whether the palette is locked.
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
//! 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
//! again,
//! even if the palette's dirtyflag is true.
@ -335,7 +335,7 @@ between RGBA color components.
bool isFromStudioPalette = false); //!< Copies src's page, color
//! styles an animation table
//! to the
//! correspondig features of the palette.
//! corresponding features of the palette.
//! if the palette is copied from studio palette, this function will modify
//! the original names.
void merge(const TPalette *src,
@ -378,7 +378,7 @@ between RGBA color components.
//! palette.
void setRefImg(const TImageP &img); //!< Associates an image to this palette,
//! that is an image in the frame
//! builded or modified using this palette.
//! built or modified using this palette.
const TFilePath getRefImgPath() const {
return m_refImgPath;

View file

@ -34,7 +34,7 @@ class DVAPI TParam : public TSmartObject, public TPersist {
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.
*/
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.
*/
template <class T>

View file

@ -124,7 +124,7 @@ static inline TPixelRGBM32 from(const TPixelRGBM64 &pix);
static TPixelRGBM32 from(const TPixelGR8 &pix);
//!Converts TPixelGR16 into TPixelRGBM32
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.
//!r is a unsigned int random value
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; }
//! 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.
// randomNumber is an unsigned int random value
static inline TPixelGR8 from(const TPixelGR16 &pix,
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.
// randomNumber is an unsigned int random value

View file

@ -373,7 +373,7 @@ TRasterPT<T> TRasterT<T>::extractT(TRect &rect) {
//
// metodi inline di TRasterPT
// (n.b. se non si fanno esplicitament "inline" NT si confonde con dll
// exort/import)
// export/import)
//
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.
\details This class stores most of the data required by Toonz and single fxs
@ -55,7 +55,7 @@ class TPalette;
render
on the default reference.
\sa TRasterFx::compute() for further informations.
\sa TRasterFx::compute() for further information.
*/
class DVAPI TRenderSettings {

View file

@ -164,7 +164,7 @@ struct TRenderPort::RenderData {
//! discouraged. Further
//! improvements of the TRenderer's API will eventually make the need for these
//! 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 -
//! it can be done by declaring the render process' interesting events through
//! the apposite <a> declare..() <\a>

View file

@ -144,7 +144,7 @@ private:
/*! \def MANAGER_FILESCOPE_DECLARATION(managerClass, generatorClass)
This macro must be used at file scope to bind the manager to its generator
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.
*/

View file

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

View file

@ -80,7 +80,7 @@ public:
/*!
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 {
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);
/*!
Returns a new soundtrack obtained applying the given sound tranform
Returns a new soundtrack obtained applying the given sound transform
to the soundtrack
*/
virtual TSoundTrackP apply(TSoundTransform *) = 0;

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