Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / textformatting / IndexedGlyphRun.cs / 1305600 / IndexedGlyphRun.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: IndexedGlyphRun class // // History: // 2/2/2004: Garyyang 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
- HashStream.cs
- ToolStripContentPanelRenderEventArgs.cs
- TextAutomationPeer.cs
- EditorZoneBase.cs
- TypeContext.cs
- CalculatedColumn.cs
- WebPartVerbCollection.cs
- TextWriter.cs
- HttpListenerContext.cs
- SecurityState.cs
- KnownTypes.cs
- ManagementQuery.cs
- DataDocumentXPathNavigator.cs
- ObjectSet.cs
- DependencyPropertyConverter.cs
- OdbcCommandBuilder.cs
- SymmetricCryptoHandle.cs
- CodeExporter.cs
- SwitchLevelAttribute.cs
- SchemaTableOptionalColumn.cs
- __Filters.cs
- Exceptions.cs
- keycontainerpermission.cs
- SessionStateModule.cs
- TemplatePropertyEntry.cs
- GridViewPageEventArgs.cs
- DefaultObjectMappingItemCollection.cs
- LockedHandleGlyph.cs
- XsdDuration.cs
- ImageClickEventArgs.cs
- WebReferenceOptions.cs
- PrimarySelectionAdorner.cs
- CTreeGenerator.cs
- Compiler.cs
- WebConfigurationFileMap.cs
- XmlSchemaSubstitutionGroup.cs
- AuthorizationRule.cs
- SqlDataReader.cs
- SymbolEqualComparer.cs
- PropertyFilterAttribute.cs
- ToolStripItemRenderEventArgs.cs
- ListViewTableCell.cs
- SystemNetworkInterface.cs
- MessageQueuePermissionEntry.cs
- UnauthorizedAccessException.cs
- BindUriHelper.cs
- TransformerTypeCollection.cs
- DependentList.cs
- ToolStripPanelRow.cs
- EpmSyndicationContentDeSerializer.cs
- TextDecoration.cs
- TemplateBindingExtension.cs
- HScrollProperties.cs
- WindowsFormsHost.cs
- ContextProperty.cs
- SqlTriggerContext.cs
- UnauthorizedAccessException.cs
- WindowCollection.cs
- DragEvent.cs
- XmlDataSourceNodeDescriptor.cs
- WorkflowViewStateService.cs
- SendMailErrorEventArgs.cs
- RelationshipConverter.cs
- GridEntryCollection.cs
- ObjectConverter.cs
- StorageComplexPropertyMapping.cs
- InputLanguageCollection.cs
- EventEntry.cs
- TextContainerChangeEventArgs.cs
- PermissionListSet.cs
- HScrollBar.cs
- SmtpTransport.cs
- XmlNamespaceDeclarationsAttribute.cs
- XamlDesignerSerializationManager.cs
- ListViewUpdatedEventArgs.cs
- SignerInfo.cs
- File.cs
- CodeChecksumPragma.cs
- Substitution.cs
- SemaphoreSecurity.cs
- TargetConverter.cs
- BuildResult.cs
- InvalidComObjectException.cs
- DbUpdateCommandTree.cs
- TextBounds.cs
- StatusBarItem.cs
- FormViewCommandEventArgs.cs
- SeverityFilter.cs
- GraphicsState.cs
- RtfFormatStack.cs
- AddInStore.cs
- NotSupportedException.cs
- RegexCapture.cs
- UrlParameterWriter.cs
- PtsHelper.cs
- LinearKeyFrames.cs
- SubpageParagraph.cs
- MetaModel.cs
- GestureRecognizer.cs
- COM2IDispatchConverter.cs