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
- ContentValidator.cs
- DockingAttribute.cs
- XPathParser.cs
- SmtpException.cs
- MailMessageEventArgs.cs
- SvcMapFileSerializer.cs
- IntSecurity.cs
- GreaterThan.cs
- DefaultHttpHandler.cs
- ConditionalAttribute.cs
- UnsafeCollabNativeMethods.cs
- FormViewUpdateEventArgs.cs
- StrongNameIdentityPermission.cs
- ConnectionProviderAttribute.cs
- StaticFileHandler.cs
- UrlMappingsSection.cs
- ResolveMatchesApril2005.cs
- ModulesEntry.cs
- XmlDocumentFieldSchema.cs
- Cursor.cs
- PageWrapper.cs
- ProgressBar.cs
- StyleXamlTreeBuilder.cs
- WebPartZoneBaseDesigner.cs
- CheckBox.cs
- SecurityCookieModeValidator.cs
- Token.cs
- XmlObjectSerializerWriteContext.cs
- dataprotectionpermission.cs
- BorderGapMaskConverter.cs
- NamedPipeProcessProtocolHandler.cs
- StaticContext.cs
- safex509handles.cs
- CodeGeneratorOptions.cs
- AspNetRouteServiceHttpHandler.cs
- IResourceProvider.cs
- CompositeScriptReferenceEventArgs.cs
- ColumnPropertiesGroup.cs
- RewritingProcessor.cs
- BaseTreeIterator.cs
- Msmq3PoisonHandler.cs
- WebHttpBindingElement.cs
- ParseNumbers.cs
- SqlBuilder.cs
- FullTrustAssembliesSection.cs
- HttpPostedFile.cs
- CacheForPrimitiveTypes.cs
- ListViewUpdatedEventArgs.cs
- DataGridViewRowCancelEventArgs.cs
- XmlBinaryReader.cs
- MediaCommands.cs
- Command.cs
- InvalidFilterCriteriaException.cs
- ServiceSecurityAuditElement.cs
- AnnotationMap.cs
- DescendentsWalker.cs
- Relationship.cs
- DelegatingTypeDescriptionProvider.cs
- EditorBrowsableAttribute.cs
- UnSafeCharBuffer.cs
- RedirectionProxy.cs
- VisualStyleRenderer.cs
- NullableFloatAverageAggregationOperator.cs
- StrongNameUtility.cs
- SafeCoTaskMem.cs
- RangeContentEnumerator.cs
- NavigationEventArgs.cs
- ConfigXmlWhitespace.cs
- SqlCacheDependencyDatabase.cs
- FileDataSource.cs
- SystemFonts.cs
- __TransparentProxy.cs
- WindowInteractionStateTracker.cs
- CloudCollection.cs
- SQLDecimalStorage.cs
- WebServiceErrorEvent.cs
- XPathQueryGenerator.cs
- NativeActivity.cs
- ValuePattern.cs
- XmlSchemaProviderAttribute.cs
- FlowNode.cs
- EastAsianLunisolarCalendar.cs
- CustomErrorCollection.cs
- COM2ComponentEditor.cs
- HwndProxyElementProvider.cs
- OleStrCAMarshaler.cs
- SurrogateSelector.cs
- CollectionViewSource.cs
- PropertyValue.cs
- _LocalDataStore.cs
- MatrixAnimationUsingPath.cs
- SecurityManager.cs
- TextFormatter.cs
- ToolStripDropDownDesigner.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- IdentityManager.cs
- CustomErrorsSection.cs
- Font.cs
- DataBindingExpressionBuilder.cs
- DetailsViewPageEventArgs.cs