This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | [GTK] PartialEdgeBorder can be more effective | ||
---|---|---|---|
Product: | platform | Reporter: | _ rkubacki <rkubacki> |
Component: | Window System | Assignee: | _ tboudreau <tboudreau> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P3 | Keywords: | GTK, PERFORMANCE |
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ rkubacki
2004-06-10 14:58:49 UTC
The alignment issue is fixed, and the use of transparent colors; re painting several lines, it should do something like this: (0 = background color, 4 = shadow color) 0 0 10 20 210 310 321 421 432 432 443 443 444 444 to create a realistic shadow effect. Probably not the most intuitive code to read, but much simpler than creating our own Paint subclass. Not too worried about performance impact with this - GradientPaints allocate a raster for their pixels, so memory consumption (the thing that cost us in the memory meter) is proportional to width * height, and these will never be bigger than 1.6 pixels. There are more efficient ways to do this sort of thing, but much more complex. verified/closed |