[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

1068.0. "Can get direct bitmap data in screen ?" by JIT761::NAKAZAWA () Thu Jul 06 1989 02:37

	I have a question.

	Can I get direct bitmap data in screen ?

	In UIS, I could get direct bitmap data using QIO (IO$_QDREAD)

	If I can get it, please tell me how to get!!!

	regards,
	masahiro

T.RTitleUserPersonal
Name
DateLines
1068.1SDSVAX::SWEENEYHoney, I iconified the kidsThu Jul 06 1989 08:299
    This is all very clearly described in the documentation.
    
    The Xlib routines I use are
    
    XCreateBitmapFromData
    XReadBitmapFile
    XCopyArea
    XCopyPlane

1068.2customer request print screen for LJ250.JIT761::NAKAZAWAThu Jul 06 1989 22:4616
	I want to get bitmap data from ANY part of screen,
	LIKE DECwindows print screen.

	My customer requests print screen program for LJ250.

	Can these routine be get bitmap data from any part of screen ?

	    XCreateBitmapFromData
	    XReadBitmapFile
    	    XCopyArea
    	    XCopyPlane
	

	regards,
	masahiro

1068.3STAR::ORGOVANVince OrgovanThu Jul 06 1989 23:429
    The Xlib routine XGetImage can be used to get bitmap data from any
    part of the screen.
    
    VMS DECwindows V5.1 and V5.2, i.e. version 1 DECwindows, doesn't
    provide printscreen support for the LJ250. I believe that several
    people has posted workarounds for this in other notes.
    
    DECwindows V2 printscreen will support the LJ250.

1068.4VWSENG::KLEINSORGEToys 'R' UsFri Jul 07 1989 14:3914
    
    Actually it isn't all that clearly documented, but fortunately you
    want to do the easy thing - read from the ROOT window, and as noted
    you can do this easily using the standard Xlib calls.
    
    The part that isn't so clearly documented is the how to deal with the
    fact that window contents are not guaranteed to be valid.  It means
    understanding how to determine that the data read was actually good
    bits and the interaction with graphic exposure events... but this is
    really only an issue when you are trying to do somthing like the
    UISDC$READ_IMAGE.
    
    

1068.5V2?JIT761::NAKAZAWAMon Jul 10 1989 07:0819
>================================================================================
>Note 1068.3          Can get direct bitmap data in screen ?               3 of 4
>STAR::ORGOVAN "Vince Orgovan"                         8 lines   6-JUL-1989 22:42
>--------------------------------------------------------------------------------

>    The Xlib routine XGetImage can be used to get bitmap data from any
>    part of the screen.
    
>    VMS DECwindows V5.1 and V5.2, i.e. version 1 DECwindows, doesn't
>    provide printscreen support for the LJ250. I believe that several
>    people has posted workarounds for this in other notes.
    
>    DECwindows V2 printscreen will support the LJ250.
     ~~~~~~~~~~~~~
     When will it be ship from SDC ?

     Regards,
     masahiro.

1068.6LESLIE::LESLIEandy ��� leslieMon Jul 10 1989 09:256
    
    Which SDC/SSB? It should go into SSB during Q2. More detailed info
    should be sought from Product Management via VAXmail.
    
    - ���

1068.7how to get pointer positionJIT761::NAKAZAWAMon Jul 10 1989 21:538
	I want to get POINTER position when I push button or release,
	LIKE DECwindows print screen.

	what kind of subroutines can I use ?

	regards,
	masahiro