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
- XmlNamespaceDeclarationsAttribute.cs
- WindowsComboBox.cs
- _NetRes.cs
- LinkedResource.cs
- SessionIDManager.cs
- XamlTypeWithExplicitNamespace.cs
- FunctionUpdateCommand.cs
- ClientCultureInfo.cs
- BuildResult.cs
- InvokeProviderWrapper.cs
- BrowserCapabilitiesFactory35.cs
- WebDisplayNameAttribute.cs
- ClientBuildManager.cs
- StylusTip.cs
- FieldToken.cs
- CounterSampleCalculator.cs
- BitmapEffectDrawing.cs
- dataprotectionpermissionattribute.cs
- DecoderNLS.cs
- ColorIndependentAnimationStorage.cs
- SelectionEditor.cs
- AbstractDataSvcMapFileLoader.cs
- TemplateBindingExpressionConverter.cs
- HandlerFactoryWrapper.cs
- DataServiceRequestException.cs
- CompareInfo.cs
- Compress.cs
- CmsInterop.cs
- __FastResourceComparer.cs
- SettingsPropertyIsReadOnlyException.cs
- BufferedStream.cs
- MouseCaptureWithinProperty.cs
- TripleDES.cs
- HorizontalAlignConverter.cs
- Semaphore.cs
- HybridDictionary.cs
- TimeSpanConverter.cs
- SoapIgnoreAttribute.cs
- SqlDataSourceCommandParser.cs
- XmlnsCompatibleWithAttribute.cs
- PerfCounters.cs
- NavigateEvent.cs
- ConfigsHelper.cs
- DataGridItem.cs
- DEREncoding.cs
- GrammarBuilderWildcard.cs
- ToolStripContainerDesigner.cs
- PopupControlService.cs
- SplitterCancelEvent.cs
- BooleanAnimationUsingKeyFrames.cs
- PropertyConverter.cs
- StateMachineWorkflowDesigner.cs
- ContentValidator.cs
- BindingContext.cs
- EntityCommand.cs
- GeometryConverter.cs
- TabItemWrapperAutomationPeer.cs
- SqlBuilder.cs
- PageRequestManager.cs
- ColumnHeaderConverter.cs
- TemplateFactory.cs
- EdmConstants.cs
- WizardStepBase.cs
- WsdlServiceChannelBuilder.cs
- DelegatedStream.cs
- MaterialGroup.cs
- CryptoStream.cs
- ADMembershipProvider.cs
- StateMachineWorkflow.cs
- CacheSection.cs
- HGlobalSafeHandle.cs
- BitmapEffect.cs
- EventManager.cs
- LabelLiteral.cs
- Bitmap.cs
- TextPattern.cs
- FontUnit.cs
- DiagnosticsConfiguration.cs
- XslAst.cs
- DataBindingCollectionEditor.cs
- MetadataSource.cs
- Manipulation.cs
- CultureInfoConverter.cs
- TabPanel.cs
- TrackBarRenderer.cs
- Peer.cs
- UIElementHelper.cs
- Win32PrintDialog.cs
- DataGridViewRowsAddedEventArgs.cs
- HatchBrush.cs
- SqlDataReaderSmi.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- PingReply.cs
- _emptywebproxy.cs
- EdmSchemaAttribute.cs
- HierarchicalDataBoundControlAdapter.cs
- VisualStyleTypesAndProperties.cs
- ToolStripItemTextRenderEventArgs.cs
- Activity.cs
- TreeNode.cs