T.R | Title | User | Personal Name | Date | Lines |
---|
1833.1 | the right statement.... | CRLMAX::jg | Jim Gettys, Cambridge Research Lab | Sat Dec 02 1989 13:14 | 10 |
| Is to draw as long as possible with the same GC in some state. Switching GC's,
or changing the state of a GC may incur an implementation dependent cost in
drawing performance.
Your question is not particularly clear... Another slant on the question is
to observe that non-zero width lines are (usually) slower than zero width
lines. But the semantics of zero width lines are looser; use non-zero width
lines when you need to know exactly which pixels are to be touched in the
drawing operation.
- Jim
|
1833.2 | the same program performance | TKTV20::AIKO | | Mon Dec 18 1989 05:27 | 10 |
| >Is to draw as long as possible with the same GC in some state. Switching GC's,
>or changing the state of a GC may incur an implementation dependent cost in
>drawing performance.
In case of the same program except for GC - one uses the default GC and the
other uses the GC set line width - , is therer a differnce in drawing
performance ?
AIKO
|
1833.3 | zero width lines.... | CRLMAX::jg | Jim Gettys, Cambridge Research Lab | Mon Dec 18 1989 14:42 | 5 |
| have looser semantics, and are generally much faster than width 1 or greater
lines.
If you don't want/need the guarantees that wide lines give you, use width 0.
- Jim
|
1833.4 | | DECWIN::FISHER | Burns Fisher 381-1466, ZKO3-4/W23 | Tue Dec 19 1989 17:13 | 10 |
| There is no difference between using the default GC and creating your own,
except for the relatively minor overhead of one more GC. One is not
inherantly faster than the other.
Some implementations will take a hit if you switch between GCs often. Some
will take a hit if you modify something in a single GC. Some both. So
the general rule is to do as much as you can with one GC, and without changing
it before you go on to another set of charactistics.
Burns
|