Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » graphics mechanism
graphics mechanism [message #446155] Thu, 18 November 2004 01:00 Go to next message
bob is currently offline bobFriend
Messages: 60
Registered: July 2009
Member
On the windows platform,when graphics resource has been allocated ,does that
mean
the graphics has existed in the memory?So when you ask it to be
shown,(shell.open()),the graphics in the memory is pushed on the screen?
Re: graphics mechanism [message #446166 is a reply to message #446155] Thu, 18 November 2004 15:24 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Typically no. Typically a paint request is sent on the open to the
shell, and passed in on the paint request is a graphics context. This
context is directly attached to the screen buffer (through the OS in
some manner). Then during the paint request you draw in this context,
which then draws on the screen.


--
Thanks,
Rich Kulp
Previous Topic:MDI in swt
Next Topic:text of a Text widget not redraw when resize
Goto Forum:
  


Current Time: Sat Apr 20 04:47:41 GMT 2024

Powered by FUDForum. Page generated in 0.03107 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top