예제 #1
0
파일: SVG.cs 프로젝트: stuart2w/SAW
 public SVGHatched(Color backgroundColour, Color foregroundColour, Shape.FillStyleC.Patterns pattern, SVGCanvas canvas)
 {
     m_BackgroundColour = backgroundColour;
     m_ForegroundColour = foregroundColour;
     m_Pattern          = pattern;
     Canvas             = canvas;
 }
예제 #2
0
파일: Canvas.cs 프로젝트: stuart2w/SAW
 public abstract Fill CreateHatchBrush(Color foreground, Color background, Shape.FillStyleC.Patterns pattern);
예제 #3
0
파일: NetCanvas.cs 프로젝트: stuart2w/SAW
 public override Fill CreateHatchBrush(Color foreground, Color background, Shape.FillStyleC.Patterns pattern)
 {
     // The patterns from the FillStyleC are compatible with the windows enum
     return(new NetFill(new HatchBrush((HatchStyle)pattern, foreground, background)));
 }
예제 #4
0
파일: SVG.cs 프로젝트: stuart2w/SAW
 public override Fill CreateHatchBrush(Color foreground, Color background, Shape.FillStyleC.Patterns pattern)
 {
     return(new SVGHatched(background, foreground, pattern, this));
 }