示例#1
0
 public static void RenderCompoundShapes(
     NwazetGoImaging.VirtualCanvas canvas,
     NwazetGoFonts.FontInfo fontInfo)
 {
     canvas.DrawProgressBar(
         70, 140,
         75, 12,
         CornerStyle,
         CornerStyle,
         (ushort)NwazetGoImaging.BasicColor.Black,
         (ushort)NwazetGoImaging.GrayScaleValues.Gray_128,
         (ushort)NwazetGoImaging.GrayScaleValues.Gray_30,
         (ushort)NwazetGoImaging.BasicColor.Green,
         78);
     canvas.DrawString(5, 144, (ushort)NwazetGoImaging.BasicColor.Black, fontInfo.ID, "Progress");
     canvas.DrawString(155, 144, (ushort)NwazetGoImaging.BasicColor.Black, fontInfo.ID, "78%");
     canvas.DrawRectangleFilled(0, 275, 239, 319, (ushort)NwazetGoImaging.GrayScaleValues.Gray_80);
 }
示例#2
0
 public static void RenderCompoundShapes(VirtualCanvas canvas, FontInfo fontInfo) {
     canvas.DrawProgressBar(
         70, 140,
         75, 12,
         CornerStyle,
         CornerStyle,
         (ushort)BasicColor.Black,
         (ushort)GrayScaleValues.Gray_128,
         (ushort)GrayScaleValues.Gray_30,
         (ushort)BasicColor.Green,
         78);
     canvas.DrawString(5, 144, (ushort)BasicColor.Black, fontInfo.ID, "Progress");
     canvas.DrawString(155, 144, (ushort)BasicColor.Black, fontInfo.ID, "78%");
     canvas.DrawRectangleFilled(0, 275, 239, 319, (ushort)GrayScaleValues.Gray_80);
 }