1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added some comment to cPixmap about the relation between OSD, ViewPort and DrawPort

This commit is contained in:
Klaus Schmidinger 2015-03-13 15:09:45 +01:00
parent 57513db5c4
commit 0bcf5d6da6
3 changed files with 9 additions and 3 deletions

View File

@ -3314,6 +3314,8 @@ Thomas Reufer <thomas@reufer.ch>
for suggesting to change the return value of cOsd::RenderPixmaps() from cPixmapMemory for suggesting to change the return value of cOsd::RenderPixmaps() from cPixmapMemory
to cPixmap to cPixmap
for adding detection of 24fps for adding detection of 24fps
for suggesting to add some comment to cPixmap about the relation between OSD,
ViewPort and DrawPort
Eike Sauer <EikeSauer@t-online.de> Eike Sauer <EikeSauer@t-online.de>
for reporting a problem with channels that need more than 5 TS packets for detecting for reporting a problem with channels that need more than 5 TS packets for detecting

View File

@ -8613,3 +8613,5 @@ Video Disk Recorder Revision History
- Added a section about Output Devices to the INSTALL file. - Added a section about Output Devices to the INSTALL file.
- Fixed setting the source value of newly created channels, in case the NIT is - Fixed setting the source value of newly created channels, in case the NIT is
received from a different, but very close satellite position. received from a different, but very close satellite position.
- Added some comment to cPixmap about the relation between OSD, ViewPort and DrawPort
(suggested by Thomas Reufer).

8
osd.h
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: osd.h 4.2 2015/03/13 15:06:48 kls Exp $ * $Id: osd.h 4.3 2015/03/13 15:07:53 kls Exp $
*/ */
#ifndef __OSD_H #ifndef __OSD_H
@ -510,8 +510,10 @@ public:
///< In order to allow devices that can handle only a limited number of layers, ///< In order to allow devices that can handle only a limited number of layers,
///< the Layer parameter must be less than 8 (MAXPIXMAPLAYERS). ///< the Layer parameter must be less than 8 (MAXPIXMAPLAYERS).
///< ViewPort defines the rectangle in which this pixmap will be rendered on ///< ViewPort defines the rectangle in which this pixmap will be rendered on
///< the OSD. If no DrawPort is given, it defaults to the same size as the ///< the OSD. The coordinate (0, 0) corresponds to the upper left corner of the
///< ViewPort, with its upper left corner set to (0, 0). ///< OSD. If no DrawPort is given, it defaults to the same size as the
///< ViewPort, with its upper left corner set to (0, 0). The DrawPort's origin
///< is relative to the ViewPort's origin.
///< All drawing operations will be executed relative to the origin of the ///< All drawing operations will be executed relative to the origin of the
///< DrawPort rectangle, and will be clipped to the size of this rectangle. ///< DrawPort rectangle, and will be clipped to the size of this rectangle.
///< The DrawPort may have a different size than the ViewPort. If it is smaller ///< The DrawPort may have a different size than the ViewPort. If it is smaller