Logo Search packages:      
Sourcecode: zope-photo version File versions

def zope-photo-1.2.3::Photo::Photo::_getDisplayData (   self,
) [private]

Return raw photo data for given display.

Definition at line 373 of file Photo.py.

00373                                       :
        """Return raw photo data for given display."""
        (width, height) = self._displays[display]
        if width == 0 and height == 0:
            width = self._original._width()
            height = self._original._height()
        (width, height) = self._getAspectRatioSize(width, height)
        engine = self.propertysheets.get('photoconf').getProperty('engine')
        quality = self.propertysheets.get('photoconf').getProperty('quality')
        return self._resize(display, width, height, engine, quality)
    def _getDisplayPhoto(self, display):

Generated by  Doxygen 1.6.0   Back to index