Community
DWF
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Changing entity colors using DWF Toolkit

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
375 Views, 0 Replies

Changing entity colors using DWF Toolkit

Looking for some sample code that will let me read in a DWF, get an entity and change the color base on its existing color.

I was able to use the Aggregate sample in the DWFToolkit and I was able to open and existing DWF iterate thru the sections then write the sections to a new DWF file. I was able to use the BStreamFileToolkit stream parser while reading and was able to extract the existing color. But I am unable to get each object and write it to the new DWF with a new color. Can anyone send me a sample on how to do this part.

I have attached the Aggregate.cpp which I am able to read the existing colors of objects and print them out.

Would appreciate a code snippet to change color of the entities before writing them out to the new file.

Thanks,

Ed
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost

 

”Tips

 

”Services