Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECTF.cs / 1305376 / GPRECTF.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Internal { using System.Diagnostics; using System; using System.Drawing; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal struct GPRECTF { internal float X; internal float Y; internal float Width; internal float Height; internal GPRECTF(float x, float y, float width, float height) { X = x; Y = y; Width = width; Height = height; } internal GPRECTF(RectangleF rect) { X = rect.X; Y = rect.Y; Width = rect.Width; Height = rect.Height; } internal SizeF SizeF { get { return new SizeF(Width, Height); } } internal RectangleF ToRectangleF() { return new RectangleF(X, Y, Width, Height); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TransformationRules.cs
- PrimaryKeyTypeConverter.cs
- DataControlButton.cs
- XmlSchemaDatatype.cs
- TreeNodeStyleCollectionEditor.cs
- FrugalMap.cs
- DataGridCellInfo.cs
- _SslState.cs
- WebPartConnectionsDisconnectVerb.cs
- FormattedTextSymbols.cs
- BindingCompleteEventArgs.cs
- Stacktrace.cs
- IriParsingElement.cs
- ImageSource.cs
- RequiredAttributeAttribute.cs
- XmlSortKey.cs
- ObjectDataSourceSelectingEventArgs.cs
- ObjectListFieldsPage.cs
- XmlIgnoreAttribute.cs
- XhtmlBasicCommandAdapter.cs
- CompiledQueryCacheEntry.cs
- ReachSerializer.cs
- FontDialog.cs
- RC2CryptoServiceProvider.cs
- DbDataSourceEnumerator.cs
- GeneralTransformGroup.cs
- TimelineGroup.cs
- ToolStripContentPanelRenderEventArgs.cs
- WebBrowsableAttribute.cs
- SynchronizedInputProviderWrapper.cs
- KnownIds.cs
- MenuItem.cs
- TdsParserStateObject.cs
- ResolveInfo.cs
- Metadata.cs
- ResourceExpression.cs
- ElapsedEventArgs.cs
- UnsafeNativeMethodsMilCoreApi.cs
- RegexParser.cs
- CustomSignedXml.cs
- TimelineGroup.cs
- NativeCompoundFileAPIs.cs
- FormViewUpdatedEventArgs.cs
- EngineSite.cs
- ImageConverter.cs
- ManualResetEventSlim.cs
- DesignerCalendarAdapter.cs
- TextDecorationCollectionConverter.cs
- ConnectionPointGlyph.cs
- VerbConverter.cs
- XmlDocumentFragment.cs
- ConfigurationPropertyAttribute.cs
- FormatterConverter.cs
- RequestQueue.cs
- OleDbError.cs
- LayeredChannelListener.cs
- RoleManagerSection.cs
- XmlWrappingWriter.cs
- MediaSystem.cs
- CodeConstructor.cs
- ProtocolException.cs
- MessageSmuggler.cs
- Pen.cs
- LazyLoadBehavior.cs
- Inflater.cs
- UshortList2.cs
- ModuleBuilder.cs
- SQLCharsStorage.cs
- DataContext.cs
- ExtensionFile.cs
- WebPartDesigner.cs
- SystemWebExtensionsSectionGroup.cs
- HttpInputStream.cs
- PolicyLevel.cs
- RelationshipSet.cs
- ControlAdapter.cs
- BitmapInitialize.cs
- PackagePart.cs
- BinaryFormatter.cs
- ZeroOpNode.cs
- XMLUtil.cs
- StorageEntityTypeMapping.cs
- DictationGrammar.cs
- PathNode.cs
- CaseKeyBox.ViewModel.cs
- DataGridViewRowPostPaintEventArgs.cs
- AutoCompleteStringCollection.cs
- HttpListenerRequestTraceRecord.cs
- BufferedGraphicsManager.cs
- CmsInterop.cs
- TextElementAutomationPeer.cs
- ActiveXContainer.cs
- DataControlImageButton.cs
- ImplicitInputBrush.cs
- TextBoxRenderer.cs
- ImageSource.cs
- ScalarType.cs
- WindowsListBox.cs
- GuidelineSet.cs
- ComponentEditorPage.cs