Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECTF.cs / 2 / 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
- CodeConstructor.cs
- XmlText.cs
- SerTrace.cs
- Tuple.cs
- BulletChrome.cs
- AtomContentProperty.cs
- TextServicesCompartmentEventSink.cs
- AccessDataSourceView.cs
- InstanceDescriptor.cs
- Selection.cs
- HttpInputStream.cs
- UnsafeNativeMethods.cs
- Stack.cs
- SchemaMapping.cs
- XmlNamespaceDeclarationsAttribute.cs
- SessionPageStateSection.cs
- IsolatedStorage.cs
- CreateUserWizard.cs
- InternalConfirm.cs
- ServiceBuildProvider.cs
- PrintingPermission.cs
- BaseDataList.cs
- AlignmentXValidation.cs
- DecoderBestFitFallback.cs
- ConnectionConsumerAttribute.cs
- Rights.cs
- AbandonedMutexException.cs
- RelatedCurrencyManager.cs
- TypographyProperties.cs
- AsmxEndpointPickerExtension.cs
- BaseCollection.cs
- SimpleWebHandlerParser.cs
- DataGridViewCellStyle.cs
- XmlAttributeAttribute.cs
- RtfControlWordInfo.cs
- UserNameSecurityToken.cs
- DeviceOverridableAttribute.cs
- Compiler.cs
- ZoneButton.cs
- Binding.cs
- XmlIncludeAttribute.cs
- ArrayTypeMismatchException.cs
- TimeIntervalCollection.cs
- CodePageEncoding.cs
- PrintingPermission.cs
- QueryContext.cs
- XmlSchemaAnnotation.cs
- XamlClipboardData.cs
- Scalars.cs
- GraphicsPath.cs
- SafeEventLogReadHandle.cs
- TextDecorations.cs
- GlobalizationAssembly.cs
- RoutedPropertyChangedEventArgs.cs
- BoolLiteral.cs
- OutputCacheProfile.cs
- Schedule.cs
- mediaeventshelper.cs
- ItemsPresenter.cs
- PropertyPathConverter.cs
- SqlClientWrapperSmiStreamChars.cs
- ToolStripManager.cs
- SoapSchemaExporter.cs
- PassportAuthentication.cs
- ImageAnimator.cs
- SessionViewState.cs
- DataListItemCollection.cs
- ComplexPropertyEntry.cs
- JpegBitmapDecoder.cs
- _LocalDataStore.cs
- EntityAdapter.cs
- RightsManagementLicense.cs
- SoapExtensionTypeElement.cs
- WmlControlAdapter.cs
- MsmqActivation.cs
- CompilerState.cs
- TimeoutValidationAttribute.cs
- PropertyChangedEventArgs.cs
- TagPrefixAttribute.cs
- HtmlEmptyTagControlBuilder.cs
- Baml6ConstructorInfo.cs
- ReceiveActivity.cs
- CommandTreeTypeHelper.cs
- DeploymentExceptionMapper.cs
- XmlUrlResolver.cs
- AccessText.cs
- HMACSHA512.cs
- SqlDataSourceCache.cs
- InputManager.cs
- LexicalChunk.cs
- DataTableClearEvent.cs
- CaseCqlBlock.cs
- IpcPort.cs
- WebPartCloseVerb.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- CodePropertyReferenceExpression.cs
- PasswordTextNavigator.cs
- OnOperation.cs
- Triangle.cs
- StylusPlugInCollection.cs