Iphone graphics -


Can anyone give me simple code to create a line in the mirror?

Edit: The code for the picture below is line

  - (Zero) Direct: (CGRTact) rect {CGContextRef c = UIGraphicsGetCurrentContext (); CGflotTl [4] = {1.0F, 0.0F, 0.0F, 1.0F}; CGContextSetStrokeColor (c, red); CGContextBeginPath (c); CGContextMoveToPoint (C, 5.0F, 5.0F); CGContextAddLineToPoint (C, 50.0F, 50.0F); CGContextStrokePath (c); }    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -