Closed Bug 437567 Opened 16 years ago Closed 16 years ago

Add Width/Height/GetDataSize getters to gfxImageSurface

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: roc)

Details

Attachments

(1 file)

Attached patch simple patchSplinter Review
Some code (filters) uses gfxImageSurface heavily and these helpers ... help.
Attachment #323995 - Flags: review?(vladimir)
Comment on attachment 323995 [details] [diff] [review]
simple patch

long? really?  not PRUint32? (I think mSize.width is a PRUint32 naturally?) + with whatever the right thing is there.
Attachment #323995 - Flags: review?(vladimir) → review+
I'll make it PRInt32, that's what gfxIntSize uses.
checked in
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: