python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Swift. disable antialiasing when UIBezierPath append
I'd like to append UIBezierPath without antialiasing.
Here is what I tried. testView's frame is 10x10
let shadowLayer = CALayer()
var path: UIBezierPath!
shadowLayer.frame = testView....
tonypeng2005
Votes: 0
Answers: 1
How to create animation inside CGContext
I have a circle and I want to make it pulsate.
func drawCircle(context: CGContext) {
let circle = CGRect(x: circleX, y: circleY, width: circleDiameter, height: circleDiameter)
context.setFillC...

errorka
Votes: 0
Answers: 1
What is the most efficient way to show a live video preview with a CIFilter applied?
What is the most CPU, GPU, and energy efficient way on iOS to display a live preview of the camera and apply multiple CIFilter's to that live preview?
Right now I have a solution that is basically get...

sahandnayebaziz
Votes: 0
Answers: 1
CGContext addPath to current path
I am confused by addPath() API of CGContextRef. The API documentation says
If the source path is non-empty, then its path elements are appended in order onto the current path.
The current transformati...
Deepak Sharma
Votes: 0
Answers: 1