MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / createCopy

Method createCopy

src/doc/image.cpp:64–69  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

62
63// static
64Image* Image::createCopy(const Image* image, const ImageBufferPtr& buffer)
65{
66 ASSERT(image);
67 return crop_image(image, 0, 0, image->width(), image->height(),
68 image->maskColor(), buffer);
69}
70
71} // namespace doc

Callers

nothing calls this directly

Calls 4

crop_imageFunction · 0.85
widthMethod · 0.45
heightMethod · 0.45
maskColorMethod · 0.45

Tested by

no test coverage detected