Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPPOINT.cs / 1 / GPPOINT.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /*************************************************************************\ * * Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved. * * Module Name: * * GPPOINT.cs * * Abstract: * * Native GDI+ integer coordinate point structure. * * Revision History: * * 12/14/1998 davidx * Created it. * \**************************************************************************/ namespace System.Drawing.Internal { using System.Diagnostics; using System; using System.Drawing; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal class GPPOINT { internal int X; internal int Y; internal GPPOINT() { } internal GPPOINT(PointF pt) { X = (int) pt.X; Y = (int) pt.Y; } internal GPPOINT(Point pt) { X = pt.X; Y = pt.Y; } internal PointF ToPoint() { return new PointF(X, Y); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MenuCommands.cs
- TextSerializer.cs
- BitmapEffectGroup.cs
- ToolStripLocationCancelEventArgs.cs
- _NTAuthentication.cs
- EditorOptionAttribute.cs
- SqlBooleanizer.cs
- ShaperBuffers.cs
- TextSelectionHighlightLayer.cs
- CqlParser.cs
- RectValueSerializer.cs
- BitmapVisualManager.cs
- PropertyDescriptorGridEntry.cs
- NotifyInputEventArgs.cs
- FontFamily.cs
- UnsafeNativeMethods.cs
- EastAsianLunisolarCalendar.cs
- MetadataItemEmitter.cs
- TextRenderer.cs
- WebPartMovingEventArgs.cs
- CompilationUnit.cs
- ToolStripGripRenderEventArgs.cs
- EntityKeyElement.cs
- ObjectViewEntityCollectionData.cs
- ThicknessKeyFrameCollection.cs
- ScriptControlManager.cs
- Interop.cs
- ControlBindingsCollection.cs
- TreeNodeBindingCollection.cs
- GlyphsSerializer.cs
- DurableInstanceProvider.cs
- WindowsContainer.cs
- RtfNavigator.cs
- CheckBoxAutomationPeer.cs
- CustomErrorCollection.cs
- LabelTarget.cs
- NotifyIcon.cs
- COM2PictureConverter.cs
- OptionalColumn.cs
- DataGridViewRow.cs
- NetCodeGroup.cs
- AutoResizedEvent.cs
- OrderedDictionary.cs
- MailHeaderInfo.cs
- Script.cs
- SessionEndingEventArgs.cs
- BaseProcessor.cs
- TypeConverterHelper.cs
- SqlProfileProvider.cs
- MetricEntry.cs
- TreeNodeClickEventArgs.cs
- TextViewBase.cs
- DataTemplateSelector.cs
- RenderData.cs
- MemoryPressure.cs
- JsonReader.cs
- PriorityBinding.cs
- DecodeHelper.cs
- XPathNavigatorReader.cs
- HMACSHA1.cs
- KeyMatchBuilder.cs
- ToolBarPanel.cs
- EdmTypeAttribute.cs
- ComIntegrationManifestGenerator.cs
- BatchWriter.cs
- HandlerBase.cs
- SignatureResourcePool.cs
- TimeSpanFormat.cs
- _UriTypeConverter.cs
- RoleBoolean.cs
- PointLightBase.cs
- ReadOnlyDictionary.cs
- CollectionMarkupSerializer.cs
- Validator.cs
- TraceSwitch.cs
- TextFormatterContext.cs
- NamespaceExpr.cs
- XmlSerializerFactory.cs
- KeyGestureConverter.cs
- XmlDataSourceNodeDescriptor.cs
- FontStyles.cs
- DataGridToolTip.cs
- BinHexDecoder.cs
- TableColumn.cs
- TranslateTransform3D.cs
- PngBitmapDecoder.cs
- TextTreeTextBlock.cs
- DSGeneratorProblem.cs
- WebPartEditorCancelVerb.cs
- MemoryStream.cs
- SqlFacetAttribute.cs
- SchemaConstraints.cs
- WebConfigurationHostFileChange.cs
- DataServiceConfiguration.cs
- UrlAuthorizationModule.cs
- SizeConverter.cs
- CompositionTarget.cs
- HebrewCalendar.cs
- XmlDictionaryWriter.cs
- WindowsScrollBar.cs