diff options
author | Robin Watts <robin.watts@artifex.com> | 2015-04-03 12:01:49 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-04-06 19:31:59 +0100 |
commit | 4c9611cb3d9f18322f8e77f8ba493799d77c0a0a (patch) | |
tree | d8b8fa3450ba94391d30ab61038ee97cfbabbc6d /platform/windows/gsview/TextCharacter.cs | |
parent | 1ed4656f99a09f38216d11275fe85bb75c0d635a (diff) | |
download | mupdf-4c9611cb3d9f18322f8e77f8ba493799d77c0a0a.tar.xz |
Remove gsview from mupdf repo.
It has its own repo now. See http://git.ghostscript.com/?p=gsview.git
Diffstat (limited to 'platform/windows/gsview/TextCharacter.cs')
-rw-r--r-- | platform/windows/gsview/TextCharacter.cs | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/platform/windows/gsview/TextCharacter.cs b/platform/windows/gsview/TextCharacter.cs deleted file mode 100644 index b69cfbff..00000000 --- a/platform/windows/gsview/TextCharacter.cs +++ /dev/null @@ -1,79 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -//using System.Threading.Tasks; -using System.ComponentModel; - -namespace gsview -{ - public class TextCharacter - { - public String character; - - public double Height - { - get; - set; - } - - public double Width - { - get; - set; - } - - public double X - { - get; - set; - } - - public double Y - { - get; - set; - } - - public double Scale - { - get; - set; - } - - public String Color - { - get; - set; - } - - /* Here we only worry about intersection in the x direction TODO */ - public Intersection_t CheckIntersection(double rect_x, double rect_y, double rect_w, double rect_h) - { - if (rect_w == 0 || rect_x > X + Width || rect_x + rect_w < X) - return Intersection_t.NONE; - - if (rect_x <= X && X + Width <= rect_x + rect_w) - return Intersection_t.FULL; - - return Intersection_t.PARTIAL; - } - - - //public event PropertyChangedEventHandler PropertyChanged; - - /* - public void CharRefresh() - { - if (PropertyChanged != null) - { - PropertyChanged(this, new PropertyChangedEventArgs("X")); - PropertyChanged(this, new PropertyChangedEventArgs("Height")); - PropertyChanged(this, new PropertyChangedEventArgs("Width")); - PropertyChanged(this, new PropertyChangedEventArgs("Y")); - PropertyChanged(this, new PropertyChangedEventArgs("Color")); - } - } - * */ - } -} |