mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-03 08:26:27 +02:00
Fix misspellings in various modules.
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>If checked, a blank character is used as x/y coordinate
|
||||
separator. Otherweise a comma is used.</string>
|
||||
separator. Otherwise a comma is used.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -167,8 +167,8 @@ gsi::ClassExt<db::SaveLayoutOptions> gds2_writer_options (
|
||||
gsi::method_ext ("gds2_resolve_skew_arrays=", &set_gds2_resolve_skew_arrays, gsi::arg ("flag"),
|
||||
"@brief Resolves skew arrays into single instances\n"
|
||||
"\n"
|
||||
"Setting this property to true will make skew (non-orthongonal) arrays being resolved into single instances.\n"
|
||||
"Skew arrays happen if either the row or column vector isn't paralell to x or y axis. Such arrays can cause problems with "
|
||||
"Setting this property to true will make skew (non-orthogonal) arrays being resolved into single instances.\n"
|
||||
"Skew arrays happen if either the row or column vector isn't parallel to x or y axis. Such arrays can cause problems with "
|
||||
"some legacy software and can be disabled with this option.\n"
|
||||
"\nThis property has been added in version 0.27.1.\n"
|
||||
) +
|
||||
|
||||
@@ -1247,7 +1247,7 @@ public:
|
||||
void register_macro_cell (const std::string &mn, LEFDEFLayoutGenerator *generator);
|
||||
|
||||
/**
|
||||
* @brief Gets the macro cell for the given macro name or 0 if no such maco is registered
|
||||
* @brief Gets the macro cell for the given macro name or 0 if no such macro is registered
|
||||
*/
|
||||
std::pair<db::Cell *, db::Trans> macro_cell (const std::string &mn, Layout &layout, const std::vector<std::string> &maskshift_layers, const std::vector<unsigned int> &masks, const MacroDesc ¯o_desc, const LEFDEFNumberOfMasks *nm);
|
||||
|
||||
@@ -1427,7 +1427,7 @@ public:
|
||||
|
||||
protected:
|
||||
/**
|
||||
* @brief Actually does the readong
|
||||
* @brief Actually does the reading
|
||||
*
|
||||
* Reimplement that method for the LEF and DEF implementation
|
||||
*/
|
||||
@@ -1581,7 +1581,7 @@ protected:
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Gets a flag indicating whether pinance names shall be produced as properties
|
||||
* @brief Gets a flag indicating whether pin names shall be produced as properties
|
||||
*/
|
||||
bool produce_pin_props () const
|
||||
{
|
||||
@@ -1589,7 +1589,7 @@ protected:
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Gets the property name id of the pinance name property
|
||||
* @brief Gets the property name id of the pin name property
|
||||
*/
|
||||
db::property_names_id_type pin_prop_name_id () const
|
||||
{
|
||||
|
||||
@@ -194,7 +194,7 @@ gsi::Class<db::LEFDEFReaderOptions> decl_lefdef_config ("db", "LEFDEFReaderConfi
|
||||
) +
|
||||
gsi::method ("cell_outline_layer", &db::LEFDEFReaderOptions::cell_outline_layer,
|
||||
"@brief Gets the layer on which to produce the cell outline (diearea).\n"
|
||||
"This attribute is a string correspondig to the string representation of \\LayerInfo. "
|
||||
"This attribute is a string corresponding to the string representation of \\LayerInfo. "
|
||||
"This string can be either a layer number, a layer/datatype pair, a name or a combination of both. See \\LayerInfo for details.\n"
|
||||
"The setter for this attribute is \\cell_outline_layer=. See also \\produce_cell_outlines."
|
||||
) +
|
||||
@@ -212,7 +212,7 @@ gsi::Class<db::LEFDEFReaderOptions> decl_lefdef_config ("db", "LEFDEFReaderConfi
|
||||
) +
|
||||
gsi::method ("placement_blockage_layer", &db::LEFDEFReaderOptions::placement_blockage_layer,
|
||||
"@brief Gets the layer on which to produce the placement blockage.\n"
|
||||
"This attribute is a string correspondig to the string representation of \\LayerInfo. "
|
||||
"This attribute is a string corresponding to the string representation of \\LayerInfo. "
|
||||
"This string can be either a layer number, a layer/datatype pair, a name or a combination of both. See \\LayerInfo for details."
|
||||
"The setter for this attribute is \\placement_blockage_layer=. See also \\produce_placement_blockages."
|
||||
) +
|
||||
@@ -234,7 +234,7 @@ gsi::Class<db::LEFDEFReaderOptions> decl_lefdef_config ("db", "LEFDEFReaderConfi
|
||||
) +
|
||||
gsi::method ("region_layer", &db::LEFDEFReaderOptions::region_layer,
|
||||
"@brief Gets the layer on which to produce the regions.\n"
|
||||
"This attribute is a string correspondig to the string representation of \\LayerInfo. "
|
||||
"This attribute is a string corresponding to the string representation of \\LayerInfo. "
|
||||
"This string can be either a layer number, a layer/datatype pair, a name or a combination of both. See \\LayerInfo for details."
|
||||
"The setter for this attribute is \\region_layer=. See also \\produce_regions.\n"
|
||||
"\n"
|
||||
@@ -836,7 +836,7 @@ gsi::Class<db::LEFDEFReaderOptions> decl_lefdef_config ("db", "LEFDEFReaderConfi
|
||||
) +
|
||||
gsi::method ("separate_groups=", &db::LEFDEFReaderOptions::set_separate_groups, gsi::arg ("flag"),
|
||||
"@brief Sets a value indicating whether to create separate parent cells for individual groups.\n"
|
||||
"See \\seperate_groups for details about this property.\n"
|
||||
"See \\separate_groups for details about this property.\n"
|
||||
"\n"
|
||||
"This property has been added in version 0.27.\n"
|
||||
) +
|
||||
|
||||
@@ -580,7 +580,7 @@ MAGReader::read_cell_instance (tl::Extractor &ex, tl::TextInputStream &stream, L
|
||||
lib_path = lp->second;
|
||||
}
|
||||
} else {
|
||||
// give precendence to lib_path
|
||||
// give precedence to lib_path
|
||||
filename = tl::filename (filename);
|
||||
// save for next use
|
||||
m_use_lib_paths.insert (std::make_pair (filename, lib_path));
|
||||
|
||||
@@ -93,7 +93,7 @@ MAGWriter::write (db::Layout &layout, tl::OutputStream &stream, const db::SaveLa
|
||||
|
||||
// As a favor, write a dummy top level file before closing the stream. If the file name corresponds to a real cell,
|
||||
// this file is overwritten by the true cell.
|
||||
write_dummmy_top (cell_set, layout, stream);
|
||||
write_dummy_top (cell_set, layout, stream);
|
||||
stream.close ();
|
||||
|
||||
for (std::set<db::cell_index_type>::const_iterator c = cell_set.begin (); c != cell_set.end (); ++c) {
|
||||
@@ -115,7 +115,7 @@ MAGWriter::filename_for_cell (db::cell_index_type ci, db::Layout &layout)
|
||||
}
|
||||
|
||||
void
|
||||
MAGWriter::write_dummmy_top (const std::set<db::cell_index_type> &cell_set, const db::Layout &layout, tl::OutputStream &os)
|
||||
MAGWriter::write_dummy_top (const std::set<db::cell_index_type> &cell_set, const db::Layout &layout, tl::OutputStream &os)
|
||||
{
|
||||
os.set_as_text (true);
|
||||
os << "magic\n";
|
||||
@@ -407,7 +407,7 @@ MAGWriter::scaled (const db::Vector &v) const
|
||||
{
|
||||
db::Vector res (db::DVector (v) * m_sf);
|
||||
if (! db::DVector (res).equal (db::DVector (v) * m_sf)) {
|
||||
tl::warn << tl::sprintf (tl::to_string (tr ("Vector rounding occured at %s in cell %s - not a multiple of lambda (%.12g)")), v.to_string (), m_cellname, m_options.lambda);
|
||||
tl::warn << tl::sprintf (tl::to_string (tr ("Vector rounding occurred at %s in cell %s - not a multiple of lambda (%.12g)")), v.to_string (), m_cellname, m_options.lambda);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
@@ -417,7 +417,7 @@ MAGWriter::scaled (const db::Point &p) const
|
||||
{
|
||||
db::Point res (db::DPoint (p) * m_sf);
|
||||
if (! db::DPoint (res).equal (db::DPoint (p) * m_sf)) {
|
||||
tl::warn << tl::sprintf (tl::to_string (tr ("Coordinate rounding occured at %s in cell %s - not a multiple of lambda (%.12g)")), p.to_string (), m_cellname, m_options.lambda);
|
||||
tl::warn << tl::sprintf (tl::to_string (tr ("Coordinate rounding occurred at %s in cell %s - not a multiple of lambda (%.12g)")), p.to_string (), m_cellname, m_options.lambda);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ private:
|
||||
|
||||
std::string filename_for_cell (db::cell_index_type ci, db::Layout &layout);
|
||||
void write_cell (db::cell_index_type ci, const std::vector <std::pair <unsigned int, db::LayerProperties> > &layers, db::Layout &layout, tl::OutputStream &os);
|
||||
void write_dummmy_top (const std::set<db::cell_index_type> &cell_set, const db::Layout &layout, tl::OutputStream &os);
|
||||
void write_dummy_top (const std::set<db::cell_index_type> &cell_set, const db::Layout &layout, tl::OutputStream &os);
|
||||
void do_write_cell (db::cell_index_type ci, const std::vector <std::pair <unsigned int, db::LayerProperties> > &layers, db::Layout &layout, tl::OutputStream &os);
|
||||
void write_polygon (const db::Polygon &poly, const db::Layout &layout, tl::OutputStream &os);
|
||||
void write_label (const std::string &layer, const db::Text &text, const Layout &layout, tl::OutputStream &os);
|
||||
|
||||
@@ -212,7 +212,7 @@ gsi::ClassExt<db::LoadLayoutOptions> mag_reader_options (
|
||||
gsi::method_ext ("mag_lambda=", &set_mag_lambda, gsi::arg ("lambda"),
|
||||
"@brief Specifies the lambda value to used for reading\n"
|
||||
"\n"
|
||||
"The lamdba value is the basic unit of the layout. Magic draws layout as multiples of this basic unit. "
|
||||
"The lambda value is the basic unit of the layout. Magic draws layout as multiples of this basic unit. "
|
||||
"The layout read by the MAG reader will use the database unit specified by \\mag_dbu, but the physical layout "
|
||||
"coordinates will be multiples of \\mag_lambda.\n"
|
||||
"\nThis property has been added in version 0.26.2.\n"
|
||||
@@ -276,7 +276,7 @@ gsi::ClassExt<db::SaveLayoutOptions> mag_writer_options (
|
||||
gsi::method_ext ("mag_lambda=", &set_mag_lambda_w, gsi::arg ("lambda"),
|
||||
"@brief Specifies the lambda value to used for writing\n"
|
||||
"\n"
|
||||
"The lamdba value is the basic unit of the layout.\n"
|
||||
"The lambda value is the basic unit of the layout.\n"
|
||||
"The layout is brought to units of this value. If the layout is not on-grid on this unit, snapping will happen. "
|
||||
"If the value is less or equal to zero, KLayout will use the lambda value stored inside the layout set by a previous read operation "
|
||||
"of a MAGIC file. The lambda value is stored in the Layout object as the \"lambda\" metadata attribute.\n"
|
||||
|
||||
@@ -197,7 +197,7 @@ public:
|
||||
bool is_regular (db::Vector &a, db::Vector &b, size_t &n, size_t &m) const;
|
||||
|
||||
/**
|
||||
* @brief Check, if the repepetition is a iterated one
|
||||
* @brief Check, if the repetition is a iterated one
|
||||
*
|
||||
* @return 0 if not, otherwise a pointer to a vector of points
|
||||
*/
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
/**
|
||||
* @brief Indicates that the reader expects strict mode or note
|
||||
*
|
||||
* This is mainly a debugging an testing option but it may be used to verifiy
|
||||
* This is mainly a debugging an testing option but it may be used to verify
|
||||
* the compliance of a file with string or non-strict mode.
|
||||
*
|
||||
* The values are:
|
||||
|
||||
@@ -1952,7 +1952,7 @@ OASISReader::do_read_text (bool xy_absolute,
|
||||
|
||||
const std::vector<db::Vector> *points = 0;
|
||||
|
||||
// If the repetion is a regular one, convert the repetition into
|
||||
// If the repetition is a regular one, convert the repetition into
|
||||
// a shape array
|
||||
db::Vector a, b;
|
||||
size_t na, nb;
|
||||
@@ -2085,7 +2085,7 @@ OASISReader::do_read_rectangle (bool xy_absolute,
|
||||
|
||||
const std::vector<db::Vector> *points = 0;
|
||||
|
||||
// If the repetion is a regular one, convert the repetition into
|
||||
// If the repetition is a regular one, convert the repetition into
|
||||
// a box array
|
||||
db::Vector a, b;
|
||||
size_t na, nb;
|
||||
@@ -2207,7 +2207,7 @@ OASISReader::do_read_polygon (bool xy_absolute, db::cell_index_type cell_index,
|
||||
|
||||
const std::vector<db::Vector> *points = 0;
|
||||
|
||||
// If the repetion is a regular one, convert the repetition into
|
||||
// If the repetition is a regular one, convert the repetition into
|
||||
// a shape array
|
||||
db::Vector a, b;
|
||||
size_t na, nb;
|
||||
@@ -2376,7 +2376,7 @@ OASISReader::do_read_path (bool xy_absolute, db::cell_index_type cell_index, db:
|
||||
|
||||
const std::vector<db::Vector> *points = 0;
|
||||
|
||||
// If the repetion is a regular one, convert the repetition into
|
||||
// If the repetition is a regular one, convert the repetition into
|
||||
// a shape array
|
||||
db::Vector a, b;
|
||||
size_t na, nb;
|
||||
@@ -2545,7 +2545,7 @@ OASISReader::do_read_trapezoid (unsigned char r, bool xy_absolute,db::cell_index
|
||||
|
||||
const std::vector<db::Vector> *points = 0;
|
||||
|
||||
// If the repetion is a regular one, convert the repetition into
|
||||
// If the repetition is a regular one, convert the repetition into
|
||||
// a shape array
|
||||
db::Vector a, b;
|
||||
size_t na, nb;
|
||||
@@ -2905,7 +2905,7 @@ OASISReader::do_read_ctrapezoid (bool xy_absolute,db::cell_index_type cell_index
|
||||
|
||||
const std::vector<db::Vector> *points = 0;
|
||||
|
||||
// If the repetion is a regular one, convert the repetition into
|
||||
// If the repetition is a regular one, convert the repetition into
|
||||
// a shape array
|
||||
db::Vector a, b;
|
||||
size_t na, nb;
|
||||
@@ -3044,7 +3044,7 @@ OASISReader::do_read_circle (bool xy_absolute, db::cell_index_type cell_index, d
|
||||
|
||||
const std::vector<db::Vector> *points = 0;
|
||||
|
||||
// If the repetion is a regular one, convert the repetition into
|
||||
// If the repetition is a regular one, convert the repetition into
|
||||
// a shape array
|
||||
db::Vector a, b;
|
||||
size_t na, nb;
|
||||
|
||||
@@ -54,7 +54,7 @@ class OASISWriter;
|
||||
* This object will collect objects of the given kind and create
|
||||
* OASIS repetitions then. For this, it creates a hash map collecting all
|
||||
* equivalent objects on "add" and their displacements. When "emit" is called,
|
||||
* these displacements are converted to OASIS repetions and
|
||||
* these displacements are converted to OASIS repetitions and
|
||||
* emitted to the writer.
|
||||
*/
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace db
|
||||
struct GerberMetaData
|
||||
{
|
||||
/**
|
||||
* @brief Identfies the function of the layer
|
||||
* @brief Identifies the function of the layer
|
||||
*/
|
||||
enum Function
|
||||
{
|
||||
@@ -69,7 +69,7 @@ struct GerberMetaData
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Identfies the position of the layer
|
||||
* @brief Identifies the position of the layer
|
||||
*/
|
||||
enum Position
|
||||
{
|
||||
@@ -501,7 +501,7 @@ protected:
|
||||
/**
|
||||
* @brief This method updates the progress counter
|
||||
*
|
||||
* This method should be called regularily
|
||||
* This method should be called regularly
|
||||
*/
|
||||
void progress_checkpoint ();
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ RS274XApertureBase::produce_linear (const db::DCplxTrans &d, const db::DVector &
|
||||
|
||||
if (! do_produce_linear (from, to)) {
|
||||
|
||||
// fallback: produce flash and employ a Minkowsky sum to generate the resulting structure
|
||||
// fallback: produce flash and employ a Minkowski sum to generate the resulting structure
|
||||
do_produce_flash ();
|
||||
|
||||
double dbu = mp_reader->dbu ();
|
||||
|
||||
@@ -1067,7 +1067,7 @@ NetTracer::trace (const db::Layout &layout, const db::Cell &cell, const NetTrace
|
||||
db::Box b = c->first.bbox ();
|
||||
double a = c->first.shape ().area ();
|
||||
|
||||
// The ratio theshold of 20 for box/shape area was determined empirically
|
||||
// The ratio threshold of 20 for box/shape area was determined empirically
|
||||
if ((combined_box + b).area () > (asum + a) * 20.0) {
|
||||
++c;
|
||||
--n;
|
||||
@@ -1221,7 +1221,7 @@ NetTracer::trace (const db::Layout &layout, const db::Cell &cell, const NetTrace
|
||||
const NetTracerShape *stop = &m_shapes_graph.find (m_stop_shape)->first;
|
||||
const NetTracerShape *start = &m_shapes_graph.find (m_start_shape)->first;
|
||||
|
||||
// find the shortest path with Dijkstras algorithm
|
||||
// find the shortest path with Dijkstra's algorithm
|
||||
|
||||
std::map<const NetTracerShape *, const NetTracerShape *> previous;
|
||||
std::map<const NetTracerShape *, size_t> cost;
|
||||
|
||||
@@ -824,7 +824,7 @@ NetTracerDialog::update_info ()
|
||||
db::coord_traits<db::Coord>::area_type area = 0;
|
||||
db::coord_traits<db::Coord>::perimeter_type perimeter = 0;
|
||||
|
||||
// Despite merging, a multitude of seperate non-touching polygons can exist.
|
||||
// Despite merging, a multitude of separate non-touching polygons can exist.
|
||||
for (std::vector <db::Polygon>::iterator j = merged.begin (); j != merged.end (); ++j) {
|
||||
// Sum area
|
||||
area += j->area ();
|
||||
|
||||
@@ -180,7 +180,7 @@ normalize_scene_trans (const QMatrix4x4 &cam_trans, QVector3D &displacement, dou
|
||||
//
|
||||
// this is image invariant (only x,y results are considered) against changes of s (s->s') if
|
||||
//
|
||||
// 1.) (p*d*s+z)/s = (p*d'*s'+z)/s' (because x and y will be devided by this value)
|
||||
// 1.) (p*d*s+z)/s = (p*d'*s'+z)/s' (because x and y will be divided by this value)
|
||||
// 2.) (M*d*s+t)/s = (M*d'*s'+t)/s' for [x] and [y]
|
||||
//
|
||||
// or
|
||||
|
||||
@@ -309,7 +309,7 @@ D25ViewWidget::keyPressEvent (QKeyEvent *event)
|
||||
|
||||
if (! top_view () && (event->modifiers () & Qt::ControlModifier) != 0) {
|
||||
|
||||
// Ctrl + left/right changes azumith
|
||||
// Ctrl + left/right changes azimuths
|
||||
|
||||
double d = (event->key () == Qt::Key_Right ? 2 : -2);
|
||||
|
||||
|
||||
@@ -806,7 +806,7 @@ XORWorker::do_perform_deep (const XORTask *xor_task)
|
||||
rr.size (((*t + 1) / 2), (unsigned int)2, false);
|
||||
}
|
||||
|
||||
// TODO: no clipping for hieararchical mode yet
|
||||
// TODO: no clipping for hierarchical mode yet
|
||||
mp_job->issue_region (tol_index, xor_task->layer_index (), rr);
|
||||
|
||||
mp_job->add_results (xor_task->lp (), *t, rr.count (), xor_task->ix (), xor_task->iy ());
|
||||
|
||||
Reference in New Issue
Block a user