MCPcopy Create free account
hub / github.com/buggins/coolreader / LVCreateStreamCopyImageSource

Function LVCreateStreamCopyImageSource

crengine/src/lvimg.cpp:1458–1463  ·  view source on GitHub ↗

creates image source as memory copy of stream contents

Source from the content-addressed store, hash-verified

1456
1457/// creates image source as memory copy of stream contents
1458LVImageSourceRef LVCreateStreamCopyImageSource( LVStreamRef stream )
1459{
1460 if ( stream.isNull() )
1461 return LVImageSourceRef();
1462 return LVCreateStreamImageSource( LVCreateMemoryStream(stream) );
1463}
1464
1465class LVStretchImgSource : public LVImageSource, public LVImageDecoderCallback
1466{

Callers 1

getImageMethod · 0.85

Calls 3

LVCreateMemoryStreamFunction · 0.85
isNullMethod · 0.45

Tested by

no test coverage detected