IOS Development Learning-drawing effect source code sharing

Source: Internet
Author: User

 
My palette
Introduction: A simple drawing tool demo that allows you to adjust the width and color of a paint brush. You can undo the previous or all operations. With the eraser function, you can save the picture to a local album.
Http://ios.itmdc.com/thread-160-1-1.html 

 
Simple painting
Introduction: simple line, rectangle, text, etc.
Http://ios.itmdc.com/thread-160-1-1.html 

 
Small canvas
Introduction: Using cocos2d to implement a canvas function, you can draw lines, draw squares, draw circles (including ovans), draw with dotted lines, select colors, and save images.
Http://ios.itmdc.com/thread-162-1-1.html 

 
Animated paths
Introduction: it is similar to the video playing painting process. It is a bit like you draw and play the painting process.
Http://ios.itmdc.com/thread-163-1-1.html 

 
Infcolorpicker
Introduction: color selector/color palette
Http://ios.itmdc.com/thread-165-1-1.html 

 
Hexadecimal color and uicolor
Description: hexadecimal color (HTML color value) Conversion between string and uicolor:
1) input a string to convert the background color of uilabel.
2) The hexadecimal color (HTML color value) string is output by learning a color.
Http://ios.itmdc.com/thread-166-1-1.html 

 
Click the screen to draw a triangle
Description: click three points on the screen to draw a triangle.
Http://ios.itmdc.com/thread-167-1-1.html 

 
Ceedgl
Introduction: ceedgl packs some graphics objects (graphic objects) in OpenGL, such as vertex buffers, textures, shaders, programs, and framebuffers into objective-C objects, so that IOS developers can easily use some powerful features of OpenGL for programming. Similar semantics of "Draw command" is also available in ceedgl.
Http://ios.itmdc.com/thread-168-1-1.html 

 
Color Picker like Photoshop
Description: implements the color selector/palette function. Simple and Easy-to-use color selector. The Code does not use any image, so it is very lightweight. The color selector can select a color system based on saturation and brightness, which is very similar to the color selector in Photoshop.
Http://ios.itmdc.com/thread-169-1-1.html 

 
Smooth line view
Description: This function allows you to draw circles smoothly. ThisCodeSolved the problem that the circle is not smooth enough in many drawing codes. Even on the appstore, many painting apps draw circles quickly, and the arc drawn is not smooth enough, there will be a line (sawtooth), this code better solves this problem. The Code only uses quartz to solve this problem, and OpenGL is not required.
Http://ios.itmdc.com/thread-170-1-1.html 

 
Color Picker
Description: implements the color selector/palette function. The magnifier function is available for you to see which color you have selected. You can also adjust the brightness of the color palette.
Http://ios.itmdc.com/thread-171-1-1.html 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.