Add Width/Height/GetDataSize getters to gfxImageSurface

RESOLVED FIXED

Status

()

Core
Graphics
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: roc, Assigned: roc)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 323995 [details] [diff] [review]
simple patch

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
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.