How to Draw on Layers, IPAD?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

How to Draw on Layers, IPAD?

How to draw the following code on a transparent layer in ipad. The layer have to be started (context.BeginTransparencyLayer()) when drawing begins and have to be ended(context.BeginTransparencyLayer()) after one drawing is completed(touch ended). The drawing function calls for every touch begin to touch ended...

currently I'm using the following code to draw in iPad

context.MoveTo (penVertices [0].X, penVertices [0].Y);

for (int i = 1; i < penVertices.Count; i++) {

context.AddLineToPoint (penVertices [i].X, penVertices [i].Y);


Please help me...