Koen Deforche 862baf98aa added skia backend for WRasterImage | %!s(int64=11) %!d(string=hai) anos | |
---|---|---|
.. | ||
CMakeLists.txt | %!s(int64=11) %!d(string=hai) anos | |
CornerImage.C | %!s(int64=11) %!d(string=hai) anos | |
CornerImage.h | %!s(int64=13) %!d(string=hai) anos | |
README.md | %!s(int64=13) %!d(string=hai) anos | |
RoundedWidget.C | %!s(int64=15) %!d(string=hai) anos | |
RoundedWidget.h | %!s(int64=16) %!d(string=hai) anos | |
StyleExample.C | %!s(int64=14) %!d(string=hai) anos | |
StyleExample.h | %!s(int64=14) %!d(string=hai) anos |
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.