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

Conference vaxuum::online_bookbuilding

Title:Online Bookbuilding
Notice:This conference is write-locked: see note 1.3.
Moderator:VAXUUM::UTT
Created:Fri Aug 12 1988
Last Modified:Mon Jul 15 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:440
Total number of notes:2134

45.0. "GPX default background and RAGS" by CRAYON::GENT (There is no poetry without madness -- Democritus) Wed Dec 14 1988 13:25

    Hi,
    
    The default background color for the GPX is now a dull yellow/cream 
    color. (DECwindows FT2.1.) The Bookreader uses the background color
    for text and FSE binary files. However, RAGS diagrams always come
    out with a white background. This looks very strange, especially
    for in-text figures (informal). Is there a way to use the default 
    background in RAGS files?
    
    Thank you,
    
    --Andrew
T.RTitleUserPersonal
Name
DateLines
45.1VAXUUM::UTTWed Dec 14 1988 14:067
    We always use a white background for the figures because the artwork is
    drawn assuming black drawings on white and we have no way of knowing
    what the user has (re)set the default to.  If the user has set
    his/her default background to black, text and other details on the
    drawing will be lost from view. 
    
    Mary
45.2But is it possible?CRAYON::GENTThere is no poetry without madness -- DemocritusThu Dec 15 1988 08:4810
    Hmm.... Let me rephrase that. Is there anyway to have RAGS 
    diagrams use the default foreground and background color, rather
    than explicit black and white? (There is a slight inconsistency
    because FSE binary files do not show up with a white background.) 
    We have a special need to have RAGS diagrams appear as really
    part of the text rather than a figure.
    
    Thanks,
    
    --Andrew
45.3clarification?STAR::KRAETSCHNeXt Window PleaseThu Dec 15 1988 13:412
Are you looking for the defaults that are in effect when the figure is created
or those that are in effect when the figure is displayed?
45.4At run-timeCRAYON::GENTThere is no poetry without madness -- DemocritusThu Dec 15 1988 16:394
    When it is displayed. (I want the figure to blend in with the
    rest of the text "page"...)
    
    --Andrew
45.5not in v1STAR::KRAETSCHNeXt Window PleaseThu Dec 15 1988 17:3216
That's what I was afraid of.  There is no way in the current version of RAGS
or the graphics display routines in the v1 Bookreader to do this.  We are 
looking into it for the future, but there are a lot of issues with color
graphics that could get involved.

If it's really important to use the default colors in v1, the only way to
do it is to use bitmaps.  As you noticed, these are displayed with default
background and foreground.

An earlier version of the Bookreader used the default background for RAGS
graphics, but if that default was a dark color (worst case Black), parts of
graphics became invisible or hard to see.  Many of the graphics were drawn
assuming they would be printed on white paper.  This is why we put the
explicit white background up before displaying the graphic.

joe
45.6CRAYON::GENTThere is no poetry without madness -- DemocritusFri Dec 16 1988 09:213
    OK. Thanks for the explanation.
    
    --Andrew
45.7use MOPS for DECW$BOOKFIG...AITG::WARNERRoss WarnerTue Jun 13 1989 12:425
    I understand that if you use MOPS to create a DECW$BOOKFIG file from
    the RAGS metafile, you can use a qualifier to get the default colors.
    You can also scale the figure, etc., using any MOPS qualifiers. If I
    can find the precise qualifiers for the color issue, I'll write another
    reply to this note.
45.8DECWET::KOSAKYou get what you think aboutTue Jun 13 1989 13:391
    Try /NOBACKGROUND
45.9/NOBACKGROUND MOPS qualifierAITG::WARNERRoss WarnerTue Jun 13 1989 16:377
    The MOPS command is:
    
    	MOPS test.rags/NOBACKGROUND/output=FILE.DECW$BOOKFIG
    
    The /NOBACKGROUND overrides the background color used when creating the
    RAGS metafile, and instead allows the graphic to take on the background
    color defined by the user in the Session Manager window.
45.10CLOSET::ACKERMANDebbie AckermanWed Jun 14 1989 09:597
    For a complete listing of MOPS qualifiers see note 311.1 and 311.2 in
    the DOC_GRAPHICS notesfiles on CLOSET::.
    
    Also, refer to note 396.4 of that conference for the default color
    explanation with respect to bookbuilding files.
    
    debbie