Hot Door CORE Forum
applying a pathstyle - Printable Version

+- Hot Door CORE Forum (http://hotdoorcore.com/forum)
+-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1)
+--- Forum: Getting started (http://hotdoorcore.com/forum/forumdisplay.php?fid=6)
+--- Thread: applying a pathstyle (/showthread.php?tid=85)



applying a pathstyle - Rick Johnson - 07-19-2016

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;



RE: applying a pathstyle - garrett - 07-19-2016

You must use the hdi::core:TongueathArt:ConfusedetStyle() method.


RE: applying a pathstyle - Rick Johnson - 07-19-2016

Thank you, Garrett! I thought there must be a method for that. I'd like to find a way to print the online docs as one PDF document to make searching faster and more thorough. And to spare you from too many dope-slap questions like this one. But seriously, thank you!