Content


NTL
Core
DrawTripleBackground

DrawTripleBackground


Draw background which may have three borders.

You can find more information in comments below.

bool DrawTripleBackground( // Draw background with 3 borders(inner, middle and outer)(may have outer borders, middle 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 &middle_borders, // Block middle border widthes 
    const RectF &inner_borders, // Block inner border widthes 
    const RectF &radiuses, // Block border radiuses 
    const BorderColor &outer_border_colors, // Block outer border colors 
    const BorderColor &middle_border_colors, // Block middle border colors 
    const BorderColor &inner_border_colors, // Block inner border colors 
    const Color &background_color, // Background color 
    Gradient &background_gradient); // Background gradient
Namespace: nitisa
Include: Nitisa/Render/Utils.h