07-19-2016, 10:51 AM
I've created a default path style for newly-created art, but it's not applying it to the art. Can someone tell me what I'm doing wrong? Thanks -- rj
Code:
hdi::core::PathStyle pStyl;
pStyl.useFill = false;
pStyl.useStroke = true;
pStyl.stroke.width = 0.5;
pStyl.stroke.dash = hdi::core::DashStyle::DashStyle();
pStyl.stroke.color = hdi::core::ArtColor::ArtColor(1.0);
lineArt.path()->style() = pStyl;