Navigation:  Reference > Detailed Function Description > Helper Functions >

FNDPlot_dumpgraph

 

Previous pageReturn to chapter overviewNext page

 

DEF FNDplot_dumpgraph(OPTIONAL @Bitmap,INTEGER Dumpisc,Dumpdevice$,INTEGER Flags, Dumpsize,Verbose)

!

! Create a DUMP GRAPHICS of the HTB window (bitmap screen or BPlus bitmap widget)

!

! INPUT:  @Bitmap:     I/O specifier for BPlus bitmap widget (high color mode only)

!                      This variable is needed for partial dumps

!         Dumpisc:     ISC of DUMP DEVICE

!         Dumpdevice$: Name of DUMP DEVICE (e.g. "WIN-DUMP", "PCL").

!                      If omitted or "" then "WIN-DUMP" is used (default)

!         Flags:       Control flags (add flag values)

!                       1  = partial DUMP GRAPHICS of the bitmap widget specified

!                            by @Bitmap

!                       2  = invert black and white

!                       4  = landscape mode

!                       8  = append DUMP

!                       16 = eject page after DUMP

!                       32 = do not dump window frame

!         Dumpsize:     DUMP size in percent (1..100)

 

FNDplot_dumpgraph creates a DUMP GRAPHICS of the currently displayed diagram in 256 color mode or of the Basic Plus widget window in high color mode

 

Example:

INTEGER Flags,Dumpsize,Dummy

Flags=1+2+4+8+16+32

Dumpsize=100               ! 100% dump size

Dummy=FNDplot_dumpgraph(@Bitmap1,10,"WIN-DUMP",Flags,Dumpsize)