Added requested revisions
This commit is contained in:
parent
dd194c4cc9
commit
1e797d1df7
3 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue