I think I've gotten on the right track. Two issues. One I needed to add the
spread * pi to the height and width. That made a huge difference. Thank you for
the direction it helped a lot. Given the time to fine tune it exactly I think i
might finally have this. I kind of didn't really realize it
On Dec 21, 2009, at 8:02 PM, Development wrote:
> As near as I can tell, no matter what I do, the image itself, not accounting
> for the shadow, is drawn in the upper left corner. this causes a negative
> shadow, or one to the upper left, to be cut off by the edge of the context.
> I have atte
Thanks alot, this got me started in the right direction. I still have fine
tuning I need to do to get the size and draw point perfect but with some
adjustments to the code I have it mostly working.
if any one wants to see I can post the new code.
On Dec 21, 2009, at 10:23 PM, Henry McGilton (Bo
On Dec 21, 2009, at 8:02 PM, Development wrote:
> Then I don't understand how to do this.
>
> Do I create the context at this larger size? because that's what I did.
> Do I drawInRect the image at it's original size? Because that's what I did.
>
> As near as I can tell, no matter what I do, th
Then I don't understand how to do this.
Do I create the context at this larger size? because that's what I did.
Do I drawInRect the image at it's original size? Because that's what I did.
As near as I can tell, no matter what I do, the image itself, not accounting
for the shadow, is drawn in th
On 22/12/2009, at 1:49 PM, Development wrote:
> however what I am getting now is a larger image, offset in the view and still
> cutting off the shadow. So I honestly do not know how I am suppose to draw
> this shadow. I would really be grateful for some additional direction.
Try thinking inst
I have changed the code I added:
CGSize newSize = rotatingView.bounds.size;
newSize.width += (abs(myShadowOffset.width) + spread);
newSize.height += (abs(myShadowOffset.height) + spread);
CGRect newSelf = CGRectMake(self.frame.origin.x, self.frame.origin.y
Ok
I was wondering if that was what I was doing wrong. I've tried messing with the
size of the context but it gives me trouble. Do I need to adjust the size of
the UIImageView also? or since clipping is off is it ok in it's original size?
Also will the drawing to the offscreen context take place
On Dec 21, 2009, at 5:29 PM, Development wrote:
> I'll try my question again. Ok, I have a UIImageView. I am trying to draw a
> shadow under the UIImage it holds. Now if I make the UIImageView's bounds
> some ungodly size, like the size of the screen it draws shadows perfectly but
> obviously t
Ok ok, sorry for double posting. Honestly I'm thinking I'm trying to do
something that simply isn't possible though.
I'll try my question again. Ok, I have a UIImageView. I am trying to draw a
shadow under the UIImage it holds. Now if I make the UIImageView's bounds some
ungodly size, like the
10 matches
Mail list logo