private static void DrawGradientBack(Graphics g,
Rectangle backRect,
GradientItemColors colors)
{
backRect.X++;
backRect.Width -= 1;
using (RenderContext context = new RenderContext(null, g, backRect, null))
{
using (GraphicsPath backPath = CreateBorderPath(backRect, _cutMenuItemBack))
{
backRect.Width -= 1;
backRect.Height -= 1;
RenderGlassHelpers.DrawBackGlassBottom(context, backRect,
colors.Begin, colors.End,
VisualOrientation.Top, backPath, null);
}
}
}