[Bug AWT/16729] New: Component.print() and Component.printAll() does not affect graphics parameter

myersj at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 26 23:20:00 GMT 2004


The print and printAll methods on Component are meant to paint the given
component and its children onto the graphics context.  This is very useful for
performing captures of gui images.  The current implementation of print simply
paints the GTK AWT peer without effecting the graphics context.

When resolving this issue, please make sure that the solution will properly
print when the component is not visble on screen (hidden behind other windows or
off the edge of the screen).  This may require some monkeying with the double
buffer support in GTK.

-- 
           Summary: Component.print() and Component.printAll() does not
                    affect graphics parameter
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: AWT
        AssignedTo: fitzsim at redhat dot com
        ReportedBy: myersj at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16729



More information about the Gcc-bugs mailing list