forked from klokantech/VectorTileRenderer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathICanvas.cs
More file actions
37 lines (26 loc) · 899 Bytes
/
ICanvas.cs
File metadata and controls
37 lines (26 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using GeoJSON.Net.Feature;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Imaging;
namespace VectorTileRenderer
{
public interface ICanvas
{
bool ClipOverflow { get; set; }
void StartDrawing(double sizeX, double sizeY);
void DrawBackground(Brush style);
void DrawLineString(List<Point> geometry, Brush style);
void DrawPolygon(List<Point> geometry, Brush style);
void DrawPoint(Point geometry, Brush style);
void DrawText(Point geometry, Brush style);
void DrawTextOnPath(List<Point> geometry, Brush style);
void DrawImage(Stream imageStream, Brush style);
void DrawUnknown(List<List<Point>> geometry, Brush style);
BitmapSource FinishDrawing();
}
}