Opened 13 years ago
Closed 12 years ago
#10193 closed Patch - Feature (Won't Fix)
MythUI: Allow rotation and zooming of MythImages
Reported by: | Owned by: | stuartm | |
---|---|---|---|
Priority: | minor | Milestone: | 0.28 |
Component: | MythTV - User Interface Library | Version: | Master Head |
Severity: | medium | Keywords: | mythui mythimage image rotate zoom |
Cc: | Ticket locked: | no |
Description
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
Attachments (1)
Change History (4)
Changed 13 years ago by
Attachment: | mythui_rotate_zoom.patch added |
---|
comment:1 Changed 13 years ago by
Milestone: | unknown → 0.27 |
---|---|
Status: | new → accepted |
comment:2 Changed 12 years ago by
Milestone: | 0.27 → 0.28 |
---|
comment:3 Changed 12 years ago by
Resolution: | → Won't Fix |
---|---|
Status: | accepted → closed |
This won't apply to master after the merger of the new gallery patch, which adds the rotation but not the zoom (same as cropping?)
Patch against revision 033bc31f (3 dec 2011)