QImage

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

CLASS REFERENCE
Source: /harbour/contrib/hbqt/TQImage.prg
http://doc.trolltech.com/4.5/qimage.htm

IMPORTANT:  Call the constructor with exact number of parameter. 
            No defaults, otherwise application will GPF

oImage := QImage():new()
oImage := QImage():new( pQSize, cFormat )
oImage := QImage():new( iWidth, iHeight, cFormat )
oImage := QImage():new( @cData, iWidth, iHeight, cFormat )
oImage := QImage():new( cData , iWidth, iHeight, cFormat )
oImage := QImage():new( @cData, iWidth, iHeight, iBytesPerLine, cFormat )
oImage := QImage():new( cData , iWidth, iHeight, iBytesPerLine, cFormat )
oImage := QImage():new( cFileName [, cFormat ] )
oImage := QImage():new( pQImage )
oImage : allGray() lBool
oImage : bits() pUchar
oImage : bits_1() pUchar
oImage : bytesPerLine() nInt
oImage : cacheKey() nQint64
oImage : color( nI ) nQRgb
oImage : depth() nInt
oImage : dotsPerMeterX() nInt
oImage : dotsPerMeterY() nInt
oImage : fill( nPixelValue ) NIL
oImage : format() nFormat
oImage : hasAlphaChannel() lBool
oImage : height() nInt
oImage : invertPixels( nMode ) NIL
oImage : isGrayscale() lBool
oImage : isNull() lBool
oImage : load( cFileName, pFormat ) lBool
oImage : load_1( pDevice, pFormat ) lBool
oImage : loadFromData( pData, pFormat ) lBool
oImage : numBytes() nInt
oImage : numColors() nInt
oImage : offset() pQPoint
oImage : pixel( pPosition ) nQRgb
oImage : pixel_1( nX, nY ) nQRgb
oImage : pixelIndex( pPosition ) nInt
oImage : pixelIndex_1( nX, nY ) nInt
oImage : rect() pQRect
oImage : save( cFileName, pFormat, nQuality ) lBool
oImage : save_1( pDevice, pFormat, nQuality ) lBool
oImage : scanLine( nI ) pUchar
oImage : scanLine_1( nI ) pUchar
oImage : setColor( nIndex, nColorValue ) NIL
oImage : setDotsPerMeterX( nX ) NIL
oImage : setDotsPerMeterY( nY ) NIL
oImage : setNumColors( nNumColors ) NIL
oImage : setOffset( pOffset ) NIL
oImage : setPixel( pPosition, nIndex_or_rgb ) NIL
oImage : setPixel_1( nX, nY, nIndex_or_rgb ) NIL
oImage : setText( cKey, cText ) NIL
oImage : size() pQSize
oImage : text( cKey ) cQString
oImage : textKeys() pQStringList
oImage : valid( pPos ) lBool
oImage : valid_1( nX, nY ) lBool
oImage : width() nInt
FUNCTIONS REFERENCE
Source: /harbour/contrib/hbqt/QImage.cpp
Qt_QImage_allGray( pQImage )lBool
Qt_QImage_alphaChannel( pQImage )pQImage
Qt_QImage_bits( pQImage )pUchar
Qt_QImage_bits_1( pQImage )pUchar
Qt_QImage_bytesPerLine( pQImage )nInt
Qt_QImage_cacheKey( pQImage )nQint64
Qt_QImage_color( pQImage, nI )nQRgb
Qt_QImage_convertToFormat( pQImage, nFormat, nFlags )pQImage
Qt_QImage_copy( pQImage, pRectangle )pQImage
Qt_QImage_copy_1( pQImage, nX, nY, nWidth, nHeight )pQImage
Qt_QImage_createAlphaMask( pQImage, nFlags )pQImage
Qt_QImage_createHeuristicMask( pQImage, lClipTight )pQImage
Qt_QImage_createMaskFromColor( pQImage, nColor, nMode )pQImage
Qt_QImage_depth( pQImage )nInt
Qt_QImage_dotsPerMeterX( pQImage )nInt
Qt_QImage_dotsPerMeterY( pQImage )nInt
Qt_QImage_fill( pQImage, nPixelValue )NIL
Qt_QImage_format( pQImage )nFormat
Qt_QImage_hasAlphaChannel( pQImage )lBool
Qt_QImage_height( pQImage )nInt
Qt_QImage_invertPixels( pQImage, nMode )NIL
Qt_QImage_isGrayscale( pQImage )lBool
Qt_QImage_isNull( pQImage )lBool
Qt_QImage_load( pQImage, cFileName, pFormat )lBool
Qt_QImage_load_1( pQImage, pDevice, pFormat )lBool
Qt_QImage_loadFromData( pQImage, pData, pFormat )lBool
Qt_QImage_mirrored( pQImage, lHorizontal, lVertical )pQImage
Qt_QImage_numBytes( pQImage )nInt
Qt_QImage_numColors( pQImage )nInt
Qt_QImage_offset( pQImage )pQPoint
Qt_QImage_pixel( pQImage, pPosition )nQRgb
Qt_QImage_pixel_1( pQImage, nX, nY )nQRgb
Qt_QImage_pixelIndex( pQImage, pPosition )nInt
Qt_QImage_pixelIndex_1( pQImage, nX, nY )nInt
Qt_QImage_rect( pQImage )pQRect
Qt_QImage_rgbSwapped( pQImage )pQImage
Qt_QImage_save( pQImage, cFileName, pFormat, nQuality )lBool
Qt_QImage_save_1( pQImage, pDevice, pFormat, nQuality )lBool
Qt_QImage_scaled( pQImage, pSize, nAspectRatioMode, nTransformMode )pQImage
Qt_QImage_scaled_1( pQImage, nWidth, nHeight, nAspectRatioMode, nTransformMode )pQImage
Qt_QImage_scaledToHeight( pQImage, nHeight, nMode )pQImage
Qt_QImage_scaledToWidth( pQImage, nWidth, nMode )pQImage
Qt_QImage_scanLine( pQImage, nI )pUchar
Qt_QImage_scanLine_1( pQImage, nI )pUchar
Qt_QImage_setColor( pQImage, nIndex, nColorValue )NIL
Qt_QImage_setDotsPerMeterX( pQImage, nX )NIL
Qt_QImage_setDotsPerMeterY( pQImage, nY )NIL
Qt_QImage_setNumColors( pQImage, nNumColors )NIL
Qt_QImage_setOffset( pQImage, pOffset )NIL
Qt_QImage_setPixel( pQImage, pPosition, nIndex_or_rgb )NIL
Qt_QImage_setPixel_1( pQImage, nX, nY, nIndex_or_rgb )NIL
Qt_QImage_setText( pQImage, cKey, cText )NIL
Qt_QImage_size( pQImage )pQSize
Qt_QImage_text( pQImage, cKey )cQString
Qt_QImage_textKeys( pQImage )pQStringList
Qt_QImage_transformed( pQImage, pMatrix, nMode )pQImage
Qt_QImage_transformed_1( pQImage, pMatrix, nMode )pQImage
Qt_QImage_valid( pQImage, pPos )lBool
Qt_QImage_valid_1( pQImage, nX, nY )lBool
Qt_QImage_width( pQImage )nInt