comparison Framework/Layers/GrayscaleFrameRenderer.cpp @ 561:1201b12eb9f8 dev

merge default -> dev
author Alain Mazy <alain@mazy.be>
date Thu, 18 Apr 2019 09:30:00 +0200
parents 11fa6f00e33c aaeec7be8fb7
children d2c0e347ddc2
comparison
equal deleted inserted replaced
558:d5579bdc59b5 561:1201b12eb9f8
39 float x0 = windowCenter - windowWidth / 2.0f; 39 float x0 = windowCenter - windowWidth / 2.0f;
40 float x1 = windowCenter + windowWidth / 2.0f; 40 float x1 = windowCenter + windowWidth / 2.0f;
41 41
42 //LOG(INFO) << "Window: " << x0 << " => " << x1; 42 //LOG(INFO) << "Window: " << x0 << " => " << x1;
43 43
44 result.reset(new CairoSurface(frame_->GetWidth(), frame_->GetHeight())); 44 result.reset(new CairoSurface(frame_->GetWidth(), frame_->GetHeight(), false /* no alpha */));
45 45
46 const uint8_t* lut = NULL; 46 const uint8_t* lut = NULL;
47 if (style.applyLut_) 47 if (style.applyLut_)
48 { 48 {
49 if (Orthanc::EmbeddedResources::GetFileResourceSize(style.lut_) != 3 * 256) 49 if (Orthanc::EmbeddedResources::GetFileResourceSize(style.lut_) != 3 * 256)