Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / textformatting / IndexedGlyphRun.cs / 1 / IndexedGlyphRun.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: IndexedGlyphRun class // // History: // 2/2/2004: [....] Created the file // //--------------------------------------------------------------------------- using System; using System.Windows.Media; namespace System.Windows.Media.TextFormatting { ////// GlyphRun indexed with text source character index. It allows clients to map a text source character index /// to the corresponding GlyphRun. /// public sealed class IndexedGlyphRun { ////// Internal constructor. /// internal IndexedGlyphRun( int textSourceCharacterIndex, int textSourceCharacterLength, GlyphRun glyphRun ) { _textSourceCharacterIndex = textSourceCharacterIndex; _length = textSourceCharacterLength; _glyphRun = glyphRun; } //---------------------------------- // Public properties //---------------------------------- ////// gets the text source character index corresponding to the beginning of the GlyphRun /// public int TextSourceCharacterIndex { get { return _textSourceCharacterIndex; } } ////// gets the text source character length corresponding to this GlyphRun. The text source character /// length does not necessarily equal to the character count in GlyphRun. /// public int TextSourceLength { get { return _length; } } ////// gets the GlyphRun object /// public GlyphRun GlyphRun { get { return _glyphRun; } } //------------------------- // private members //------------------------- private GlyphRun _glyphRun; private int _textSourceCharacterIndex; private int _length; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Size.cs
- OleDbException.cs
- WhiteSpaceTrimStringConverter.cs
- Run.cs
- ObjectTypeMapping.cs
- Button.cs
- WindowsButton.cs
- SmtpNtlmAuthenticationModule.cs
- ContentPlaceHolder.cs
- MetadataItem.cs
- WebCategoryAttribute.cs
- Rules.cs
- _ListenerRequestStream.cs
- DbMetaDataColumnNames.cs
- RegisteredArrayDeclaration.cs
- ServiceManager.cs
- FrameworkContentElement.cs
- BaseDataList.cs
- CuspData.cs
- WinFormsComponentEditor.cs
- ProxyDataContractResolver.cs
- CompilerScopeManager.cs
- UnknownWrapper.cs
- HeaderUtility.cs
- __Error.cs
- RawStylusInputReport.cs
- ImageMapEventArgs.cs
- SyndicationDeserializer.cs
- DCSafeHandle.cs
- Rotation3D.cs
- ColorConverter.cs
- TextBlock.cs
- Header.cs
- InternalConfigHost.cs
- CatalogPartChrome.cs
- DataTrigger.cs
- HiddenFieldPageStatePersister.cs
- Localizer.cs
- _LoggingObject.cs
- ConstraintStruct.cs
- DrawingImage.cs
- TreeNodeMouseHoverEvent.cs
- FixedSOMLineRanges.cs
- HelpKeywordAttribute.cs
- CookieProtection.cs
- XmlSchemaParticle.cs
- UnionExpr.cs
- ReadOnlyDictionary.cs
- ClientTargetCollection.cs
- UiaCoreProviderApi.cs
- ListBindingConverter.cs
- ConfigDefinitionUpdates.cs
- XpsPackagingPolicy.cs
- ContextStack.cs
- SqlLiftIndependentRowExpressions.cs
- RoleServiceManager.cs
- MulticastDelegate.cs
- PropertiesTab.cs
- DataServiceProcessingPipelineEventArgs.cs
- IndexerNameAttribute.cs
- BridgeDataRecord.cs
- XpsInterleavingPolicy.cs
- XmlUtil.cs
- IconBitmapDecoder.cs
- JapaneseCalendar.cs
- TreeViewAutomationPeer.cs
- SrgsGrammar.cs
- MailHeaderInfo.cs
- IdentitySection.cs
- ShapeTypeface.cs
- InputMethod.cs
- BaseAutoFormat.cs
- EntityTypeBase.cs
- PartialCachingAttribute.cs
- XmlNodeReader.cs
- CheckBox.cs
- HttpRequestCacheValidator.cs
- SiteMapNodeItem.cs
- DesignParameter.cs
- NullableConverter.cs
- NameValueFileSectionHandler.cs
- Ipv6Element.cs
- IIS7WorkerRequest.cs
- RichTextBox.cs
- UnsafeNativeMethodsMilCoreApi.cs
- TypographyProperties.cs
- ControlPropertyNameConverter.cs
- EventProviderBase.cs
- SystemIPGlobalProperties.cs
- SafeEventLogReadHandle.cs
- StrongNameUtility.cs
- Condition.cs
- ToolStripDropDownMenu.cs
- SimpleHandlerFactory.cs
- Timer.cs
- UpdatableGenericsFeature.cs
- Gdiplus.cs
- SqlAggregateChecker.cs
- DataFormat.cs
- ImmComposition.cs