Content


NTL
Core
DrawSimpleBackground

DrawSimpleBackground


Draw background which may have only single border.

You can find more information in comments below.

bool DrawSimpleBackground( // Draw background(may have borders, background color, background gradient) 
    IRenderer *renderer, // Renderer 
    const RectF &rect, // Block rectangle in control's coordinates 
    const RectF &borders, // Block border widthes 
    const RectF &radiuses, // Block border radiuses 
    const BorderColor &border_colors, // Block border colors 
    const Color &background_color, // Background color 
    Gradient &background_gradient); // Background gradient
Namespace: nitisa
Include: Nitisa/Render/Utils.h