Re: Announce: tkpath 0.2
- From: matsben@xxxxxxxxx
- Date: 17 Jul 2006 01:10:33 -0700
Roy Terry skrev:
Is anti-aliased text on demand a possibility?
I haven't yet bothered thinking about text.
The core part is the path item which is very flexible. For items that
are
similar to existing canvas items I have prepended the names with a "p".
Perhaps you would consider adding the leading 'p' in all cases
to ease the memory load when mixing conventional and tkpath-based
canvas items. If tkpath items were being added to existing canvas
code it seems one could easily forget that "oval" was native to the
canvas and elllipse was xpath. I suggest having the leading 'p'
in all cases will be most helpful (pcircle, pellipse).
Maybe.
A lot more path-based items. 0.1 only
had paths!
I'm curious, aside from compactness, does
drawing a rect with 'prect" offer advantages to
drawing it with 'path'? Same question for other
shapes.
I'm trying to pick "native" APIs if they can be used.
A prect with no radius draws using native Rect API in most cases,
while if rounded I construct it using paths internally only.
Circle/ellipse are always using native APIs for drawing.
Feature suggestion: Any chance of
being able to set anti-alias on a per-item
basis (over-riding the default)? Some items
at small sizes just look better without it.
See my note about pixel alignment which may help.
I'm not so fond of your idea.
Looking at the doc/readme, it lists the options
for items but still says "not all are implemented".
Would be nice if you could mark which ones do
work as sometimes I'm not sure if an option is
not implemented or my setting is wrong.
It is the -*stipple -*offset ones that are unimplemented.
Maybe I optimistically added -strokegradient to the code
but that is also unimplemented. Not sure how -state is supposed to
work.
I am using the 0.1 binary with Tcl/Tk 8.4.9 on xp and w2000.
Will the 0.2 binary work with those versions too?
Hopefully ;-)
Mats
.
- Follow-Ups:
- Re: Announce: tkpath 0.2
- From: Ramon Ribó
- Re: Announce: tkpath 0.2
- References:
- Announce: tkpath 0.2
- From: matsben
- Re: Announce: tkpath 0.2
- From: Roy Terry
- Announce: tkpath 0.2
- Prev by Date: Re: how to use wish console in windows for interactive applications like telnet
- Next by Date: Syntax error when compile tk.h
- Previous by thread: Re: Announce: tkpath 0.2
- Next by thread: Re: Announce: tkpath 0.2
- Index(es):
Relevant Pages
|