Bug 11268 - Implement the Objective-C DOM bindings for SVGNumber, SVGRect, and SVGPoint
Summary: Implement the Objective-C DOM bindings for SVGNumber, SVGRect, and SVGPoint
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-12 14:13 PDT by Sam Weinig
Modified: 2006-10-17 20:11 PDT (History)
1 user (show)

See Also:


Attachments
patch (66.66 KB, patch)
2006-10-12 14:23 PDT, Sam Weinig
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2006-10-12 14:13:03 PDT
Getting these 3 classes to work should be one of the final hurdles to getting the Objective-C SVG DOM bindings working fully.  Patch forthcoming.
Comment 1 Sam Weinig 2006-10-12 14:23:39 PDT
Created attachment 11054 [details]
patch

- Adds implementation for DOMSVGNumber, DOMSVGRect, and DOMSVGPoint.

- Moves the contents of ksvg/bindings/js/ to bindings/js/.

- Moves SVGZoomEvent.idl from ksvg/svg/ to ksvg/events/.

- Adds isSVGColor() and isSVGPaint() methods to StyleBase, matching the other CSSValue classing, and allowing the bindings to allocate appropriately.

- Removes #ifdefs around the getBBox() method in SVGLocatable.idl allowing generation for Objective-C.

- Assorted style cleanups.
Comment 2 Sam Weinig 2006-10-12 14:25:58 PDT
Please note that I have not implemented caching for DOMSVGNumber, DOMSVGRect, or DOMSVGPoint as is done with the other Objective-C classes as I have not worked out a good way to do this yet.
Comment 3 Sam Weinig 2006-10-17 20:11:31 PDT
Landed in r17100.