<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


GDI+ powerpoints

...from Dino's MSDN Mag article.

  • The GDI+ subsystem is a native component of the Windows XP and Windows Server 2003 operating systems that is available to 32-bit and 64-bit Windows-based apps.
  • ..the core services of GDI+ are still in unmanaged code. The classes in the .NET Framework are merely wrappers around them. This is something that is expected to change in the upcoming version of Windows, code-named Longhorn.
  • In the .NET Framework, GDI+ functions are defined in the System.Drawing namespace. The namespace includes three child namespaces, which encompass 2D drawing,imaging, and text manipulation.
  • In System.Drawing you find the basic drawing primitives to handle fonts, brushes, pens, and bitmaps.
  • Advanced 2D and vector graphics effects are provided by the classes in System.Drawing.Drawing2D.In particular, you'll find gradients, blending, paths, and regions.
  • Image rendering, color manipulation, and metafile support is available in System.Drawing.Imaging.
  • The classes in System.Drawing.Text manage an application's privately and publicly installed font collections.
  • The base class for representing and handling images is Image. It is an abstract class that provides core functionality for three more specific types of images: bitmaps, metafiles, and icons.
  • In the .NET Framework, a bitmap is not necessarily a .bmp file.
  • A Bitmap object is an object used to work with images defined by pixel data as opposed to a record-based image like a metafile or icon.
  • A bitmap can be constructed dynamically by allocating a graphic memory context or it can be loaded from existing data. The Bitmap constructor accepts data from disk files, streams, and other Image-based objects.

Labels:

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

»

Post a Comment