No changes just reorder code.
Layer_Bevel: add support for Cairo render using cairo_t*.