Thread: GuiDrawingPanel
View Single Post
  #9  
Old 05-15-2009, 08:54 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Stefan View Post
Drawing panels are made to be fixed size. It even detects updates of images you have drawn into the drawing panel and is drawing again, in the good order. But when resizing the panel the content is lost. Does it need to be of dynamic size or can't you calculate the size before drawing?
Calculating the size before drawing would mean basically twice the workload just to get a predicted size(since it's working with variable sized images and such for the letters being drawn). It's essentially what I'm doing now -- calling the function twice.
Reply With Quote