Example #1
0
        public void DrawCircle(cpVect center, float radius, cpColor color)
        {
            var centerPoint  = center.ToCCPoint();
            var colorOutline = color.ToCCColor4B();
            var colorFill    = colorOutline * 0.5f;

            base.DrawCircle(centerPoint, radius, colorOutline);
            base.DrawSolidCircle(centerPoint, radius, colorFill);
        }
Example #2
0
		public void DrawSegment(cpVect from, cpVect to, float radius, cpColor color)
		{
			base.DrawSegment(from.ToCCPoint(), to.ToCCPoint(), radius, color.ToCCColor4F());
		}
Example #3
0
		public void DrawDot(cpVect pos, float radius, cpColor color)
		{
			//base.DrawDot(pos.ToCCPoint(), radius, color.ToCCColor4F());
			base.DrawSolidCircle(pos.ToCCPoint(), radius, color.ToCCColor4B());
		}
Example #4
0
		public void DrawCircle(cpVect center, float radius, float angle, int segments, cpColor color)
		{
			base.DrawCircle(center.ToCCPoint(), radius, angle, segments, color.ToCCColor4B());
		}
Example #5
0
		public void DrawSolidCircle(cpVect center, float radius, cpColor color)
		{
			base.DrawCircle(center.ToCCPoint(), radius, color.ToCCColor4B());
		}
Example #6
0
		public void DrawCircle(cpVect center, float radius, cpColor color)
		{
			var centerPoint = center.ToCCPoint();
			var colorOutline = color.ToCCColor4B();
			var colorFill = colorOutline * 0.5f;
			base.DrawCircle(centerPoint, radius, colorOutline);
			base.DrawSolidCircle(centerPoint, radius, colorFill);
		}
Example #7
0
 public void DrawSegment(cpVect from, cpVect to, float radius, cpColor color)
 {
     base.DrawSegment(from.ToCCPoint(), to.ToCCPoint(), radius, color.ToCCColor4F());
 }
Example #8
0
 public void DrawDot(cpVect pos, float radius, cpColor color)
 {
     //base.DrawDot(pos.ToCCPoint(), radius, color.ToCCColor4F());
     base.DrawSolidCircle(pos.ToCCPoint(), radius, color.ToCCColor4B());
 }
Example #9
0
 public void DrawCircle(cpVect center, float radius, float angle, int segments, cpColor color)
 {
     base.DrawCircle(center.ToCCPoint(), radius, angle, segments, color.ToCCColor4B());
 }
Example #10
0
 public void DrawSolidCircle(cpVect center, float radius, cpColor color)
 {
     base.DrawCircle(center.ToCCPoint(), radius, color.ToCCColor4B());
 }