This example creates a new widget (RoundedWidget
) which adds rounded
corners to a child widget, using images that are rendered on the fly
with the painting API.
This example is a bit dated since CSS3 now includes rounded corners which are already broadly supported across browsers.
See the README in the parent directory.
WCompositeWidget
to define new widgetsWResource
for on-the-fly generated imagesWRasterImage
with the painting API for painting raster images.