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
- WebMessageEncodingElement.cs
- EditorPartCollection.cs
- NavigateUrlConverter.cs
- RelatedCurrencyManager.cs
- Int32KeyFrameCollection.cs
- AdornerPresentationContext.cs
- SplineKeyFrames.cs
- Substitution.cs
- MsmqException.cs
- ContainerFilterService.cs
- HMACSHA384.cs
- TemplateManager.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- DataGridViewComboBoxCell.cs
- XmlIgnoreAttribute.cs
- COM2ColorConverter.cs
- CFGGrammar.cs
- WebPartMovingEventArgs.cs
- WaitForChangedResult.cs
- Converter.cs
- RoleManagerModule.cs
- SplitterPanel.cs
- ObjectViewEntityCollectionData.cs
- ListDependantCardsRequest.cs
- XmlQueryOutput.cs
- AdornerHitTestResult.cs
- ValueTable.cs
- TextTrailingCharacterEllipsis.cs
- X509Chain.cs
- ConnectionProviderAttribute.cs
- DbCommandDefinition.cs
- DBCommandBuilder.cs
- UpdateRecord.cs
- Panel.cs
- MetadataFile.cs
- ListParaClient.cs
- BaseCollection.cs
- HostingEnvironmentSection.cs
- XsltException.cs
- DecoderFallback.cs
- CounterNameConverter.cs
- SafeMILHandle.cs
- ExtractedStateEntry.cs
- TextTabProperties.cs
- DrawingGroup.cs
- RsaKeyIdentifierClause.cs
- TraceListeners.cs
- RelatedPropertyManager.cs
- TreeNodeBinding.cs
- ThousandthOfEmRealPoints.cs
- CqlWriter.cs
- RectKeyFrameCollection.cs
- PocoPropertyAccessorStrategy.cs
- Sequence.cs
- complextypematerializer.cs
- FormatterConverter.cs
- Transform3DGroup.cs
- Utils.cs
- RouteUrlExpressionBuilder.cs
- DataGridViewComboBoxColumn.cs
- WebPartManagerInternals.cs
- DataListItemEventArgs.cs
- UrlMappingCollection.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- ThumbButtonInfo.cs
- VScrollBar.cs
- CompareValidator.cs
- ClientConfigurationHost.cs
- UIElement3D.cs
- PowerModeChangedEventArgs.cs
- ClientType.cs
- VirtualDirectoryMapping.cs
- CallbackTimeoutsElement.cs
- ExtendedPropertyCollection.cs
- DataGridViewCheckBoxCell.cs
- WinInetCache.cs
- SafeSystemMetrics.cs
- UrlMappingsModule.cs
- DrawingContextWalker.cs
- VerificationException.cs
- fixedPageContentExtractor.cs
- Win32.cs
- IconHelper.cs
- DrawListViewSubItemEventArgs.cs
- SettingsProviderCollection.cs
- FlatButtonAppearance.cs
- HttpModuleActionCollection.cs
- ObjectStorage.cs
- NoPersistScope.cs
- ProviderCollection.cs
- IdentityValidationException.cs
- HtmlHistory.cs
- IFlowDocumentViewer.cs
- AccessorTable.cs
- TimeSpan.cs
- LabelEditEvent.cs
- ConditionChanges.cs
- IndexedGlyphRun.cs
- XPathChildIterator.cs
- CryptoProvider.cs