Closed Bug 367416 Opened 19 years ago Closed 19 years ago

Thebes API additions needed for SVG "thebefication"

Categories

(Core :: Graphics, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tor, Assigned: tor)

References

Details

Attachments

(2 files)

Working on converting nsSVGPathGeometryFrame, found a few missing things in the API (hit testing, obtaining extents, checking if a matrix is invertible). Also found a bug in gfxRect gfxContext::UserToDevice(const gfxRect& rect).
Attachment #251965 - Flags: review?(vladimir)
Blocks: 367503
Comment on attachment 251965 [details] [diff] [review] thebes api additions/correction >+ /** >+ ** Hit Testing - check if given point is in the current path >+ **/ >+ PRBool InFill(gfxPoint pt); >+ PRBool InStroke(gfxPoint pt); I would call these PointInFill/PointInStroke -- I also think they should take a const gfxPoint&, but there was a reason why we didn't do that for the rest of the interface that I can't remember now, so just gfxPoint is fine.
Attachment #251965 - Flags: review?(vladimir) → review+
Checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: