look at the ScrollViewSuite example.. specifically the tiling one. techniques illustrated.
On Jan 21, 2010, at 12:39 PM, vincent habchi wrote: > Hi to all, > > I'm trying to write a (at that time) simple GIS-like application based on > Cocoa. For each cartographic layer, I use a CALayer object, which is nice to > control things like opacity in real-time. > > However, I'm facing a challenge: when the user move the mouse, the drawing > must move accordingly, feeling in white spaces that appear when updating the > position property. However, to feel in those spaces, the app must be able to > draw on it, thus the layer shall be resizable in every four direction, > including left and below, while maintaining the existing drawing unchanged. > I've tried to move the anchor point around and modify bounds or frame, but to > no avail: or I get no extension, or I have a transitory motion corresponding > to a bound property change (is there a way to disable the implied > CASimpleAnimation?). So, put briefly, is there a way to extend a CALayer in > whatever direction while keeping its content unmoving? > > Thanks! > Vincent_______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/scott%40cocoadoc.com > > This email sent to sc...@cocoadoc.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com