Broken line drawing method and device, electronic equipment and storage medium

The invention discloses a broken line drawing method and device, electronic equipment and a storage medium, and belongs to the technical field of image processing. The method comprises the steps thataccording to a point A, an offset point D and an offset point G of the point A, a point B and a point...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: SHU JINGWEI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a broken line drawing method and device, electronic equipment and a storage medium, and belongs to the technical field of image processing. The method comprises the steps thataccording to a point A, an offset point D and an offset point G of the point A, a point B and a point C, determining an offset point E and an offset point H of the point B, wherein the point A is thelast point on a drawn broken line section, the point B is a point needing to be added at present, and the point C is a point needing to be added after the point B; if the currently drawn fold line type is a sharp corner fold line, determining two triangles according to the offset point D, the offset point G, the offset point E and the offset point H; and rendering the two triangles to draw a broken line segment between the point A and the point B. According to the method provided by the invention, the consumption of memory space and the number of triangles needing to be rendered can be reduced, so that the rendering ti