예제 #1
0
 /// <summary>
 /// 获取颜色
 /// </summary>
 /// <param name="dwPenColor">输入颜色</param>
 /// <returns>输出颜色</returns>
 public override long GetColor(long dwPenColor)
 {
     if (CDraw.m_drawType == 0)
     {
         return(CDraw.GetWhiteColor(dwPenColor));
     }
     else
     {
         return(CDraw.GetBlueColor(dwPenColor));
     }
 }
예제 #2
0
 /// <summary>
 /// 获取颜色
 /// </summary>
 /// <param name="dwPenColor">输入颜色</param>
 /// <returns>输出颜色</returns>
 public override long GetColor(long dwPenColor)
 {
     return(CDraw.GetWhiteColor(dwPenColor));
 }