[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

3926.0. "How to create circular icons?" by TAEC::FRESNEDA () Tue Oct 20 1992 11:47

Hello,

Do you know how to create circular icons like the ones showed on page 3-35
of DECmcc V1.2 director use manual? I mean DEMPR and DESPR icons.
 
If you follow the steps of page 3-34 you always get an icon surrounded by
a square.

Regards,
Christine 
T.RTitleUserPersonal
Name
DateLines
3926.1Circular in toolbox only; Square in map windowTOOK::FIGWERUlla Figwer LKG2-2/T2 x226-7858Wed Oct 21 1992 16:2023
    
    Hello Christine,
    
    If you are referring to the DEMPR and DESPR icons available
    in the toolbox to represent DOMAINs, I see the same behavior
    you do.  In the toolbox they appear as circles, but when
    placed on the map they are surrounded by a box.
    
    Perhaps they are surrounded by a box to make them look more like
    all the other icons which are rectangular in shape, or to 
    make them more visible.
    
    Regards,
    
    Ulla
    
    P.S.  I do not have a copy of the Director Use manual handy.  In
    the picture you see, are the icons circular in the map window, or
    only in the toolbox?  If they are circular in the map window too,
    then we have a bug in the documentation.  Please let us know
    if that is the case.  Thanks.
    
    
3926.2Ok but how?TAEC::FRESNEDAThu Oct 22 1992 07:3118
>>    P.S.  I do not have a copy of the Director Use manual handy.  In
>>    the picture you see, are the icons circular in the map window, or
>>    only in the toolbox?  If they are circular in the map window too,
>>    then we have a bug in the documentation.  Please let us know
>>    if that is the case.  Thanks.
    
  The icons are circular on a 'Add entity window'. No iconic map is shown 
  for this example. But when the customer saw circular icons, he thought 
  that he could create some circular ones as explained on page 3-34. 
  So he really think there is a trick to get rid off the square around. 
  If it's not the   case, the manual shouldn't show circular icons at all.

  The question is how did those two icons on page 3-35 (DEMPR and DESPR)
  get created?

  regards,
  Christine
3926.3TOOK::MCPHERSONpre-retinal integrationThu Oct 22 1992 09:3738
    With the exception of the 'stretchy icons' (line, square, circle),
    *ALL* of the icons are defined by rectangular spaces.  They are all
    (again, with the exception of the 'stretchy icons') simply X-11 bitmap
    files. An X-11 bitmap file ALWAYS defines an area that is "X" pixels
    wide x "Y" pixels high.  There is no getting around this.   You are
    entirely free to draw a circle *within* a 40x40 pixel square, but it
    will *always* exist on a background that is 40x40. The 'stretchy icons'
    are special, in that they are actuall graphic objects (i.e. they can be
    stretched, resized, etc) as opposed to the static X-11 bitmaps used for
    all of the other icon representations.

    I find it interesting that you can actually *see* the square
    background...  This is odd.   (Maybe someone from the IMPM group can
    comment on this.... I *thought* that the icon background would match
    the background of the map and therefore appear 'invisible'.   At least
    it would appear that way until you tried to connect a line to it at
    anything other than a 90 degree angle.  Then the line would be occluded
    by the portions of the (heretofore invisible) square background....

    If you want to put a circlular icon on the map and have it appear
    *truly* as a circle (without the problems I described above) then you
    should select the circular stretchy icon from lower left portion of the
    window that pops up when you select the class of entity that you want
    to put on the map.   The Iconic Map will the use the stretchy circular
    icon, instead of the static X-11 bitmap representation.

    Regarding your question about how the icons got created:   If the icons
    were *real* (i.e. not simply fabricated by a tech writer for
    illustrative purposes) then they were created by  

    a) picking a stretchy icon and 'decorating' it with the 'text' tool
       from the iconic map toolbox, or 

    b) using am X-11 Bitmap editor (e.g. decw$examples:bitmap.exe) or 
       or DECpaint

    regards
    /doug
3926.4problem wuth strechy iconTAEC::FRESNEDAFri Oct 23 1992 11:2110
Hello,

Thank you for your explanations.

I tried to create a strechy icon (a circle) but I only get the four points
(to resize it) and not the line that actually makes the circle.

Regards,
Christine 

3926.5Hang in there..MCDOUG::MCPHERSONpre-retinal integrationFri Oct 23 1992 11:2519
>
>I tried to create a strechy icon (a circle) but I only get the four points
>(to resize it) and not the line that actually makes the circle.
>

Some things to check:

	Check line width (in the toolbox options) , select a nice wide one and
	try again.

	Can you draw *any* lines?

	What is your line color set to?

	
Can you draw a *box* or *line* stretchy icon ?

/doug

3926.6solvedTAEC::FRESNEDATue Oct 27 1992 11:464
Thank you the line color was set to white.

Christine