Picture interface typesetting method and device

The invention relates to the field of pictures, and provides a picture interface typesetting method and device. The method comprises the following steps: virtually drawing an external transparent rectangular frame of any picture on a drawing canvas on a mask canvas, and generating a context object o...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN WEI, LI YIYUAN, ZHANG BEIJIN, YAO DANDAN, XIA TIANRAN
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 relates to the field of pictures, and provides a picture interface typesetting method and device. The method comprises the following steps: virtually drawing an external transparent rectangular frame of any picture on a drawing canvas on a mask canvas, and generating a context object of the external transparent rectangular frame; according to a method function in the context object, determining whether a mouse pressing position on the mask canvas is within the position range of the picture or not; if yes, determining the picture as a to-be-moved picture; and simulating the moving track of the picture to be moved on the mask canvas according to the mouse moving track, and rendering data of the picture to be moved on the drawing canvas according to the mouse loosening position. According to the picture interface typesetting method and device provided by the invention, the to-be-moved picture can be moved smoothly without blockage, the typesetting time and the rendering memory are saved, and the pi