Fix Hatch path fp math
Fix section face painting
This commit is contained in:
@@ -83,11 +83,12 @@ void QGIViewSection::drawSectionFace()
|
||||
std::vector<TechDrawGeometry::Face *>::iterator fit = sectionFaces.begin();
|
||||
QPen facePen;
|
||||
facePen.setCosmetic(true);
|
||||
//QBrush faceBrush;
|
||||
QBrush faceBrush(QBrush(QColor(0,0,255,40))); //temp. sb preference or property.
|
||||
for(; fit != sectionFaces.end(); fit++) {
|
||||
QGIFace* newFace = drawFace(*fit);
|
||||
newFace->setZValue(ZVALUE::SECTIONFACE);
|
||||
newFace->setBrush(faceBrush);
|
||||
newFace->setPen(facePen);
|
||||
//newFace->setEyeCandy()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user