From 1e797d1df78f68e824a9466b718901bb57f68c1a Mon Sep 17 00:00:00 2001 From: luz paz Date: Tue, 15 Mar 2022 19:04:38 -0400 Subject: [PATCH] Added requested revisions --- toonz/sources/image/tzl/tiio_tzl.cpp | 2 +- toonz/sources/include/tregion.h | 8 ++++---- toonz/sources/tnztools/toolutils.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/toonz/sources/image/tzl/tiio_tzl.cpp b/toonz/sources/image/tzl/tiio_tzl.cpp index 1bf4cf81..9dc177db 100644 --- a/toonz/sources/image/tzl/tiio_tzl.cpp +++ b/toonz/sources/image/tzl/tiio_tzl.cpp @@ -1328,7 +1328,7 @@ bool TLevelWriterTzl::resizeIcons(const TDimension &newSize) { if (!m_chan) return false; assert(m_version >= 13); - // make a copy of m_path and then use it for the resizeIcons() + // make a copy of m_path to be able to use it for resizeIcons() fclose(m_chan); m_chan = 0; TFileStatus fs(m_path); diff --git a/toonz/sources/include/tregion.h b/toonz/sources/include/tregion.h index 24cb5348..0decd68d 100644 --- a/toonz/sources/include/tregion.h +++ b/toonz/sources/include/tregion.h @@ -271,10 +271,10 @@ public: virtual void update(const TPointD &p1, const TPointD &p2) = 0; }; -// allows to calculate various magnitudes on the polygon of the region, -// such as area, center of gravity, perimeter etc... -// to use it, subclass the virtual class TRegionFeatureFormula -// specifying the formula of the quantity to calculate. +// allows you to calculate various measurements on the polygon +// of the region, such as area, center of mass, perimeter... +// to use it, you must subclass the virtual class by specifying +// the formula of the measurement to be calculated. void DVAPI computeRegionFeature(const TRegion &r, TRegionFeatureFormula &formula); diff --git a/toonz/sources/tnztools/toolutils.cpp b/toonz/sources/tnztools/toolutils.cpp index e41187a3..8fefeae0 100644 --- a/toonz/sources/tnztools/toolutils.cpp +++ b/toonz/sources/tnztools/toolutils.cpp @@ -1612,7 +1612,7 @@ void ToolUtils::drawBalloon(const TPointD &pos, std::string text, pp.moveTo(x0, y - 8 * devPixRatio); pp.lineTo(0, y + delta.y); pp.lineTo(x0, y); - /* rounded borders + /* rounded edges int arcSize = 10; pp.arcTo(x0,y1-arcSize,arcSize,arcSize,180,90); pp.arcTo(x1-arcSize,y1-arcSize,arcSize,arcSize,270,90);