Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECTF.cs / 1 / 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. //------------------------------------------------------------------------------ //// 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
- SingleAnimation.cs
- Effect.cs
- DataServiceQueryException.cs
- PropertyChangedEventArgs.cs
- AdornerPresentationContext.cs
- FilteredXmlReader.cs
- TranslateTransform3D.cs
- OleDbException.cs
- UIElementParaClient.cs
- SessionIDManager.cs
- UpWmlPageAdapter.cs
- TripleDESCryptoServiceProvider.cs
- UserControl.cs
- CallbackWrapper.cs
- Popup.cs
- ReturnEventArgs.cs
- NavigatingCancelEventArgs.cs
- ApplicationInfo.cs
- PropertyRecord.cs
- _SpnDictionary.cs
- RootContext.cs
- Themes.cs
- ErrorStyle.cs
- SessionPageStateSection.cs
- Speller.cs
- MULTI_QI.cs
- _AutoWebProxyScriptEngine.cs
- odbcmetadatacolumnnames.cs
- OleDbDataAdapter.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- MediaPlayerState.cs
- LocalFileSettingsProvider.cs
- ImmComposition.cs
- PrincipalPermission.cs
- RegisteredScript.cs
- EventTask.cs
- Bits.cs
- SqlDataRecord.cs
- Point3D.cs
- ExtensionQuery.cs
- HandlerMappingMemo.cs
- SynchronizedInputHelper.cs
- HttpStreamXmlDictionaryWriter.cs
- DataGridRelationshipRow.cs
- ToolStripItemRenderEventArgs.cs
- ActivityTypeResolver.xaml.cs
- InitializingNewItemEventArgs.cs
- TraceXPathNavigator.cs
- Rectangle.cs
- SqlDataSourceCache.cs
- WorkflowQueueInfo.cs
- DataGridViewRowPostPaintEventArgs.cs
- EventLogPermissionEntryCollection.cs
- WhitespaceRule.cs
- Decimal.cs
- TripleDES.cs
- BroadcastEventHelper.cs
- CorePropertiesFilter.cs
- SqlCommandAsyncResult.cs
- ProgressBarAutomationPeer.cs
- TextDecorationUnitValidation.cs
- SHA1.cs
- JsonByteArrayDataContract.cs
- EventLogLink.cs
- DynamicRouteExpression.cs
- TableRow.cs
- DbProviderFactoriesConfigurationHandler.cs
- HiddenFieldPageStatePersister.cs
- XsltContext.cs
- EventBindingService.cs
- ClearTypeHintValidation.cs
- RelationshipDetailsRow.cs
- Perspective.cs
- ButtonDesigner.cs
- DocumentViewerConstants.cs
- RegexWorker.cs
- ConnectionPointGlyph.cs
- RemoteWebConfigurationHostServer.cs
- MsmqIntegrationElement.cs
- StyleCollection.cs
- TypeDescriptor.cs
- PartialCachingControl.cs
- SqlTypeConverter.cs
- HttpEncoderUtility.cs
- WorkflowExecutor.cs
- CompilerHelpers.cs
- MatrixUtil.cs
- OrthographicCamera.cs
- streamingZipPartStream.cs
- ExtenderProvidedPropertyAttribute.cs
- Int32Storage.cs
- SponsorHelper.cs
- ItemsPanelTemplate.cs
- EntryPointNotFoundException.cs
- Win32Native.cs
- XmlDocumentSchema.cs
- ShapeTypeface.cs
- RuleSettingsCollection.cs
- DataTableCollection.cs
- PageThemeParser.cs