Colored SVG Hatch patterns

This commit is contained in:
WandererFan
2016-06-16 10:33:20 -04:00
committed by wmayer
parent a7dac4721c
commit 030ccc172d
5 changed files with 27 additions and 9 deletions

View File

@@ -313,6 +313,8 @@ void QGIViewPart::drawViewPart()
TechDraw::DrawHatch* fHatch = faceIsHatched(i,hatchObjs);
if (fHatch) {
if (!fHatch->HatchPattern.isEmpty()) {
App::Color hColor = fHatch->HatchColor.getValue();
newFace->setHatchColor(hColor.asCSSString());
newFace->setHatch(fHatch->HatchPattern.getValue());
}
}