[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] Drawing on Printer vs Display
|
See:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/faq.html#smallprint
You MUST recreate your images, fonts and colors on Printer.
Sebastian Ferreyra <sebastianf@xxxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
08/28/2003 04:29 PM
Please respond to platform-swt-dev
To: platform-swt-dev@xxxxxxxxxxx
cc:
Subject: [platform-swt-dev] Drawing on Printer vs Display
Hi, I would like to know how important it is to properly create colors
and fonts
on the GC currently being drawn to.
As far as I can tell (I haven't looked in depth yet) when you call
setForeground
or setBackground on a GC it does not check to see if the Color belongs
to the
same device as the GC. I haven't checked this for Font yet.
I could test this to see wheter it works or not. But I'm interested in
knowing about
the design intent behind the functionality. As I said, I haven't checked
in depth but
in many places SWT itself appears not to care.
To summarize with an example, may I and more importantly SHOULD I use
Colors
created on a Display device in Printer.setForeground( .. )?
Any comments would be appreciated.
Seb
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev