Closed Bug 41701 Opened 24 years ago Closed 13 years ago

nsIRegion should have a way to set the native region

Categories

(Core :: Web Painting, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID
Future

People

(Reporter: sfraser_bugs, Unassigned)

References

Details

Currently, nsIRegion is pretty much useless, because there is no way to 
initialize it, or reset it with a native region. I think that Init() should take 
an optional native region, and there should be SetNativeRegion(void* 
nativeRegion).
when this is implemented, we should remove nsWindow::EachRegionRect since we 
can't use nsIRegion::GetRects because we can't init an nsIRegion from a 
RgnHandle.
Currently there is not time for doing this with this release, but we can get to 
this in the next release.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → LATER
Target Milestone: --- → Future
LATER is deprecated per bug 35839.
Status: RESOLVED → REOPENED
Resolution: LATER → ---
->attinasi
Assignee: dcone → attinasi
Status: REOPENED → NEW
OS: Mac System 8.5 → All
Priority: P3 → --
this is mine
Assignee: attinasi → dcone
roc, I think this is your bailiwick now...
Hmm, why can't you just have a private region constructor in gfx/mac or whatever
that returns an nsRegionMac initialized the way you want?
->View Rendering
Assignee: dcone → roc+moz
Component: Layout → Layout: View Rendering
QA Contact: petersen → ian
QA Contact: ian → layout.view-rendering
This bug should be deleted as nsIRegion is being removed (bug 635643).
Status: NEW → RESOLVED
Closed: 24 years ago13 years ago
Depends on: 635643
Resolution: --- → INVALID
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.