Open
Bug 651016
Opened 13 years ago
Updated 1 year ago
Eliminate nsIDeviceContext
Categories
(Core :: Graphics, enhancement)
Core
Graphics
Tracking
()
NEW
People
(Reporter: zwol, Unassigned)
References
(Depends on 4 open bugs)
Details
At this point ns(I)DeviceContext is a dumping ground for random methods that mediate between gfx and layout. Just about all of them would make more sense somewhere else: * font metrics creation: make nsFontMetrics a stack class, eliminate the per-devctx metrics cache (bug 91956) * rendering context creation: make nsRenderingContext a stack class * screen size and depth: nsIDOMScreen and any other users should call nsIScreen methods directly * "system font" lookup: belongs on nsILookAndFeel (bug 96971) * printing: push down to nsIDeviceContextSpec (which should get renamed nsPrintContext or nsPrintBackend). * scale conversions: convert to free functions (appunits/CSSpx) or move to the prescontext(?)(appunits/devpx) This is a tracking bug; I'll be filing separate bugs for all of the above, when they don't already have 'em.
Reporter | ||
Updated•13 years ago
|
Severity: normal → enhancement
OS: Mac OS X → All
Hardware: x86 → All
Reporter | ||
Updated•13 years ago
|
Assignee: nobody → zackw
Status: NEW → ASSIGNED
Comment 1•8 years ago
|
||
Resetting owner to default per Zack's request.
Assignee: zackw → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•