Content


NTL
Core
DrawTripleSharpBackground

DrawTripleSharpBackground


Draw background which may have three borders and the inner one couldn't have round corners.

You can find more information in comments below.

bool DrawTripleSharpBackground( // Draw background with 3 borders and inner border has no round corners(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 outer 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