A map run represents a section of a paragraph: either a sequence of characters not including an ORC and having uniform properties and belonging to a single TextClientRun, or a non-text ClientRun, or the expansion of an ORC. It's main responsibility is to represent the relationship between a run of logical characters on the client side, and a run of rendering characters.
Наследование: IRenderRun
Пример #1
0
		void VerifyRun(int logical, IClientRun clientRun, int render, int offset, int irun, string runText, MapRun run, string label)
		{
			Assert.AreEqual(logical, run.LogStart, label + " - logical");
			Assert.AreEqual(clientRun, run.ClientRun, label + " - cllient run");
			Assert.AreEqual(render, run.RenderStart, label + " - render");
			Assert.AreEqual(offset, run.Offset, label + " - offset");
			Assert.AreEqual(irun, run.ClientUniformRunIndex, label + "- ClientUniformRunIndex");
			Assert.AreEqual(runText, run.RenderText, label + " - RenderText");
		}
Пример #2
0
		void VerifyRun(int logical, IClientRun clientRun, int render, int offset, string runText, MapRun run, string label)
		{
			VerifyRun(logical, clientRun, render, offset, 0, runText, run, label);
		}