[mythtv-commits] Ticket #10193: MythUI: Allow rotation and zooming of MythImages

MythTV noreply at mythtv.org
Sun Dec 4 18:40:51 UTC 2011


#10193: MythUI: Allow rotation and zooming of MythImages
-------------------------------------+-------------------------------------
     Reporter:  trebor_s@…           |      Owner:  stuartm
         Type:  Patch - Feature      |     Status:  new
     Priority:  minor                |  Milestone:  unknown
    Component:  MythTV - User        |    Version:  Trunk Head
  Interface Library                  |   Keywords:  mythui mythimage image
     Severity:  medium               |  rotate zoom
Ticket locked:  0                    |
-------------------------------------+-------------------------------------
 This patch extends the functionality of MythUIImage and MythImage classes
 to allow zooming and rotating the images. Useful when images shall be
 displayed that have an rotation angle set in its Exif header.

 First the value must be set with SetRotation(int angle) and SetZoom(int
 percent) and then the Load() method must be called. The GenImageLabel()
 method will generate a new label with the given values. This label is not
 in the filesystem or memory cache so the image will be loaded and the Zoom
 or Rotate method of the MythImage class will be called.

 Unfortunately this does not animations like the Pulse method and will not
 allow on the fly rotation or zooming.

 Any further improvements or tipps regarding this would be great.

 Robert S

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10193>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list