Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
34fb25cd
Kaydet (Commit)
34fb25cd
authored
Ock 12, 2015
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix alpha computation, followup
Change-Id: I7701368e152ce20adbc05802c7c6518183919d1f
üst
2aa40ece
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
0001-lrf-compute-color-interpolation-coeff.-correctly.patch
...01-lrf-compute-color-interpolation-coeff.-correctly.patch
+25
-0
UnpackedTarball_libebook.mk
external/libebook/UnpackedTarball_libebook.mk
+1
-0
No files found.
external/libebook/0001-lrf-compute-color-interpolation-coeff.-correctly.patch
0 → 100644
Dosyayı görüntüle @
34fb25cd
From 584c9bcfed7295e5e0a9d5caafb32a5020b74300 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Mon, 12 Jan 2015 17:10:07 +0100
Subject: [PATCH] lrf: compute color interpolation coeff. correctly
---
src/lib/LRFCollector.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/LRFCollector.cpp b/src/lib/LRFCollector.cpp
index 1c02593..3fbee2e 100644
--- a/src/lib/LRFCollector.cpp
+++ b/src/lib/LRFCollector.cpp
@@ -50,7 +50,7 @@ const LRFColor combine(const LRFColor &fg, const LRFColor &bg)
{
assert(0 == bg.a);
- const double a = fg.a / 255.0;
+ const double a = 1 - fg.a / 255.0;
const double r = (1 - a) * bg.r + a * fg.r;
const double g = (1 - a) * bg.g + a * fg.g;
--
2.1.0
external/libebook/UnpackedTarball_libebook.mk
Dosyayı görüntüle @
34fb25cd
...
...
@@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libebook,0))
$(eval $(call gb_UnpackedTarball_add_patches,libebook, \
external/libebook/ubsan.patch \
external/libebook/0001-lrf-compute-color-interpolation-coeff.-correctly.patch.1 \
))
# vim: set noet sw=4 ts=4:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment