Bug 41313

Summary: Wx: Need to implement GraphicsContext::clipConvexPolygon()
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ahmad.saleem792, ap, bdakin, bfulgham, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Description Beth Dakin 2010-06-28 15:08:40 PDT
http://trac.webkit.org/changeset/62035 introduced a new method of drawing border-radius using paths. Right now, this new code is only enabled for some platforms. To enable the new and much improved code for Wx, GraphicsContext::clipConvexPolygon() needs to be implemented, and then Wx should be added to the list of platforms that set #define HAVE_PATH_BASED_BORDER_RADIUS_DRAWING in RenderObject.h

I would like to note that Wx already has a function implemented called GraphicsContext::drawConvexPolygon(). So hopefully it is straightforward to use some of that same logic for clipping instead of drawing.
Comment 1 Ahmad Saleem 2022-09-24 05:23:50 PDT
I don't think we have wx port now. I am marking this as "RESOLVED WONTFIX" and adding few Webkit Engineers to confirm that it is right approach. Thanks!