Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

Need Help Urgent

Hi all, I am creating drawing app for iOS, but I’m having some issues. So I’m sharing my issues here, kindly resolve these issues ASAP.

My Code: https://github.com/levinunnink/Smooth-Line-View

ISSUE # 1: I want to make the transparent effect in the color (NOT USED OPACITY) to draw on image. I used CGContextSetBlendMode(context,kCGBlendModeDarken); in order to do it, but when I choose other color and draw on the previous color it overlaps. I want it not to overlap other color.

http://www.freeimagehosting.net/o2ee5

ISSUE # 2: I want to create blur in the edges of brush, so I used CGContextSetShadowWithColor (context, shadow offset, shadow blur, self.lineColor.CGColor);, but it does not give me blur effect.

WHAT I GET
http://www.freeimagehosting.net/ig82o

WHAT I WANT
http://www.freeimagehosting.net/w14z7

I have tried UIColor ColrWithPatternImage, but no success.

ISSUE # 3: I want to add UNDO/REDO OR Eraser functionality in the code and I can find how to do this. Because the code I am using is not provided by the UNDO/REDO OR Eraser functionality.

Kindly Help Me ASAP.
Post edited by obaidahmed on
Tagged:

Replies

Sign In or Register to comment.