core-graphics
Drawing on the retina display using CoreGraphics - Image pixelated
In my iOS application, I am trying to draw curves using CoreGraphics. The drawing itself works fine, but on the retina display the image gets drawn using the same resolution, and does not get pixel do[详细]
2023-03-26 02:59 分类:问答Copy CGContext into another CGContext
I am performing some CG drawing operations into a CGContext that I created for an MKMapOverlay开发者_StackOverflow中文版View.After drawing into my context, I create an image and paste it into the cont[详细]
2023-03-25 23:27 分类:问答Draw images evenly spaced along a path in iOS
What I want to do is move my finger across the screen (touchesMoved) and draw evenly spaced images (perhaps CGImageRefs) along the points generated by the touchesMoved. I can draw lines, but what I wa[详细]
2023-03-25 20:24 分类:问答Custom core-graphics overlay within MKMapView: can't display stroked ellipse
I\'m trying to draw a series of concentric circles as a custom overlay within a MKMapView.Please note that for performance reasons, I need to implement a custom draw method, not simply add a series of[详细]
2023-03-25 13:02 分类:问答When taking screenshot by drawing UIView over UIImage with renderInContext my UIImage is not displayed
I\'m using the sample code from http://developer.apple.com/library/ios/#qa/qa1714/_index.html almost verbatim and I can save my background image or my overlay but I can\'t combine the two.When I try a[详细]
2023-03-25 11:07 分类:问答Core-Graphics Shadow Range?
In Photoshop, my designer used the \"Range\" setting to get the outer glow to \"fill out\" a little more. Here is a snapshot of the settings he used:[详细]
2023-03-25 09:36 分类:问答How to make dragging faster using velocityView in UIPanGestureRecognizer?
Having a little trouble understanding how to implement a faster dragging speed for the code I\'m using below (written by @PaulSoltz) which allows you to drag an object across the screen. I realize you[详细]
2023-03-25 08:55 分类:问答UIPanGestureRecognizer gets stuck before moving after image is idle for a bit
So I\'m making a simple iPhone app that lets you move / scale images that have been imported in a view. I\'m using UIGestureRecognizers with @paulsolt \'s code below to accomplish this. It works great[详细]
2023-03-25 06:30 分类:问答Custom Drawing in UIControl Subclass Clipping
So, I\'m doing some custom drawing in a UIControl subclass开发者_如何学Go by overriding the drawRect: method. The issue is that the control is clipping a glow that I drew in it even though I\'ve set t[详细]
2023-03-24 18:35 分类:问答CGContextDrawAngleGradient?
Dipping my feet into some more Core Graphics drawing, I\'m attempting to recreate a wicked looking metallic knob, and I\'ve landed on what is probably a show-stopping issue.[详细]
2023-03-24 17:35 分类:问答