Draw background which may have two borders.
You can find more information in comments below.
bool Background2( // Draw background with 2 borders(inner and outer)(may have outer borders, inner borders, background color, background gradient)
IRenderer *renderer, // Renderer
const RectF &rect, // Block rectangle in control's coordinates
const RectF &outer_borders, // Block outer border widthes
const RectF &inner_borders, // Block inner border widthes
const RectF &radiuses, // Block border radiuses
const RectC &outer_border_colors, // Block outer border colors
const RectC &inner_border_colors, // Block inner border colors
const Color &background_color, // Background color
Gradient &background_gradient); // Background gradient
Namespace: | nitisa::helpers::render |
Include: | Nitisa/Helpers/Render.h |