summaryrefslogtreecommitdiff
path: root/platform/windows/gsview/TextCharacter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'platform/windows/gsview/TextCharacter.cs')
-rw-r--r--platform/windows/gsview/TextCharacter.cs79
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"));
- }
- }
- * */
- }
-}