Dim BezierView As BitmapCreator
Dim BezierPath As BCPath
Dim sWidth As Double = 1000
Dim sHeight As Double = 500
BezierPath.Initialize(0, 0)
BezierPath.LineTo(sWidth,sHeight)
BezierPath.LineTo(0,sHeight)
BezierPath.LineTo(0,0)
BezierView.Initialize(sWidth,sHeight)
Log("before 1")
BezierView.DrawPath(BezierPath,BackgroundColor,True,0)
BezierView.DrawPath(BezierPath,shadow,False,10)
Log("after 1")