Last change
on this file since 2768 was
2768,
checked in by mkommend, 14 years ago
|
added solution folders and sources for the netron library (ticket #867)
|
File size:
649 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Text;
|
---|
4 | using System.Drawing;
|
---|
5 | namespace Netron.Diagramming.Core
|
---|
6 | {
|
---|
7 | /// <summary>
|
---|
8 | /// The interface of something that can be painted on the canvas.
|
---|
9 | /// </summary>
|
---|
10 | public interface IPaintable
|
---|
11 | {
|
---|
12 | /// <summary>
|
---|
13 | /// The bounds of the paintable entity
|
---|
14 | /// </summary>
|
---|
15 | Rectangle Rectangle
|
---|
16 | {
|
---|
17 | get;
|
---|
18 | }
|
---|
19 |
|
---|
20 | /// <summary>
|
---|
21 | /// Paints the entity using the given graphics object
|
---|
22 | /// </summary>
|
---|
23 | /// <param name="g"></param>
|
---|
24 | void Paint(Graphics g);
|
---|
25 | }
|
---|
26 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.