Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node image obscured (Read 2685 times)
asloan
YaBB Newbies
*
Offline



Posts: 35
Joined: Mar 6th, 2006
Node image obscured
Sep 18th, 2007 at 6:48pm
Print Post  
When I use a shape for a node such as "MultiDocument" or "MultiProc" and I place a picture in the top left corner of the node, the picture is partially or completely obscured ,depending on the size of the node(See image). Is there any way to not have the picture obscured?



Note: The position must be top-left.

Thanks,
Alan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node image obscured
Reply #1 - Sep 19th, 2007 at 6:18am
Print Post  
Bitmap images are always clipped to the box outlines. You could use custom drawing to draw the image yourself, clearing the clip region before that. Metafiles are not clipped, so another possibility is to use WMF images instead of bitmaps.

Stoyan
  
Back to top
 
IP Logged
 
asloan
YaBB Newbies
*
Offline



Posts: 35
Joined: Mar 6th, 2006
Re: Node image obscured
Reply #2 - Sep 19th, 2007 at 3:53pm
Print Post  
I used wmf files and it worked, however it seems to have negative effects on the overview (nodes in the overview appear as yellow cubes).

Thanks,
Alan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node image obscured
Reply #3 - Sep 19th, 2007 at 4:10pm
Print Post  
That might happen if the metafile contains instructions that change the mapping mode. Try to set Box.PicturePos to picStrecth, and call the ShapeTemplate.SetPictureRect method to specify that the image should be stretched in some region of your shapes (e.g. the top-left corner). Then the metafile might appear correctly in the overview too.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint