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
- AuthorizationRuleCollection.cs
- NamedObject.cs
- EnumerationRangeValidationUtil.cs
- Maps.cs
- RepeaterItem.cs
- MachineKeySection.cs
- LinqDataSourceHelper.cs
- XmlHierarchicalEnumerable.cs
- ProfileBuildProvider.cs
- XmlAtomicValue.cs
- MulticastDelegate.cs
- ClosableStream.cs
- BlobPersonalizationState.cs
- OleDbRowUpdatedEvent.cs
- GenericTypeParameterBuilder.cs
- FunctionDescription.cs
- PatternMatcher.cs
- RefreshEventArgs.cs
- DataGridItemEventArgs.cs
- UserMapPath.cs
- CodeGeneratorOptions.cs
- GroupBoxRenderer.cs
- BuildProvidersCompiler.cs
- AsymmetricSignatureDeformatter.cs
- IfJoinedCondition.cs
- XmlBinaryReader.cs
- Icon.cs
- WindowsStreamSecurityUpgradeProvider.cs
- ButtonRenderer.cs
- SqlMultiplexer.cs
- FormViewCommandEventArgs.cs
- WriteTimeStream.cs
- MediaTimeline.cs
- SegmentInfo.cs
- DrawingState.cs
- OutOfMemoryException.cs
- SqlMethodCallConverter.cs
- ConnectionAcceptor.cs
- DecimalAverageAggregationOperator.cs
- UntrustedRecipientException.cs
- ItemContainerProviderWrapper.cs
- ConstraintCollection.cs
- DaylightTime.cs
- DbProviderManifest.cs
- CompilerHelpers.cs
- Triplet.cs
- SqlDataSourceCommandEventArgs.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- ScriptBehaviorDescriptor.cs
- QuotedStringFormatReader.cs
- PageBreakRecord.cs
- HandleRef.cs
- RoleService.cs
- DbConnectionFactory.cs
- RuntimeWrappedException.cs
- XmlWellformedWriter.cs
- XmlCharacterData.cs
- SqlWriter.cs
- ToolBarButtonClickEvent.cs
- ToolStripItemCollection.cs
- DataSourceBooleanViewSchemaConverter.cs
- DataGridPreparingCellForEditEventArgs.cs
- Point3DIndependentAnimationStorage.cs
- RectangleConverter.cs
- SerializationHelper.cs
- ProcessThreadCollection.cs
- SudsCommon.cs
- ReadOnlyCollectionBase.cs
- MasterPageCodeDomTreeGenerator.cs
- ProxyWebPart.cs
- DataGridViewCellValueEventArgs.cs
- TimeSpanSecondsConverter.cs
- Command.cs
- SQLInt64.cs
- SqlRetyper.cs
- SoapExtensionStream.cs
- TextLine.cs
- SettingsSection.cs
- PageThemeParser.cs
- Compilation.cs
- XmlElementAttribute.cs
- Currency.cs
- SchemaLookupTable.cs
- FixedDocument.cs
- MdiWindowListItemConverter.cs
- SoapIncludeAttribute.cs
- X509ThumbprintKeyIdentifierClause.cs
- DbCommandTree.cs
- DocumentCollection.cs
- RawStylusInputCustomData.cs
- ControlDesigner.cs
- WebFormDesignerActionService.cs
- FlowStep.cs
- BitmapImage.cs
- SemanticResultValue.cs
- XmlValidatingReader.cs
- StyleXamlTreeBuilder.cs
- ISAPIApplicationHost.cs
- ViewStateException.cs
- DrawListViewColumnHeaderEventArgs.cs