On 19 Jun 2007, at 4:20 PM, Adam R. Maxwell wrote: > > On Jun 19, 2007, at 06:55, Asko Soukka wrote: > >> Christiaan Hofman kirjoitti 19.6.2007 kello 13:01: >>> >>> So did you have a working viewer then, or is this just a mockup? I >>> guess this was not done on a Mac? >> >> We did have "a working viewer" (though imported PDFs were converted >> into images and shown only as such), but I doubt that any member of >> the research group has anymore a compileable and running copy of it. > > That's pretty cool. You could do something similar on the Mac with > relatively little code (I think). You would use NSPDFImageRep to read > the PDF into something like Apple's sample PDFImageView class. From > there, you'd have to mess with mouseDown: to add a Core Image filter > region to your image, then have it draw the filtered image atop the > original image. > > Save a PDF page to TIFF or something, and then load it into Core Image > Fun House to see what's possible (maybe the bump distortion?). Not as > cool as applying the drawing transforms to the actual PDF drawing > commands, but a lot faster. > > On a slightly related note, I've thought of adding a Core Image page > curl transition effect to Skim, where you'd grab a page corner and > move it (and then it would switch to the next page once you turned > past a certain point). I think that could be done in an overlying > transparent window, but I don't have time to mess with it. > > -- > Adam
Why couldn't that be done just in drawPage: ? Christiaan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ skim-app-develop mailing list skim-app-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-develop