Example #1
0
		/// <summary>
		/// Draws a <see cref="InvariantRectanglePrimitive"/>.  Must be overridden and implemented.
		/// </summary>
		protected abstract void DrawInvariantRectanglePrimitive(InvariantRectanglePrimitive rectangle);
Example #2
0
		/// <summary>
		/// Draws a <see cref="InvariantRectanglePrimitive"/>.
		/// </summary>
		protected override void DrawInvariantRectanglePrimitive(InvariantRectanglePrimitive rect)
		{
			DrawRectanglePrimitive(Surface.FinalBuffer, _pen, rect, Dpi);
		}
Example #3
0
		/// <summary>
		/// Draws a <see cref="InvariantRectanglePrimitive"/>.
		/// </summary>
		protected override void DrawInvariantRectanglePrimitive(InvariantRectanglePrimitive rect)
		{
			InternalDrawRectanglePrimitive(rect);
		}
Example #4
0
		private void OnCloneComplete()
		{
			_rectangle = CollectionUtils.SelectFirst(base.Graphics,
				delegate(IGraphic test) { return test is InvariantRectanglePrimitive; }) as InvariantRectanglePrimitive;
		}