CN107835450A - Focus display method, display device, and computer-readable storage medium - Google Patents

Focus display method, display device, and computer-readable storage medium Download PDF

Info

Publication number
CN107835450A
CN107835450A CN201711029421.7A CN201711029421A CN107835450A CN 107835450 A CN107835450 A CN 107835450A CN 201711029421 A CN201711029421 A CN 201711029421A CN 107835450 A CN107835450 A CN 107835450A
Authority
CN
China
Prior art keywords
focus
picture
painting canvas
default
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711029421.7A
Other languages
Chinese (zh)
Other versions
CN107835450B (en
Inventor
曹晗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Leynew Network Media Co Ltd
Original Assignee
Shenzhen Leynew Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Leynew Information Technology Co ltd filed Critical Shenzhen Leynew Information Technology Co ltd
Priority to CN201711029421.7A priority Critical patent/CN107835450B/en
Publication of CN107835450A publication Critical patent/CN107835450A/en
Application granted granted Critical
Publication of CN107835450B publication Critical patent/CN107835450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a focus display method, which comprises the following steps: acquiring attribute information of a picture corresponding to the position of a focus to be displayed, wherein the attribute information comprises the size and the inclination angle of the picture corresponding to the position of the focus to be displayed; adjusting a preset focus picture according to the size of the picture corresponding to the position of the focus to be displayed, and adjusting the canvas of the current interface according to the inclination angle of the picture corresponding to the position of the focus to be displayed; and drawing the preset focus picture at the position of the focus to be displayed in the canvas, wherein the preset focus picture is a transparent picture. The invention also discloses a focus display device and a computer readable storage medium. The invention realizes that the point nine picture is adapted to the parallelogram pictures with different sizes on the premise of no distortion.

Description

Focus display methods, display device and computer-readable recording medium
Technical field
The present invention relates to technical field of television sets, more particularly to a kind of focus display methods, display device and computer can Read storage medium.
Background technology
At present, television manufacturer puts into desktop UI (the User Interface, Yong Hujie of substantial amounts of energy optimization television set Face), the poster on television set homepage uses irregular shape without using traditional rectangular shape, such as parallel four side Shape, to improve resolution.But user is when switching focus, it is necessary to the focus frame of parallelogram as configured information, and And focus frame will be adapted to the different sizes of poster.
In the prior art, the focus frame of parallelogram can be drawn the focus chart of parallelogram wire frame by UI designer Piece realizes, if the poster size on television set homepage has a variety of, draws the focus picture of sizes with regard to unrealistic.Such as Fruit goes to be adapted to various sizes of poster with a kind of focus picture of the parallelogram wire frame of size, can cause focus picture again Distortion.Although Android system provide a little nine pictures to solve the problems, such as different resolution, but put nine pictures can only Zhi Chishui Flat or vertical direction stretching is undistorted, and the stretching of parallelogram vertical direction is sideling to repeat to fill, this work( Nine pictures, which can be put, to be supported.
The content of the invention
It is a primary object of the present invention to provide a kind of focus display methods, display device and computer-readable storage medium Matter, it is intended to put nine pictures it is distortionless under the premise of, be adapted to various sizes of parallelogram picture.
To achieve the above object, the present invention provides a kind of focus display methods, and the focus display methods includes following step Suddenly:
The attribute information of picture corresponding to focus position to be shown is obtained, wherein, the attribute information includes described The size of picture and angle of inclination corresponding to focus position to be shown;
Focus picture is preset according to the size adjusting of picture corresponding to the focus position to be shown, so that described pre- If the size of the size of focus picture picture corresponding with the focus position to be shown is consistent, and according to described to be shown The painting canvas of the angle of inclination adjustment current interface of picture corresponding to focus position, so that the angle of inclination of the painting canvas and institute The angle of inclination for stating picture corresponding to focus position to be shown is consistent;
The default focus picture is drawn in the focus position to be shown in the painting canvas, wherein, it is described pre- If focus picture is transparent picture.
Preferably, the size adjusting according to picture corresponding to the focus position to be shown presets focus picture The step of include:
The stretchable zone of the default focus picture is stretched, so that the size of the default focus picture is waited to show with described Show that the size of picture corresponding to focus position is consistent.
Preferably, the angle of inclination according to picture corresponding to the focus position to be shown adjusts current interface Painting canvas the step of include:
Mistake is carried out to the painting canvas to cut, so that the angle of inclination of the painting canvas is corresponding with the focus position to be shown Picture angle of inclination it is consistent.
Preferably, the step of default focus picture, is drawn in the focus position to be shown in the painting canvas Including:
The attribute of the painting canvas is converted effectively by converting invalid switch to, wherein, it is conversion in the attribute of the painting canvas When effective, picture and the default focus picture are according to institute corresponding to the focus position to be shown in the painting canvas Line tilt is entered at the angle of inclination for stating painting canvas, when the attribute of the painting canvas is converts invalid, Jiao to be shown in the painting canvas Picture and the default focus picture do not enter line tilt according to the angle of inclination of the painting canvas corresponding to point position;
Draw the default focus picture in the focus position to be shown in the painting canvas.
Preferably, the focus position to be shown in the painting canvas draw the default focus picture it Afterwards, in addition to:
Effectively switch to conversion invalid by converting the attribute of the painting canvas;
Recover the reset condition of the painting canvas;
It is described the painting canvas to be carried out before mistake cuts, in addition to:
Remember the reset condition of the painting canvas.
Preferably, before the attribute information of picture corresponding to the acquisition focus position to be shown, in addition to:
Obtain the size of all pictures in the current interface;
The default focus picture is generated according to the size, wherein, the size of the default focus picture is less than described The size of all pictures in interface.
To achieve the above object, the present invention also provides a kind of focus display device, and the focus display device includes storage The focus that device, processor and being stored in can be run on the memory and on the processor shows program, and the focus shows The step of above-mentioned focus display methods is realized when showing program by the computing device.
To achieve the above object, the present invention also provides a kind of computer-readable recording medium, the computer-readable storage Focus is stored with medium and shows program, the focus is shown realizes above-mentioned focus display methods when program is executed by processor Step.
Focus display methods, display device and computer-readable recording medium provided by the invention, first, obtain to be shown The attribute information of picture corresponding to focus position, wherein, the attribute information includes size and the inclination of the picture Angle, then, focus picture is preset according to the size adjusting of the picture so that the size of the default focus picture with it is described The size of picture is consistent, and the painting canvas of the angle of inclination adjustment current interface according to the picture, so that the inclination of the painting canvas Angle is consistent with the angle of inclination of the picture, and finally, institute is drawn in the focus position to be shown in the painting canvas Default focus picture is stated, wherein, the default focus picture is transparent picture.The present invention realizes nine pictures of point before distortionless Put, be adapted to various sizes of parallelogram picture.
Brief description of the drawings
Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 2 is the schematic flow sheet of focus display methods first embodiment of the present invention;
Fig. 3 is the refinement schematic flow sheet of the default focus picture step of present invention adjustment;
Fig. 4 is the refinement schematic flow sheet of the painting canvas step of present invention adjustment current interface;
Fig. 5 is the refinement schematic flow sheet that the present invention draws default focus picture step;
Fig. 6 is the schematic flow sheet of the embodiment of focus display methods the 5th of the present invention;
Fig. 7 is the schematic flow sheet of focus display methods sixth embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of focus display methods, realizes that nine pictures of point under the premise of distortionless, are adapted to different sizes Parallelogram picture.
As shown in figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
Terminal of the embodiment of the present invention can be that television set or PC, tablet personal computer, pocket computer etc. have display The packaged type terminal device of function.
As shown in figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to realize the connection communication between these components. User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally connect including the wired of standard Mouth, wave point (such as memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally may be used also To be independently of the storage device of aforementioned processor 1001.
, can be with it will be understood by those skilled in the art that the restriction of the structure of the terminal shown in Fig. 1 not structure paired terminal Including than illustrating more or less parts, either combining some parts or different parts arrangement.
As shown in figure 1, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network Believe that module, Subscriber Interface Module SIM and focus show program.
In the terminal shown in Fig. 1, network interface 1004 is mainly used in connecting background server, is carried out with background server Data communicate;User interface 1003 is mainly used in connecting client (user terminal), enters row data communication with client;And processor 1001 can be used for calling the focus stored in memory 1005 to show program, and perform following operate:
The attribute information of picture corresponding to focus position to be shown is obtained, wherein, the attribute information includes described The size of picture and angle of inclination;
Focus picture is preset according to the size adjusting of the picture, so that the size of the default focus picture and the figure The size of piece is consistent, and the painting canvas of the angle of inclination adjustment current interface according to the picture, so that the inclination angle of the painting canvas Degree is consistent with the angle of inclination of the picture;
The default focus picture is drawn in the focus position to be shown in the painting canvas, wherein, it is described pre- If focus picture is transparent picture.
Further, processor 1001 can call the focus stored in memory 1005 to show program, also perform following Operation:
The stretchable zone of the default focus picture is stretched, so that the size of the default focus picture and the picture Size it is consistent.
Further, processor 1001 can call the focus stored in memory 1005 to show program, also perform following Operation:
Mistake is carried out to the painting canvas to cut, so that the angle of inclination of the painting canvas is consistent with the angle of inclination of the picture.
Further, processor 1001 can call the focus stored in memory 1005 to show program, also perform following Operation:
The attribute of the painting canvas is converted effectively by converting invalid switch to, wherein, it is conversion in the attribute of the painting canvas When effective, the picture and the default focus picture in the painting canvas are inclined according to the angle of inclination of the painting canvas Tiltedly, when the attribute of the painting canvas is converts invalid, the picture and the default focus picture in the painting canvas not according to Line tilt is entered at the angle of inclination of the painting canvas;
Draw the default focus picture in the focus position to be shown in the painting canvas.
Further, processor 1001 can call the focus stored in memory 1005 to show program, also perform following Operation:
Effectively switch to conversion invalid by converting the attribute of the painting canvas;
Recover the reset condition of the painting canvas;
It is described the painting canvas to be carried out before mistake cuts, in addition to:
Remember the reset condition of the painting canvas.
Further, processor 1001 can call the focus stored in memory 1005 to show program, also perform following Operation:
Obtain the size of all pictures in the current interface;
The default focus picture is generated according to the size, wherein, the size of the default focus picture is less than described The size of all pictures in interface.
Reference picture 2, in the first embodiment, the focus display methods include:
Step S10, the attribute information of picture corresponding to focus position to be shown is obtained, wherein, the attribute information Including the size of picture and angle of inclination corresponding to the focus position to be shown;
In the first embodiment, in television set display interface, in order to improve the UI of user experience, poster is used more and not advised Shape displaying then, such as parallelogram.The display methods of poster is:Poster is plotted on the painting canvas of current interface, sea Report is just shown.Therefore when showing focus on poster, default focus is drawn in the poster position in the painting canvas Picture, poster just show focus.
It should be noted that the size of picture refers to the length and width of picture, the inclination of picture can be in the X direction Inclination or inclination in the Y direction.
Step S20, focus picture is preset according to the size adjusting of picture corresponding to the focus position to be shown, with Make the size of the size of default focus picture picture corresponding with the focus position to be shown consistent, and according to institute The painting canvas of the angle of inclination adjustment current interface of picture corresponding to focus position to be shown is stated, so that the inclination of the painting canvas The angle of inclination of angle picture corresponding with the focus position to be shown is consistent;
In the first embodiment, presetting focus picture is generated by the tools of point nine of Android standard, and it is a little Nine pictures.Default focus picture is rectangle, some region of rectangle is arranged into stretchable zone, for example the right of rectangle is with Side.Make the length and width of the length and width picture corresponding with focus position to be shown of default focus picture by stretching Degree is consistent.Concretely comprise the following steps:The length and width of picture corresponding to focus position to be shown is obtained first, and then stretching is pre- If the stretchable zone of focus picture, make the length and width of default focus picture consistent with the length and width of picture respectively. For example the length of picture and width are respectively 20cm and 10cm, then the length and width of default focus picture also stretches respectively To 20cm and 10cm.
In the first embodiment, the picture of Android system and default focus picture are first to be plotted on the painting canvas at interface, Then it is shown on interface.It should be noted that painting canvas has conversion invalid with converting effective two attribute, wherein, in painting canvas Attribute to convert effective when, picture and default focus picture in painting canvas are inclined according to the angle of inclination of the painting canvas Tiltedly, when the attribute of painting canvas is converts invalid, picture and default focus picture in painting canvas do not enter line tilt with the inclination of painting canvas. The attribute of painting canvas can switch over, for example when adjusting the angle of inclination of painting canvas, the attribute of painting canvas is invalid to convert, on painting canvas Picture do not enter line tilt with the inclination of painting canvas;Adjust and complete at the angle of inclination of painting canvas, and draw default focus picture it Before, switch to conversion effective the attribute of painting canvas, so, the angle of inclination of the default focus picture drawn on painting canvas just with picture The angle of inclination of cloth is consistent.It should be noted that the condition of triggering attribute switching is pre-set, meeting preparatory condition When, that is, attribute switching is carried out, wherein, preparatory condition can adjust to complete at the angle of inclination for detecting painting canvas, and not paint also The default focus picture of system, or draw default focus picture and complete, and do not obtain also and scheme corresponding to focus position to be shown The attribute information of piece, the present invention are not specifically limited.
Step S30, the default focus picture is drawn in the focus position to be shown in the painting canvas, its In, the default focus picture is transparent picture.
In the first embodiment, it is transparent picture to preset focus picture, and it is plotted on the picture at interface, is played and is highlighted figure The effect of piece.
In the first embodiment, the size of picture and angle of inclination corresponding to focus position to be shown are being obtained When, according to the default focus picture that the size adjusting of picture is transparent, and the picture of the angle of inclination adjustment current interface according to picture Cloth, so that the size of default focus picture is consistent with the size of picture, and the angle of inclination of painting canvas and the angle of inclination of picture Unanimously.So, when default focus picture is drawn in focus position to be shown in painting canvas, preset focus picture size and Angle of inclination is consistent with picture, and it plays the effect for highlighting picture on picture.
In a second embodiment, it is described according to described as shown in figure 3, on the basis of the first embodiment shown in above-mentioned Fig. 2 The size adjusting of picture corresponding to focus position to be shown, which presets the step of focus picture, to be included:
Step S21, stretch the stretchable zone of the default focus picture so that the size of the default focus picture with The size of picture is consistent corresponding to the focus position to be shown.
In a second embodiment, presetting focus picture is generated by the tools of point nine of Android standard, and it is a little Nine pictures.Wherein, put nine pictures be .9, be Android platform applied software development in a kind of special graphic form, file Extend entitled:.9.png.Default focus picture is rectangle, and some region of rectangle is arranged into stretchable zone, such as rectangle The right and following, or the left side and top of rectangle, the present invention be not specifically limited.
It should be noted that the size of default focus picture refers to the length and width of default focus picture, the chi of picture The very little length and width for referring to picture corresponding to focus position to be shown.The stretchable zone of the default focus picture of stretching, So that the length and width of the length and width picture corresponding with focus position to be shown of default focus picture are consistent.Concretely comprise the following steps:It is first The length and width of picture is first obtained, then stretches the stretchable zone of default focus picture, makes the length of default focus picture It is consistent with the length and width of picture respectively with width.For example the length of picture and width are respectively 20cm and 10cm, then pre- If the length and width of focus picture is also stretched to 20cm and 10cm respectively.
In a second embodiment, the stretchable zone of the default focus picture is stretched, realizes default focus picture Length and width are consistent with the length and width of picture respectively.
In the third embodiment, it is described according to described as shown in figure 4, on the basis of the first embodiment shown in above-mentioned Fig. 2 The step of painting canvas of the angle of inclination adjustment current interface of picture corresponding to focus position to be shown, includes:
Step S22, carry out mistake to the painting canvas to cut, so that the angle of inclination of the painting canvas and the focus place to be shown The angle of inclination of the picture of position correspondence is consistent.
In the third embodiment, it is that in some directions, each point of figure is put down to certain according to certain ratio that mistake, which is cut, The capable directed distance in the straight line of the direction makees the planar graph that scaling obtains.Wherein, it is wrong to cut the common mistake for having X-direction and cut and Y The mistake in direction is cut.Cut by mistake, make the angle of inclination of painting canvas consistent with the angle of inclination of picture.Concretely comprise the following steps:Determine first Picture corresponding to focus position to be shown is to be tilted in the X direction in inclination or Y-direction, is then obtained in this direction Angle of inclination, painting canvas is tilted to same angle in the same direction.Such as picture corresponding to focus position to be shown It is to tilt 60 degree in the X direction, then cut by mistake, painting canvas also tilts 60 degree in the X direction.
In the third embodiment, carry out mistake to the painting canvas to cut, realize the angle of inclination of painting canvas and the inclination angle of picture Degree is consistent.
In the fourth embodiment, it is described in the picture as shown in figure 5, on the basis of the first embodiment shown in above-mentioned Fig. 2 The step of default focus picture is drawn in focus position to be shown in cloth includes:
Step S31, the attribute of the painting canvas is converted effectively by converting invalid switch to, wherein, in the category of the painting canvas Property to convert effective when, picture and the default focus chart corresponding to the focus position to be shown in the painting canvas Piece enters line tilt according to the angle of inclination of the painting canvas, described in the painting canvas when attribute of the painting canvas is converts invalid Picture corresponding to focus position to be shown and the default focus picture are not carried out according to the angle of inclination of the painting canvas Tilt;
Step S32, the default focus picture is drawn in the focus position to be shown in the painting canvas.
In the fourth embodiment, painting canvas has two attribute, and conversion is effectively and conversion is invalid.It is conversion in the attribute of painting canvas When effective, picture and default focus picture in painting canvas enter line tilt with the inclination of painting canvas.Such as at the inclination angle of painting canvas When degree is consistent with the angle of inclination of picture, now switch to conversion effective the attribute of painting canvas, so where focus to be shown When default focus picture is drawn in position, default focus picture enters line tilt with the inclination of painting canvas.It is conversion nothing in the attribute of painting canvas During effect, picture and default focus picture in painting canvas do not enter line tilt with the inclination of painting canvas.Such as where focus to be shown When the picture of position correspondence shows focus, now effectively switch to conversion invalid by converting the attribute of painting canvas, so in painting canvas When recovering reset condition, picture and default focus picture in painting canvas do not enter line tilt with the inclination of painting canvas.
It should be noted that the attribute of painting canvas can switch over, the condition of triggering attribute switching is pre-set, When meeting preparatory condition, that is, attribute switching is carried out, wherein, preparatory condition can adjusted at the angle of inclination for detecting painting canvas Into, and do not draw default focus picture also, or draw default focus picture and complete, and it is in place not obtain focus institute to be shown also The attribute information of picture, the present invention are not specifically limited corresponding to putting.
In the fourth embodiment, the attribute of painting canvas is converted effectively by converting invalid switch to, and waits to show in painting canvas Default focus picture is drawn in position where showing focus, and so, default focus picture enters line tilt according to the angle of inclination of painting canvas.
In the 5th embodiment, as shown in fig. 6, on the basis of the fourth embodiment shown in above-mentioned Fig. 5, it is described in the picture After the default focus picture is drawn in the focus position to be shown in cloth, in addition to:
Step S33, effectively switch to conversion invalid by converting the attribute of the painting canvas;
Step S34, the reset condition of the painting canvas is recovered.
In the 5th embodiment, before mistake is carried out to painting canvas and is cut, the reset condition of painting canvas is remembered, in focus institute to be shown After picture corresponding to position shows focus, you can the rapid reset condition for recovering painting canvas.It should be noted that painting canvas is original State is rectangle, is cut by mistake, painting canvas is tilted certain angle in the X direction or in Y-direction.
In the 5th embodiment, effectively switch to conversion invalid by converting the attribute of painting canvas, and recover the original of painting canvas State.So, when obtaining the angle of inclination of picture corresponding to focus position to be shown, painting canvas is according to the inclination angle of picture Degree carries out mistake and cut.
In the sixth embodiment, as shown in fig. 7, on the basis of the first embodiment shown in above-mentioned Fig. 2, described obtain waits to show Before showing the attribute information of picture corresponding to focus position, in addition to:
Step S40, the size of all pictures in the current interface is obtained;
Step S50, the default focus picture is generated according to the size, wherein, the size of the default focus picture Less than the size of all pictures in the interface.
In the sixth embodiment, presetting focus picture is generated by the tools of point nine of Android standard, and it is a little Nine pictures.Because nine pictures of point can only be stretched and can not compressed, so the picture of point nine of generation is less than all pictures in interface Size.Can be using the size of the picture of set-point nine as the size of the minimum picture of current interface 80 percent, such as, currently The length of minimum picture is 10cm, width 5cm in interface, then the length of the picture of point nine of generation can be 8cm, width For 4cm.
In the sixth embodiment, the size of all pictures in the current interface is obtained, and generates default focus picture, its In preset the size of focus picture and be less than the sizes of all pictures in interface.This way it is ensured that the default focus picture of generation can With the size of all pictures in adaptor interface.
The present invention also provides a kind of focus display device, and the focus display device includes:Focus shows program, Jiao Point shows that program is arranged for carrying out following operation:
The attribute information of picture corresponding to focus position to be shown is obtained, wherein, the attribute information includes described The size of picture and angle of inclination corresponding to focus position to be shown;
Focus picture is preset according to the size adjusting of picture corresponding to the focus position to be shown, so that described pre- If the size of the size of focus picture picture corresponding with the focus position to be shown is consistent, and according to described to be shown The painting canvas of the angle of inclination adjustment current interface of picture corresponding to focus position, so that the angle of inclination of the painting canvas and institute The angle of inclination for stating picture corresponding to focus position to be shown is consistent;
The default focus picture is drawn in the focus position to be shown in the painting canvas, wherein, it is described pre- If focus picture is transparent picture.
Further, the focus shows that program is arranged for carrying out following operation:
The stretchable zone of the default focus picture is stretched, so that the size of the default focus picture is waited to show with described Show that the size of picture corresponding to focus position is consistent.
Further, the focus shows that program is arranged for carrying out following operation:
Mistake is carried out to the painting canvas to cut, so that the angle of inclination of the painting canvas is corresponding with the focus position to be shown Picture angle of inclination it is consistent.
Further, the focus shows that program is arranged for carrying out following operation:
The attribute of the painting canvas is converted effectively by converting invalid switch to, wherein, it is conversion in the attribute of the painting canvas When effective, picture and the default focus picture are according to institute corresponding to the focus position to be shown in the painting canvas Line tilt is entered at the angle of inclination for stating painting canvas, when the attribute of the painting canvas is converts invalid, Jiao to be shown in the painting canvas Picture and the default focus picture do not enter line tilt according to the angle of inclination of the painting canvas corresponding to point position;
Draw the default focus picture in the focus position to be shown in the painting canvas.
Further, the focus shows that program is arranged for carrying out following operation:
Effectively switch to conversion invalid by converting the attribute of the painting canvas;
Recover the reset condition of the painting canvas;
It is described the painting canvas to be carried out before mistake cuts, in addition to:
Remember the reset condition of the painting canvas.
Further, the focus shows that program is arranged for carrying out following operation:
Obtain the size of all pictures in the current interface;
The default focus picture is generated according to the size, wherein, the size of the default focus picture is less than described The size of all pictures in interface.
Focus display device provided by the invention, first, obtain the attribute of picture corresponding to focus position to be shown Information, wherein, the attribute information includes the size of picture and angle of inclination corresponding to the focus position to be shown, Then, focus picture is preset according to the size adjusting of picture corresponding to the focus position to be shown, so that described default The size of the size of focus picture picture corresponding with the focus position to be shown is consistent, and according to Jiao to be shown Point position corresponding to picture angle of inclination adjustment current interface painting canvas so that the angle of inclination of the painting canvas with it is described The angle of inclination of picture is consistent corresponding to focus position to be shown, finally, the focus to be shown in the painting canvas The default focus picture is drawn in position, wherein, the default focus picture is transparent picture.So, nine figures of point are realized Piece is adapted to various sizes of parallelogram picture under the premise of distortionless.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored on the computer-readable recording medium There is focus to show program, the focus shows that program is executed by processor the following operation of realization:
The attribute information of picture corresponding to focus position to be shown is obtained, wherein, the attribute information includes described The size of picture and angle of inclination corresponding to focus position to be shown;
Focus picture is preset according to the size adjusting of picture corresponding to the focus position to be shown, so that described pre- If the size of the size of focus picture picture corresponding with the focus position to be shown is consistent, and according to described to be shown The painting canvas of the angle of inclination adjustment current interface of picture corresponding to focus position, so that the angle of inclination of the painting canvas and institute The angle of inclination for stating picture corresponding to focus position to be shown is consistent;
The default focus picture is drawn in the focus position to be shown in the painting canvas, wherein, it is described pre- If focus picture is transparent picture.
Further, the focus shows that program is executed by processor the following operation of realization:
The stretchable zone of the default focus picture is stretched, so that the size of the default focus picture is waited to show with described Show that the size of picture corresponding to focus position is consistent.
Further, the focus shows that program is executed by processor the following operation of realization:
Mistake is carried out to the painting canvas to cut, so that the angle of inclination of the painting canvas is corresponding with the focus position to be shown Picture angle of inclination it is consistent.
Further, the focus shows that program is executed by processor the following operation of realization:
The attribute of the painting canvas is converted effectively by converting invalid switch to, wherein, it is conversion in the attribute of the painting canvas When effective, picture and the default focus picture are according to institute corresponding to the focus position to be shown in the painting canvas Line tilt is entered at the angle of inclination for stating painting canvas, when the attribute of the painting canvas is converts invalid, Jiao to be shown in the painting canvas Picture and the default focus picture do not enter line tilt according to the angle of inclination of the painting canvas corresponding to point position;
Draw the default focus picture in the focus position to be shown in the painting canvas.
Further, the focus shows that program is executed by processor the following operation of realization:
Effectively switch to conversion invalid by converting the attribute of the painting canvas;
Recover the reset condition of the painting canvas;
It is described the painting canvas to be carried out before mistake cuts, in addition to:
Remember the reset condition of the painting canvas.
Further, the focus shows that program is executed by processor the following operation of realization:
Obtain the size of all pictures in the current interface;
The default focus picture is generated according to the size, wherein, the size of the default focus picture is less than described The size of all pictures in interface.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are make it that a station terminal equipment (can be TV Machine, mobile phone, computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (8)

1. a kind of focus display methods, it is characterised in that the focus display methods comprises the following steps:
The attribute information of picture corresponding to focus position to be shown is obtained, wherein, the attribute information is waited to show including described Show the size of picture and angle of inclination corresponding to focus position;
Focus picture is preset according to the size adjusting of picture corresponding to the focus position to be shown, so that default Jiao The size of the size picture corresponding with the focus position to be shown of point picture is consistent, and according to the focus to be shown The painting canvas of the angle of inclination adjustment current interface of picture corresponding to position, so that the angle of inclination of the painting canvas is treated with described Show that the angle of inclination of picture corresponding to focus position is consistent;
The default focus picture is drawn in the focus position to be shown in the painting canvas, wherein, default Jiao Point picture is transparent picture.
2. focus display methods as claimed in claim 1, it is characterised in that described according to the focus position to be shown The size adjusting of corresponding picture, which presets the step of focus picture, to be included:
The stretchable zone of the default focus picture is stretched, so that the size of the default focus picture and Jiao to be shown The size of picture is consistent corresponding to point position.
3. focus display methods as claimed in claim 1, it is characterised in that described according to the focus position to be shown The step of painting canvas of the angle of inclination adjustment current interface of corresponding picture, includes:
Mistake is carried out to the painting canvas to cut, and is schemed so that the angle of inclination of the painting canvas is corresponding with the focus position to be shown The angle of inclination of piece is consistent.
4. focus display methods as claimed in claim 1, it is characterised in that the focus institute to be shown in the painting canvas Include the step of the default focus picture is drawn in position:
The attribute of the painting canvas is converted effectively by converting invalid switch to, wherein, it is effective for conversion in the attribute of the painting canvas When, picture and the default focus picture are according to the picture corresponding to the focus position to be shown in the painting canvas Line tilt is entered at the angle of inclination of cloth, when the attribute of the painting canvas is converts invalid, the focus institute to be shown in the painting canvas Line tilt is not entered according to the angle of inclination of the painting canvas in picture corresponding to position and the default focus picture;
Draw the default focus picture in the focus position to be shown in the painting canvas.
5. focus display methods as claimed in claim 4, it is characterised in that Jiao to be shown in the painting canvas After the default focus picture is drawn in point position, in addition to:
Effectively switch to conversion invalid by converting the attribute of the painting canvas;
Recover the reset condition of the painting canvas;
It is described the painting canvas to be carried out before mistake cuts, in addition to:
Remember the reset condition of the painting canvas.
6. focus display methods as claimed in claim 1, it is characterised in that the acquisition focus position to be shown is corresponding Picture attribute information before, in addition to:
Obtain the size of all pictures in the current interface;
The default focus picture is generated according to the size, wherein, the size of the default focus picture is less than the interface In all pictures size.
7. a kind of focus display device, it is characterised in that the focus display device includes memory, processor and is stored in institute The focus that stating can run on memory and on the processor shows program, and the focus shows that program is held by the processor The step of focus display methods as any one of claim 1 to 6 is realized during row.
8. a kind of computer-readable recording medium, it is characterised in that be stored with focus on the computer-readable recording medium and show Show program, the focus, which is shown, realizes that the focus as any one of claim 1 to 6 is shown when program is executed by processor The step of method.
CN201711029421.7A 2017-10-26 2017-10-26 Focus display method, display device, and computer-readable storage medium Active CN107835450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711029421.7A CN107835450B (en) 2017-10-26 2017-10-26 Focus display method, display device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711029421.7A CN107835450B (en) 2017-10-26 2017-10-26 Focus display method, display device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN107835450A true CN107835450A (en) 2018-03-23
CN107835450B CN107835450B (en) 2020-12-08

Family

ID=61650053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711029421.7A Active CN107835450B (en) 2017-10-26 2017-10-26 Focus display method, display device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107835450B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672198A (en) * 2020-12-14 2021-04-16 海看网络科技(山东)股份有限公司 EPG (electronic program guide) special-shaped graph assembly and display method thereof

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980191A (en) * 2010-10-14 2011-02-23 优视科技有限公司 Method and device for locking focus element in webpage browsing process
CN102221993A (en) * 2010-04-16 2011-10-19 微软公司 Declarative definition of complex user interface state changes
KR20110138925A (en) * 2010-06-22 2011-12-28 삼성전자주식회사 Display apparatus and control methof thereof
CN102404526A (en) * 2011-12-06 2012-04-04 深圳Tcl新技术有限公司 Display control method and terminal for 3D menu
CN102404627A (en) * 2011-11-03 2012-04-04 四川长虹电器股份有限公司 Intelligent television interaction method
CN102905194A (en) * 2012-08-29 2013-01-30 深圳市茁壮网络股份有限公司 Method and device for moving focal points in digital television browser, and digital television
CN103019678A (en) * 2012-11-16 2013-04-03 Tcl集团股份有限公司 Method and device for focus alternating of list focal plane frame
CN103116490A (en) * 2012-12-04 2013-05-22 广州市久邦数码科技有限公司 Nine-patch photo drawing method based on webpage
US20130176102A1 (en) * 2012-01-10 2013-07-11 Gilles Serge BianRosa Touch-enabled remote control
CN103345354A (en) * 2013-06-27 2013-10-09 Tcl集团股份有限公司 Graphical interface focus shape processing method and system
CN103631493A (en) * 2013-10-31 2014-03-12 小米科技有限责任公司 Image display method and device and electronic equipment
US8793613B2 (en) * 2011-04-07 2014-07-29 Sony Corporation GUI for audio video display device (AVDD) with pervasive appearance but changed behavior depending on command input mode
CN104932770A (en) * 2014-03-20 2015-09-23 财团法人资讯工业策进会 Methods, Systems, Electronic Devices, And Non-Transitory Computer Readable Storage Medium Media For Behavior Based User Interface Layout Display (Build)

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221993A (en) * 2010-04-16 2011-10-19 微软公司 Declarative definition of complex user interface state changes
KR20110138925A (en) * 2010-06-22 2011-12-28 삼성전자주식회사 Display apparatus and control methof thereof
CN101980191A (en) * 2010-10-14 2011-02-23 优视科技有限公司 Method and device for locking focus element in webpage browsing process
US8793613B2 (en) * 2011-04-07 2014-07-29 Sony Corporation GUI for audio video display device (AVDD) with pervasive appearance but changed behavior depending on command input mode
CN102404627A (en) * 2011-11-03 2012-04-04 四川长虹电器股份有限公司 Intelligent television interaction method
CN102404526A (en) * 2011-12-06 2012-04-04 深圳Tcl新技术有限公司 Display control method and terminal for 3D menu
US20130176102A1 (en) * 2012-01-10 2013-07-11 Gilles Serge BianRosa Touch-enabled remote control
CN102905194A (en) * 2012-08-29 2013-01-30 深圳市茁壮网络股份有限公司 Method and device for moving focal points in digital television browser, and digital television
CN103019678A (en) * 2012-11-16 2013-04-03 Tcl集团股份有限公司 Method and device for focus alternating of list focal plane frame
CN103116490A (en) * 2012-12-04 2013-05-22 广州市久邦数码科技有限公司 Nine-patch photo drawing method based on webpage
CN103345354A (en) * 2013-06-27 2013-10-09 Tcl集团股份有限公司 Graphical interface focus shape processing method and system
CN103631493A (en) * 2013-10-31 2014-03-12 小米科技有限责任公司 Image display method and device and electronic equipment
CN104932770A (en) * 2014-03-20 2015-09-23 财团法人资讯工业策进会 Methods, Systems, Electronic Devices, And Non-Transitory Computer Readable Storage Medium Media For Behavior Based User Interface Layout Display (Build)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘玮楠: "基于多屏互动的数字电视交互界面设计研究", 《中国优秀硕士学位论文全文数据库》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672198A (en) * 2020-12-14 2021-04-16 海看网络科技(山东)股份有限公司 EPG (electronic program guide) special-shaped graph assembly and display method thereof

Also Published As

Publication number Publication date
CN107835450B (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN107885848B (en) Webpage screen capturing method based on web technology
US9218792B2 (en) Variable scaling of image data for aspect ratio conversion
CN105957014A (en) Picture adaptive display method and apparatus
CN105511712B (en) A kind of image presentation method and device
JP6255495B2 (en) Method and apparatus for displaying browser resource, and computer readable storage medium
CN104238869B (en) Float icon display system and method
CN111552530A (en) Terminal screen adapting method, device and equipment for user interface
CN110062172B (en) Method for defining static high-definition image shooting area under dynamic image preview
CN103679777A (en) Method and device for realizing page mask
CN110598140A (en) Page adjusting method and device and server
CN113687753A (en) Split screen style configuration method and device, intelligent terminal and storage medium
JPWO2018198703A1 (en) Display device
CN113590066A (en) Full-automatic multi-screen splicing method, device, equipment and storage medium
KR102408344B1 (en) Image processing apparatus, method for processing image and computer-readable recording medium
CN107835450A (en) Focus display method, display device, and computer-readable storage medium
US20110211770A1 (en) Compressibility-aware media retargeting with structure preserving
CN107967162A (en) One kind is based on Windows systematic difference program high-resolution display methods
JP2023541351A (en) Character erasure model training method and device, translation display method and device, electronic device, storage medium, and computer program
TWI622291B (en) Electronic device and method for arranging video boxes
JP2003316490A (en) Remote control system and method thereof
CN107402691A (en) Display methods, display device and the computer-readable recording medium of terminal cursor
CN107608733B (en) Picture display method and device and terminal equipment
CN204442532U (en) A kind of projector that can customize display the ratio of width to height
CN111833413A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN108132716B (en) Adjustment method and device of browsing page and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200218

Address after: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.)

Applicant after: Shenzhen leynew Network Media Co Ltd

Address before: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.)

Applicant before: Shenzhen leynew Mdt InfoTech Ltd

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant