Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  offscreen-pixel-alignment2.node   Sprache: unbekannt

 
Spracherkennung für: .node vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

/* generate the outline, and ensure the bounds are set */
color {
  bounds: 0 0 15 15;
  color: black;
}

/* scale by 1.5 to get into fractional scaling mode */
transform {
  transform: scale(1.5);
  /* Use opacity node to get an offscreen
     (also makes Cairo not round pixel values wrong) */
  child: opacity {
    opacity: 0.4;
    /* We use a container with overlapping children here
       to force the offscreen */
    child: container {
      /* This color node is not pixel-aligned with
         the pixel grid - it's at (1.51.5) in pixel coords.

         So the offscreen needs to account for this
         and ensure to grow larger than the bounds
         if it wants to keep the pixel grid.

         We use the same color as the background above,
         so that we don't get comparison artifacts
         when blending. */
      color {
        color: black;
        bounds: 1 1 8 8;
      }
      /* This color node is aligned with the pixel grid -
         It's at (33) in pixel coords.

         But it's drawn to an offscreen first, so if the
         offscreen is not pixel-aligned, this boundary
         will be blurry.
         ^^^
         THIS IS WHAT THE WHOLE TEST IS ABOUT! */
      color {
        color: red;
        bounds: 2 2 6 6;
      }
    }
  }
}

[Dauer der Verarbeitung: 0.13 Sekunden, vorverarbeitet 2026-07-04]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik