This is the automatically generated IRC log made by the logger bot from the SVG IRC chat at irc.freenode.net port 6667 channel #svg
You are here: Logs Home / 2008-07-22
06:45:12 <elliottcable> elliottcable is now known as ec
06:45:26 <ec> ec is now known as spax
06:46:07 <spax> spax is now known as ec
07:59:29 <[AD]Turbo> yo
08:54:06 <ec> ec is now known as battlecollie
09:21:48 <battlecollie> battlecollie is now known as ec
15:17:46 <emzic> hello, i want to scale an element using transform="scale(x,y)" syntax
15:18:05 <emzic> this seems to always scale it around the origin. how can i scale it around a given point?
15:18:14 <emzic> basically the center of the element?
15:19:03 <ed_work> translate first so that the center is in (0,0)
15:19:10 <ed_work> then rotate, then translate back
15:19:37 <ed_work> sorry, rotate == scale, but the principle is the same
15:21:28 <emzic> ok i tried that already but it still seemed to scale around the top left
15:21:45 <emzic> i tried to do translate(-halfwidth, -halfheight) before the scale
15:22:14 <emzic> while rotating works fine, since you can provide additional parameters in the rotate-syntax. like rotate(rot, x, y)
15:22:24 <emzic> but that syntax is not working for scale
15:34:31 <ed_work> transform="translate(cx,cy) scale(2,2) translate(-cx,-cy)" ?
15:36:22 <nicomen_> m, something has changed in 9.5 lately?
15:36:24 <nicomen_>http://people.opera.com/nicolasm/svg/rastervsvector.html
15:36:25 <svg-chump> A: http://people.opera.com/nicolasm/svg/rastervsvector.html from nicomen_
15:36:25 <nicomen_> vs
15:36:40 <nicomen_>http://people.opera.com/nicolasm/svg/rastervsvectorshot.png
15:36:41 <svg-chump> B: http://people.opera.com/nicolasm/svg/rastervsvectorshot.png from nicomen_
15:37:48 <nicomen_> emzic: maybe this is educational: http://people.opera.com/nicolasm/svg/scale.svg
15:38:12 <nicomen_> and this: http://people.opera.com/nicolasm/svg/rotate.svg
15:40:49 <emzic> yeah thanks! i needed to retranslate after the scale like ed_works said
15:43:50 <emzic> another question: how can i make an element invisible?
15:44:01 <emzic> and make it visible later on.
15:44:08 <emzic> for example in interactive svgs
15:44:28 <vlii> opacity value?
15:44:52 <emzic> ok, good idea
15:44:55 <ed_work> setting display="none" is better
15:45:56 <vlii> probably a better idea
15:46:16 <ed_work> or visibility="hidden", but display is usually better
15:47:12 <ed_work> nicomen_: 9.5 change? in 9.51?
15:48:20 <ed_work> ...bugreport?
15:48:52 <emzic> ok thanks a lot!
15:57:46 <nicomen_> ed_work: not sure it is a bug
16:00:26 <ed_work> nicomen_: try it in 2.2?
16:04:11 <nicomen_> ed_work: svg 2.2 or core?
16:06:42 <nicomen_> ah gah
16:06:43 <nicomen_> hehe
16:11:12 <nicomen_> Data_length: 5858920068
16:11:12 <nicomen_> Max_data_length: 281474976710655
16:11:12 <nicomen_> Index_length: 482703360
16:11:12 <nicomen_> Data_free: 1086194632
16:11:15 <nicomen_> meh
16:18:02 <emzic> how can i iterate over all the elements in an svg and check if they have a certain id with batik?
16:18:39 <emzic> i'd like to have a list of elements which ids start with a certain string
21:36:46 <vlii> what advantages does svg have over flash?
23:17:36 <heycam`> heycam` is now known as heycam
23:30:20 <dmwaters> {global notice} Hi all, We look to be having some routing problems. I'm looking into it now. Thank you for your patience, and thank you for using freenode!
The chat logged here contains content written by the chat participants identified by their IRC nick. No other identity is recorded.
Scripts provided by Dave Beckett, logger hosted by Jim Ley