archive-com.com » COM » C » CRAFTYMIND.COM

Total: 161

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Index of /factory/earth
    Nov 2014 23 49 406K world 200401 3x5400x 26 Nov 2014 23 49 91K world 200402 3x5400x 26 Nov 2014 23 49 91K world 200403 3x5400x 26 Nov 2014 23 49 89K world 200404 3x5400x 26 Nov 2014 23 49 87K world 200405 3x5400x 26 Nov 2014 23 49 86K world 200406 3x5400x 26 Nov 2014 23 49 83K world 200407 3x5400x 26 Nov 2014 23 49 79K world 200408

    Original URL path: http://www.craftymind.com/factory/earth/ (2016-04-27)
    Open archived version from archive


  • Index of /factory/guimark
    HTML4 html 19 May 2008 23 21 32K GUIMark Java5Swing html 19 May 2008 23 19 429 GUIMark Silverlight1 19 May 2008 23 31 11K GUIMark Silverlight2 19 May 2008 22 29 1 8K GUIMark Silverlight2 19 May 2008 22 29 189K Silverlight js 16 Apr 2008 22 03 7 9K StarExport3 png 19 May 2008 23 21 5 3K createSilverlight js 16 Apr 2008 22 03 1 6K framerate

    Original URL path: http://www.craftymind.com/factory/guimark/ (2016-04-27)
    Open archived version from archive

  • Index of /factory/guimark2
    16 07 7 7K FlashTextTest html 04 May 2010 17 31 859 FlashTextTest swf 02 May 2010 16 05 51K HTML5AltChartingTest 07 May 2010 13 26 5 4K HTML5ChartingTest html 07 May 2010 13 22 5 4K HTML5GamingTest html 04 May 2010 17 31 7 1K HTML5TextTest html 04 May 2010 17 31 6 4K MobileFlashChartingT 02 May 2010 16 06 6 6K MobileFlashChartingT 05 May 2011 13 41 1

    Original URL path: http://www.craftymind.com/factory/guimark2/ (2016-04-27)
    Open archived version from archive

  • Index of /factory/html5video
    Description Parent Directory BigBuckBunny 320x176 19 Apr 2010 12 58 1 0M BigBuckBunny 640x360 19 Apr 2010 12 58 3 1M BigBuckBunny 640x360 19 Apr 2010 12 58 2 3M CanvasVideo html 13 Jun 2012 08 54 7 1K CanvasVideo3D

    Original URL path: http://www.craftymind.com/factory/html5video/ (2016-04-27)
    Open archived version from archive

  • Index of /factory/retinascaling
    0K button normal png 01 Aug 2012 00 05 4 7K cross nearest png 01 Aug 2012 12 28 467 cross png 01 Aug 2012 12 28 357 dropboxstatus idle png 01 Aug 2012 00 05 956 photo nearest png 01 Aug 2012 00 05 112K photo png 01 Aug 2012 00 05 90K retina fixed png 01 Aug 2012 00 05 21K retina original png 01 Aug 2012 00

    Original URL path: http://www.craftymind.com/factory/retinascaling/ (2016-04-27)
    Open archived version from archive

  • Index of /factory/vif
    Sep 2013 10 11 687 output gif 27 Sep 2013 10 11 3 0M output html 27 Sep 2013 10 11 565 output mp4 27 Sep 2013 10 11 169K output webm 27 Sep 2013 10 11 178K spritesheet1 jpg

    Original URL path: http://www.craftymind.com/factory/vif/ (2016-04-27)
    Open archived version from archive

  • Craftymind | Hacking away at UI development | Page 5
    The reason the magnifier view is teh same size as the original view is because we are rendering the full context of the original view into our new context before grabbing a bitmap of it If the magnifying view were smaller the rendered bitmap would also be smaller We want to cache the final bitmap so we re not redrawing the original view every time the user moves their finger around the view We ll destroy that cached view and the magnifying glass when the user lets up off the screen void drawRect CGRect rect if cachedImage nil UIGraphicsBeginImageContext self bounds size self viewref layer renderInContext UIGraphicsGetCurrentContext cachedImage UIGraphicsGetImageFromCurrentImageContext retain UIGraphicsEndImageContext Following that we need to generate a masked view for the magnified view to sit in since the loop is a circle we have to mask out the corners and antialias the outer perimeter This is accomplished using 2 images the magnifying glass itself and a mask image with appropriate grayscale levels for masking CGImageRef imageRef cachedImage CGImage CGImageRef maskRef UIImage imageNamed loopmask png CGImage CGImageRef overlay UIImage imageNamed loop png CGImage CGImageRef mask CGImageMaskCreate CGImageGetWidth maskRef CGImageGetHeight maskRef CGImageGetBitsPerComponent maskRef CGImageGetBitsPerPixel maskRef CGImageGetBytesPerRow maskRef CGImageGetDataProvider maskRef NULL true Create Mask CGImageRef subImage CGImageCreateWithImageInRect imageRef CGRectMake touchPoint x 18 touchPoint y 18 36 36 CGImageRef xMaskedImage CGImageCreateWithMask subImage mask Lastly we ll draw the magnifying glass and magnfied bitmap copy of our orginal view underneath the mask and we re done Since the iPhone uses a different coordinate system then other languages we have to remember to flip the view upside down before drawing it CGContextRef context UIGraphicsGetCurrentContext CGAffineTransform xform CGAffineTransformMake 1 0 0 0 0 0 1 0 0 0 0 0 CGContextConcatCTM context xform CGRect area CGRectMake touchPoint x 42 touchPoint y 85 85 CGRect area2 CGRectMake touchPoint x 40 touchPoint y 2 80 80 CGContextDrawImage context area2 xMaskedImage CGContextDrawImage context area overlay And that s it now we have a modular magnifying glass that can plug in to any UIView with minimal effort If you re looking for a way to add interactivity underneath the magnifying glass like moving the cursor within a textfield that s gonna require a bit more custom code on the control you re dealing with and this example doesn t really address that Download example XCode magnifier example for iPhone AIR Flash Flex Max 2008 session material November 20 2008 Sean Christmann 11 Comments As promised here s the pdf of my recent Max 2008 session Optimizing Adobe AIR for Code Execution Memory and Rendering There s a good amount of Flash VM tips and tricks in there for reference whether you re working in the browser or AIR Thanks to everyone who attended and gave me high marks for my session I guess I have to start thinking about what to talk about next year For anyone who didn t get to see the session live the pdf really only tells half the story so you may want to check

    Original URL path: http://www.craftymind.com/page/5/ (2016-04-27)
    Open archived version from archive


  • Download source ZIP 11K Download Flex 3 SDK

    Original URL path: http://www.craftymind.com/factory/BlizzardDownloader/srcview/SourceTree.html (2016-04-27)
    Open archived version from archive



  •