haber@CS.WISC.EDU (Eben Merriam Haber) (04/29/91)
I am using IV 3.0-alpha (though my problem may be with any version). I am trying to create dashed lines, and lines wider than normal. I have tried SetBrush, creating a brush with a new pattern and width: myLine->SetBrush(new PBrush(0xeaea,8)) but the line come out looking completely normal. (By normal I mean the line is minimumwidth and not patterned). Any ideas what I might be missing? Thanks! Eben M Haber haber@micah.cs.wisc.edu
lehors@LEMUR.INRIA.FR (Arnaud LE HORS) (04/29/91)
Don't you have added myLine in a picture for which you have also defined a brush? From the manual: A picture has its own state which is ``concatenated'' with the state of its sub- graphics when the picture is drawn or erased. The semantics of concatentation are that subgraphics are drawn with the picture's state information substituted for their own, except for attributes that are undefined (nil) in the picture; the subgraphics' individual attributes are used for these values. This may be your problem... -- Arnaud LE HORS BULL Research France -- Koala Project lehors@sa.inria.fr Phone:(33) 93 65 77 71 Fax:(33) 93 65 77 66 Inria Sophia Antipolis B.P.109 06561 Valbonne Cedex France