Use the same @todo hot comment style everywhere.
This commit is contained in:
parent
d514a26f92
commit
c5f3cd151a
@ -340,7 +340,7 @@ public:
|
|||||||
|
|
||||||
hStyle styleFor(const DRW_Entity *e) {
|
hStyle styleFor(const DRW_Entity *e) {
|
||||||
// Color.
|
// Color.
|
||||||
// TODO: which color to choose: index or RGB one?
|
//! @todo which color to choose: index or RGB one?
|
||||||
int col = getColor(e);
|
int col = getColor(e);
|
||||||
RgbaColor c = RgbaColor::From(DRW::dxfColors[col][0],
|
RgbaColor c = RgbaColor::From(DRW::dxfColors[col][0],
|
||||||
DRW::dxfColors[col][1],
|
DRW::dxfColors[col][1],
|
||||||
@ -352,7 +352,7 @@ public:
|
|||||||
if(width < 0.0) width = 1.0;
|
if(width < 0.0) width = 1.0;
|
||||||
|
|
||||||
// Line stipple.
|
// Line stipple.
|
||||||
// TODO: Probably, we can load default autocad patterns and match it with ours.
|
//! @todo Probably, we can load default autocad patterns and match it with ours.
|
||||||
std::string lineType = getLineType(e);
|
std::string lineType = getLineType(e);
|
||||||
StipplePattern stipple = StipplePattern::CONTINUOUS;
|
StipplePattern stipple = StipplePattern::CONTINUOUS;
|
||||||
for(uint32_t i = 0; i <= (uint32_t)StipplePattern::LAST; i++) {
|
for(uint32_t i = 0; i <= (uint32_t)StipplePattern::LAST; i++) {
|
||||||
|
@ -463,7 +463,7 @@ bool SShell::ClassifyEdge(Class *indir, Class *outdir,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(edge_inters == 2) {
|
if(edge_inters == 2) {
|
||||||
// TODO, make this use the appropriate curved normals
|
//! @todo make this use the appropriate curved normals
|
||||||
double dotp[2];
|
double dotp[2];
|
||||||
for(int i = 0; i < 2; i++) {
|
for(int i = 0; i < 2; i++) {
|
||||||
dotp[i] = edge_n_out.DirectionCosineWith(inter_surf_n[i]);
|
dotp[i] = edge_n_out.DirectionCosineWith(inter_surf_n[i]);
|
||||||
|
@ -81,8 +81,8 @@ void TtfFontList::LoadAll() {
|
|||||||
[](const TtfFont &a, const TtfFont &b) { return a.name == b.name; });
|
[](const TtfFont &a, const TtfFont &b) { return a.name == b.name; });
|
||||||
l.RemoveLast(&l[l.n] - it);
|
l.RemoveLast(&l[l.n] - it);
|
||||||
|
|
||||||
// TODO: identify fonts by their name and not filename, which may change
|
//! @todo identify fonts by their name and not filename, which may change
|
||||||
// between OSes.
|
//! between OSes.
|
||||||
|
|
||||||
loaded = true;
|
loaded = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user