[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] gsoc-anurag-2023-final ed911fa87 09/16: [dense] Add FT_PreLi
From: |
Werner Lemberg |
Subject: |
[freetype2] gsoc-anurag-2023-final ed911fa87 09/16: [dense] Add FT_PreLine struct |
Date: |
Mon, 9 Oct 2023 17:36:38 -0400 (EDT) |
branch: gsoc-anurag-2023-final
commit ed911fa8717ab0df48700f6b29275a8125eb5139
Author: Anurag Thakur <anurag105csec21@bpitindia.edu.in>
Commit: Anurag Thakur <anurag105csec21@bpitindia.edu.in>
[dense] Add FT_PreLine struct
---
include/freetype/freetype.h | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index 6200cc724..a12bd15d5 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -1283,6 +1283,44 @@ FT_BEGIN_HEADER
} FT_FaceRec;
+
+ /**************************************************************************
+ *
+ * @type:
+ * FT_PreLine
+ *
+ * @description:
+ * A handle to FT_PreLineRec_ containing coordinates of start and end
+ * points for a line.
+ *
+ */
+ typedef struct FT_PreLineRec_* FT_PreLine;
+
+ /**************************************************************************
+ *
+ * @struct:
+ * FT_PreLineRec
+ *
+ * @description:
+ * Linkedlist containing lines to be drawn for a glyph.
+ *
+ * @fields:
+ * x1, y1 ::
+ * Coordinates of line start point.
+ *
+ * y1, y2 ::
+ * Coordinates of line end point.
+ *
+ * next ::
+ * The next PreLine for current glyph
+ *
+ */
+ typedef struct FT_PreLineRec_
+ {
+ int x1, x2, y1, y2;
+ FT_PreLine next;
+ } FT_PreLineRec;
+
/**************************************************************************
*
* @enum:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] gsoc-anurag-2023-final ed911fa87 09/16: [dense] Add FT_PreLine struct,
Werner Lemberg <=