C# Corner

Resources  
  • Using Transforms with GDI+ in C#Mar 15, 2001. Transforms are matrices that allow you to rotate and translate your graphics shapes. In this example we are going to rotate a very powerful element in C# called the GraphicsPath.
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a "Shared Assembly".
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • Rotation SampleApr 24, 2001. After reading Mike Golds article on transforms I thought I would get things moving a bit!
  • ShapedForms in C#Jul 13, 2001. Today Windows always appear with a rectangular shape. What if you could have a window that was shaped like a circle, a square or a triangle or any shape you want.
  • Visual MatrixAug 17, 2001. User can easily add ,sub any limit of matrices. Edit boxes are created dynamically.
  • Playing with 3-D Coordinate Space in C#, GDI+ and .NETJan 10, 2002. This article show to dealing with a 3-D Coordinate System.
  • Rotating a 3D Cube and Sphere with GDI+Feb 08, 2002. This program rotates a 3d cube and a sphere with GDI+.
  • Exocortex.DSP - A C# Complex Number and FFT LibraryApr 08, 2002. Shows how to convert an image from a spatial representation (i.e. picture on the left) to a frequency representation (picture on the right) using a 2D fast Fourier transform.
  • Space Breakout - 2D Game Developed Using DirectX and C#Apr 11, 2002. GDI+ is a feature rich graphics API that makes sophisticated graphical effects highly accessible to the C# developers.
  • Space Breakout - 2D Game Developed using DirectX and C#Apr 11, 2002. GDI+ is a feature rich graphics API that makes sophisticated graphical effects highly accessible to the C# developers. Unfortunately if youve tried to develop smooth detailed animation using GDI+ you have undoubtedly discovered that just how slow it can be. Consequently it is not particularly suited to games development, if you want to really take advantage of your 1 gig + processor and that fancy new graphics card youre going to have to get a little more low level and dirty, enter Microsofts DirectX API.
  • Nemesis-7rc1 (Codename Deviate)May 13, 2002. Nemesis-7 is a full-screen 2D shoot’em up that makes use of the DirectInput, DirectSound and DirectDraw interfaces from DirectX. The player controls a spaceship which he uses to duel the computer opponent. I implemented some artificial intelligence to make the CPU play more human.
  • An XY Plot User Control in GDI+May 24, 2002. This is a follow up of the article written originally for the beta version of .NET. called, A Graphics Component in C#.
  • Nemesis-7rc1 ( Codename Deviate)Jun 13, 2002. Nemesis-7 is a full-screen 2D shoot’em up that makes use of the DirectInput, DirectSound and DirectDraw interfaces from DirectX. The player controls a spaceship which he uses to duel the computer opponent. I implemented some artificial intelligence to make the CPU play more human.
  • Double Buffer Drawing with DirectDraw: Part1Aug 15, 2002. Because we will be primary focusing on 2D game programming in the first articles, we will use the DirectX7 API which is perfect for its DirectDraw class and simplicity. Don’t worry for not having the right DLL because DirectX8 has full backward compatibility to DirectX7 and the COM object should already be available on your computer if you have DirectX 8 installed.
  • Spiro DesignerSep 16, 2002. Spiro designer is a partial implementation of Spirograph. Spiro Designer uses the Matrix and GraphicsPath classes with their Transform and Rotate methods to build a spiro.
  • The "ins" and "outs" of Using Stored Procedures in C#Jan 27, 2003. This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • A Virtual Clock in C# and GDI+Jul 01, 2003. This article describes how to create a virtual clock in C#. The hands of the clock are drawn using GraphicPaths.
  • 2D ChartingAug 11, 2003. I was amazed at what the VS.NET IDE does for a programmer as I was primarily used to Java via the command line.
  • BreakOut 3DSep 05, 2003. I really miss those days when everything was simple and in 2D. But now it’s different, people today must have everything in 3D. So here it is, my version of breakout.
  • Creating Word Find Pzzules in C# and GDI+Sep 30, 2003. Perusing the newsstands in New York you'll find newspapers, TV-Guides, magazines, and even books. In the magazine section you'll often find crosswords and books containing the puzzles you'll see in figure 1. The books contain pages and pages of puzzles with hidden words contained in the matrix of letters in which you can spend time going blind trying to find.
  • Virtual Voltmeter using GDI+ and GP-3 BoardDec 09, 2003. This is a less complex, nevertheless interesting example of how to use the same board to create a simple voltmeter.
  • The Graphics Class and TransformationsApr 01, 2004. The Graphics class defined the transformation related functionality. This article discussed the Graphics class and its members that participate in transformation process.
  • Introduction to GDI+ Transformations Apr 01, 2004. A transformation is a process that changes graphics objects from one state to another. Rotation, scaling, reflection, translation, and shearing are some examples of transformation. Transformations can be applied not only to graphics shapes, curves, and images, but even to image colors.
  • The Matrix Class and TransformationsApr 01, 2004. Matrices play a vital role in the transformation process. In GDI+, the Matrix class represents a 3×2 matrix that contains x, y, and w values in the first, second, and third columns, respectively.
  • Color Transformations and the Color MatrixApr 10, 2004. This article discusses the color transformations and how to apply Color Matrix on image colors to provide various effects such as gray scale effects, reduce or increase the contrast, brightness, or redness of an image.
  • Image Transformation in C# with GDI+ Apr 14, 2004. Image transformation is exactly the same as any other transformation process. In this section we will see how to rotate, scale, translate, reflect, and shear images.
  • Significance of Transformation OrderApr 27, 2004. When applying a composite transformation on graphics objects, the order of transformations plays a vital role. This article shows you various aspects of the transformation order and the results.
  • Text Transformation using GDI+ and C#Apr 27, 2004. This article shows you how to use GDI+ classes defined in the .NET Framework class library to apply transformations on text.
  • WPF Application for Importing ESRI ShapefilesFeb 26, 2007. A standalone application for reading ESRI shapefiles and displaying them on a WPF Canvas.
  • Animating your XAML AppsApr 05, 2007. This article will describe how to do 2D Animation using XAML Scripts. In the article we will describe how to implement transforms on XAML shapes and then how to move them around in your form.
  • Play Video in WPFApr 09, 2007. If you have built any video enabled application prior to WPF, you must be familiar with the Windows Media Player ActiveX control. The WPF library provides the MediaElement control that encapsulates Windows Media Player functionality.
  • Programming XAML - A Quick StartApr 10, 2007. XAML is a new descriptive programming language that is used to define user interfaces in WPF, Silverlight and Windows 8 Metro Style Apps. This article is an introduction to XAML.
  • XML Data Binding in WPFApr 11, 2007. This article describes how to bind XML data using a data template in WPF and XAML. For ease of demonstration, the XML is defined as a resource within the XAML document.
  • Digital Ink in WPFApr 11, 2007. Digital ink used to only be available as part of the Tablet PC SDK. Now it is bundled with Windows Presentation Foundation. This tutorial demonstrates how easy it is to integrate digital ink into your Avalon applications using XAML and C#.
  • Introduction to XNA: The Microsoft 2D and 3D Game Development PlatformApr 20, 2007. This article introduces you to the XNA Framework that makes game development easier than it ever was before. This sample features a star trek ship which you can move around the screen and shoot at the enemy Klingon Ship. The demo comes complete with authentic sound.
  • WPF ComboBox doesn't bind correctly - Binding to Nullable Ints Jun 07, 2007. If you have been working with WPF and have had issues with your ComboBox or any list control binding then you can stop pulling your hair out.
  • A glance at .NET Framework 3.0Jul 17, 2007. This article glances on what is new in .NET Framework 3.0 and how this version is different from all previous versions of .NET?
  • Data Binding in WPF Windows ApplicationAug 23, 2007. In this tutorial I will discuss on how to bind Data with WPF windows application.
  • WPF ListBoxAug 31, 2007. This tutorial shows you how to work with the ListBox control available in WPF.
  • Creating MenuItem With WPFSep 03, 2007. In any desktop application it is very important to have menu bar to the application/system, so that user will find easy to access it. In this tutorial I will be talking about how we can create Menu bar in WPF application using XAML.
  • WPF Database Communication Adding new Record to the DatabaseSep 06, 2007. WPF Database communication Adding new record to the database (XAML-MS-Access), I have a XAML form with FirstName, LastName, Email & Contact fields in it on click of submit button it will first check if the same email address is exists in the table else it will add new record I have made use of OleDbTransaction to perform add functionality.
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • Expander Control in WPFOct 02, 2007. This article and source code show how to use Expander control in WPF.
  • Working with 2D Graphics in WPFOct 03, 2007. This article provides an introduction of 2D drawings in WPF.
  • Data Binding in WPF ListViewOct 05, 2007. This article shows how to extract data from a database and show in a WPF ListView control.
  • Implementing a Simple Silverlight ControlOct 30, 2007. This article shows how to implement a simple button control using Silverlight 1.1 and C#.
  • Euler Rotation and 3D GraphicsJan 09, 2008. This article tells you how to use matrix multiplication to rotate 3D points around an axis.
  • Chapter 2: Programming WPF ApplicationsJan 09, 2008. This article describes the framework that WPF offers and also tells the differences between Browser based and Windows based installed applications.
  • Chapter I: Introducing WPFApr 22, 2008. This chapter provides you a brief knowledge about the Windows Presentation Foundation (WPF)
  • Using Windows Forms Controls in WPFJun 20, 2008. In this tutorial, you will learn how to use existing Windows Forms controls in a WPF application. I have used Visual Studio 2008 to create this tutorial.
  • User Control in WPFJun 30, 2008. This article discusses how to create a User Control in XAML and WPF using Visual Studio 2008 and how to use it in a WPF application.
  • Animated Banners in XAMLJul 02, 2008. This article shows how to use animation related controls in XAML to create an animated banner with animations such as gradient colors, text rotation, and resize the banner text.
  • Creating Fancy Tooltips in WPFJul 14, 2008. Each control in WPF has a Tooltip property that can be accessed through XAML or code behind. This article shows how to create a fancy tooltip in XAML and WPF.
  • Transferring data from one ListBox to another in WPFJul 28, 2008. This article discusses how we can transfer items from one ListBox to another in WPF.
  • SoundPlayer in WPFJul 29, 2008. The code snippet in this article shows how to play sounds in WPF.
  • Menus in WPFJul 29, 2008. This tutorial shows you how to create and use a Menu control available in Windows Presentation Foundation (WPF).
  • Your first animations using XAML and Silverlight- Double animation: Part IIJul 30, 2008. In the previous article "Your first animations using xaml and silverlight - Color animation: Part I", we've exposed a technique of how to deal with color animation. In this article, I will do same thing but with a different animation. I mean the DoubleAnimation class this time.
  • Brushes in WPFJul 30, 2008. This article discusses types of brushes found in WPF and how to use them in your applications.
  • Drawing Shapes in WPF Jul 31, 2008. This article is an introduction to graphics programming in XAML and WPF. In this article, I discuss various graphics objects including lines, rectangles, ellipses, and paths and how to draw them using XAML and WPF.
  • Your first Animation using XAML and Silverlight - Point Animation class: Part IIIAug 04, 2008. This article is third part of the series of articles about animation using XAML and Silverlight.
  • Media Player in WPFAug 04, 2008. This tutorial shows you how to play and control media files in WPF and XAML using WPF Media controls.
  • Data Binding in WPFAug 05, 2008. In this article, I discuss how we can use ADO.NET DataSet to get data from a database and bind to a WPF ListBox control using data binding process in WPF.
  • Data Binding in WPF ControlsAug 11, 2008. This article shows how to add data binding support among controls in WPF.
  • Integrate WPF Control in your Excel SolutionsAug 11, 2008. In this article, I will show that it is possible to host a WPF control in a excel solution even that Visual studio and the .Net framework doesn’t provide us a way to host directly a given WPF control in an Excel application. To know how to realize such task, then follow this walkthrough.
  • Hosting a Windows Control in WPF ApplicationAug 12, 2008. In my previous article, I demonstrated how to host a WPF control within a windows application and in this tutorial, I will show how to host a windows form control within a WPF application.
  • Image Viewer in WPFAug 12, 2008. ImageViewer is an open source project written in WPF and C# that allows users to view images and manipulate them.
  • Host a WPF control in a windows applicationAug 12, 2008. In this walkthrough, I will demonstrate how to host a WPF control in a windows application.
  • Working with WPF Table using XAML - Part IAug 12, 2008. In this article, I will use WPF table in XAML format. This one defines a flexible grid area that contains rows and columns. At the contrast of the Grid object witch is defined in the System.Windows.Controls, the table object is defined in the System.Windows.Documents namespace.
  • How to Define and Configure a Grid Control Within a WPF Aplication Using XAML: Part IAug 13, 2008. In this article, I will try to make a representation of the Grid object witch is directly derived from the Panel abstract class and we can say that is a flexible area that contains rows and columns, it plays a role of container in a given WPF window.
  • WPF ProgressBar Aug 15, 2008. This tutorial shows you how to create and use a ProgressBar control available in Windows Presentation Foundation (WPF) and XAML.
  • WPF SliderAug 18, 2008. This article shows how create and use a slider control using WPF and XAML.
  • How to Define and Configure a Grid Control Within a WPF Application Using C#: Part IIAug 18, 2008. In a previous article, we discovered how to define and configure a Grid control using XAML. In this second article I’ll demonstrate how to do the same task using the code behind, I mean using C#.
  • WPF PopupAug 18, 2008. This tutorial shows you how to create and use a Popup control available in Windows Presentation Foundation (WPF) and XAML.
  • Bitmap Effects using WPFAug 19, 2008. This article shows how to give Bitmap Effect in WPF.
  • ControlTemplate in WPFAug 20, 2008. In this article I will show you how to use ControlTemplate to controls in WPF(Windows Presentation Foundation).
  • UniformGrid in WPFAug 20, 2008. This article show how to use UniformGrid in WPF(Windows Presentation Foundation).
  • Working With a ScrollViewer Control in a WPF ApplicationAug 21, 2008. The ScrollViewer is an object that represents a scrollable area that contains other visible controls, it could be found within the System.Windows.Controls. At the contrast of a ScrollBar object, the ScrollViewer is a WPF new feature. So let’s discover its principal characteristics through this article.
  • WPF TextBoxAug 21, 2008. This article shows how to use and work with the TextBox control available in WPF and XAML.
  • Working with the Uniform Grid in WPFAug 22, 2008. In this article I will introduce the Uniform Grid object. The uniform grid object arranges content in its area so that all the cells in the grid have the same dimension. It represents a perfect solution if someone prefers to prevent the headache of ordering controls within an ordinary Grid object.
  • Working with WPF ViewBox ControlAug 22, 2008. In this article, we will show how to use a ViewBox control available in WPF and XAML.
  • ListBox in WPFAug 26, 2008. This tutorial shows you how to create and use a ListBox control in WPF and XAML. The tutorial also covers styling and formatting, add images, checkboxes, and data binding in a ListBox contrtol.
  • Working with WPF Table using C# - Part IIAug 26, 2008. In the previous article, Working with WPF Table using XAML - Part I, we discovered how to perform this task using XAML. Now, we will see how to do the same using C#.
  • WPF CalculatorAug 26, 2008. The attached source code with this article is a calculator application developed using XAML and WPF.
  • RadioButton in WPFAug 27, 2008. This tutorial shows you how to create and use a RadioButton control available in Windows Presentation Foundation (WPF) and XAML.
  • Working with the frame objectAug 28, 2008. In this article, I will represent the frame object witch is a container control that enables to navigate through internet and display some contents such as an Html page.
  • Dynamic and static Rectangle in WPFAug 29, 2008. This article shows how to create dynamic and static rectangle in WPF and XAML with various drawing effects.
  • User Controls in WPFSep 01, 2008. This articles describes how to create and use User Controls in WPF.
  • Skins in WPFSep 11, 2008. This sample shows how to use Skins in WPF(Windows Presentation Foundation).
  • Visual Brush in WPFSep 23, 2008. This article shows how to use a VisualBrush in WPF and XAML.
  • Cropping or Clipping in WPFNov 06, 2008. The Clip property of an element (defined in the UIElement class) is used to clip a region and represents the geometry that defines the content of an element.
  • Drawing Bezier Curves in WPFNov 07, 2008. This article shows how to implement Bezier curves in WPF.
  • Image Slideshow in WPFNov 17, 2008. In this article, I will create a simple image slideshow using WPF and C#.
  • Introducing Deep Zoom ComposerNov 19, 2008. This tutorial is an introduction to the Deep Zoom Composer and how to use it to build zoom and pan enabled Silverlight applications with the help of Expression Blend and Visual Studio 2008.
  • The "SplashScreen" parameter is not supported by the "MarkupCompilePass1" ErrorNov 26, 2008. You get the "SplashScreen" parameter is not supported by the "MarkupCompilePass1" error message when create and run WPF applications in Visual Studio 2008 SP1.
  • Silverlight Canvas ControlDec 02, 2008. The Canvas control, used as a container for child controls, defines functionality to position the child controls. This article demonstrates how to create and use a Canvas control in Silverlight using C# and XAML.
  • Dependency Property in XAML Dec 23, 2008. This article will exaplain about Dependency Property in XAML and WPF.
  • Draw a smooth curve through a set of 2D points with Cubic SplineDec 24, 2008. Calculate tabulated function cubic spline and approximate comprising polynomials with polylines to use them with drawing primitives.

About 2D-Matrix-in-WPF

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
techbash 2016