update jdenticon

This commit is contained in:
El RIDO 2022-10-31 20:36:39 +01:00
parent 46013df620
commit a731a1143c
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 669 additions and 475 deletions

1125
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -5,18 +5,18 @@
'type' => 'project', 'type' => 'project',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
'reference' => '78aa70e3ab9277172489f9d88f8fd08cc1d03c97', 'reference' => '46013df6201304840c8dab82af63cc9000a6d239',
'name' => 'privatebin/privatebin', 'name' => 'privatebin/privatebin',
'dev' => false, 'dev' => false,
), ),
'versions' => array( 'versions' => array(
'jdenticon/jdenticon' => array( 'jdenticon/jdenticon' => array(
'pretty_version' => '1.0.1', 'pretty_version' => '1.0.2',
'version' => '1.0.1.0', 'version' => '1.0.2.0',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../jdenticon/jdenticon', 'install_path' => __DIR__ . '/../jdenticon/jdenticon',
'aliases' => array(), 'aliases' => array(),
'reference' => '994ee07293fb978f983393ffcb2c0250592a6ac4', 'reference' => 'cabb7a44c413c318392a341c5d3ca30fcdd57a6f',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'mlocati/ip-lib' => array( 'mlocati/ip-lib' => array(
@ -43,7 +43,7 @@
'type' => 'project', 'type' => 'project',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
'reference' => '78aa70e3ab9277172489f9d88f8fd08cc1d03c97', 'reference' => '46013df6201304840c8dab82af63cc9000a6d239',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'yzalis/identicon' => array( 'yzalis/identicon' => array(

View file

@ -21,6 +21,15 @@ class SuperSampleBuffer
const IDX_G = 3; const IDX_G = 3;
const IDX_B = 4; const IDX_B = 4;
private $samples;
private $samplesPerPixel;
private $pixelOffset;
private $subPixelOffset;
private $width;
private $used;
/** /**
* Creates a color buffer keeping an average color out of several * Creates a color buffer keeping an average color out of several
* color samples per pixel. * color samples per pixel.