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

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3148.0. "How to do a 'stretch-blit'" by TOOK::COOK (This Notes's for you - Neil Young) Mon Jul 30 1990 16:50

    What routine needs to be called to display an image 'stretched to
    fit the current size' of a window?
    
    i.e. XPutimage appears only to display an image in its pre-defined
    size.  But what I want to do is a "stretch-blit".  That is, I want
    to display (for instance) a bitmap, but dynamically alter either or
    both of its width or height.  Do any of the toolkits support such
    an operation?
    
    If so, a simple code fragment might be helpful.  Thanks.
    
T.RTitleUserPersonal
Name
DateLines
3148.1GILROY::kleeMon Jul 30 1990 19:565
Resizing bitmaps is a complex graphics operation.  Most higher level
graphics packages, including Display PostScript and PHIGS/PEX have
facilities for doing this.

Ken
3148.2DAVIS::peterPeter Davis, ZKO2-2/M28, 381-0838Tue Jul 31 1990 10:382
You can use the DEC Image Services for this.  Check in the
VISUAL::IMAGING conference.