Is it possible to turn on anti-aliasing for one Tk "create" command? If so, it would be easy to make the patch coords and the circle in the bang anti-aliased, while the boxes remain crisp.
.hc
------------------------------------------------------------------------
Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism. - retired U.S. Army general, William Odom
On Sun Jan 07, 2007 at 02:47:05PM -0500, Hans-Christoph Steiner wrote:
Is it possible to turn on anti-aliasing for one Tk "create" command? If so, it would be easy to make the patch coords and the circle in the bang anti-aliased, while the boxes remain crisp.
normal Tk doesn't do antialiasing. with tkPath you can get antialiasing on the default widgets by replacing [line] with [pline] [poly] with [ppoly] etc (names not exact), it runs on CoreGraphics/GDI+/X(Cairo) at least...which means all platforms PD can run on ..
.hc
Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism. - retired U.S. Army general, William Odom
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
On Jan 7, 2007, at 2:59 PM, carmen wrote:
On Sun Jan 07, 2007 at 02:47:05PM -0500, Hans-Christoph Steiner wrote:
Is it possible to turn on anti-aliasing for one Tk "create" command? If so, it would be easy to make the patch coords and the circle in the bang anti-aliased, while the boxes remain crisp.
normal Tk doesn't do antialiasing. with tkPath you can get antialiasing on the default widgets by replacing [line] with [pline] [poly] with [ppoly] etc (names not exact), it runs on CoreGraphics/GDI+/X(Cairo) at least...which means all platforms PD can run on ..
I can make all of the lines, rectangles and ovals anti-aliases on Tcl/ Tk 8.4 on Mac OS X using this:
set tk::mac::CGAntialiasLimit 2
If I set that to 0, then all lines are anti-aliased.
.hc
.hc
Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism. - retired U.S. Army general, William Odom
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------
As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin
On Mon, 2007-01-08 at 12:26 -0500, Hans-Christoph Steiner wrote:
I can make all of the lines, rectangles and ovals anti-aliases on Tcl/ Tk 8.4 on Mac OS X using this:
set tk::mac::CGAntialiasLimit 2
If I set that to 0, then all lines are anti-aliased.
I'm confused. Where does that line go?
Jamie
On Jan 9, 2007, at 3:14 AM, Jamie Bullock wrote:
On Mon, 2007-01-08 at 12:26 -0500, Hans-Christoph Steiner wrote:
I can make all of the lines, rectangles and ovals anti-aliases on Tcl/ Tk 8.4 on Mac OS X using this:
set tk::mac::CGAntialiasLimit 2
If I set that to 0, then all lines are anti-aliased.
I'm confused. Where does that line go?
Its near the top of pd/bin/pd.tk. The main Tcl/Mac dev recently fixed anti-aliased support, so it works much better now. This will be the default now in Pd-extended:
set tk::mac::CGAntialiasLimit 0
.hc
Jamie
------------------------------------------------------------------------
News is what people want to keep hidden and everything else is publicity. - Bill Moyers