Hi Valery,
I see it against the svn head.
(run in batch).
Olivier
-----Original Message-----
From: owner-rootdev_at_root.cern.ch [mailto:owner-rootdev_at_root.cern.ch] On Behalf Of Valeri Onuchin
Sent: Tuesday, June 03, 2008 3:19 PM
To: Christian Hansen; rootdev_at_root.cern.ch; roottalk_at_root.cern.ch
Subject: HA: [ROOTDEV] color in .C file
Hi Christian,
I do not see this problem against SVN head (seems, has been fixed).
Regards. Valeriy
-----Исходное сообщение-----
От: owner-rootdev_at_root.cern.ch от имени Christian Hansen
Отправлено: Вт, 6/3/2008 3:09
Кому: rootdev_at_root.cern.ch; roottalk_at_root.cern.ch
Тема: [ROOTDEV] color in .C file
Dear Rooters,
When I define color on objects like for example arrows and text with
SetLineColor and SetTextColor
and plot the objects to a canvas and then save the canvas to a .C file
this color is not saved in the .C
file but if I save the canvas to a .jpg file the color works.
I have attached a small test program that shows this. This test
program produces two output files;
test.C and test.jpg. Executing test.C (root[1] .x test.C) shows all
objects black but in the .jpg file
the arrow and the text are red.
It would help me a lot if somebody showed me how to edit this test
program so that the .C file also
remember what color I want on the arrow and the text.
I use version 5.19/04.
Thanks!
/Christian
Received on Tue Jun 03 2008 - 15:21:26 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 03 2008 - 17:50:01 CEST