Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/layout/reftests/canvas/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 805 B image not shown  

Quelle  strokeText-path.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/layout/reftests/canvas/strokeText-path.html


<!DOCTYPE html>
<html>
  <head>
    <script type="text/javascript"><!--
window.onload = function () {
  var canvas = document.getElementById('testCanvas'),
      context = canvas.getContext('2d');

  // draw a path
  context.beginPath();
  context.moveTo(10, 10);
  context.lineTo(200, 10);
  context.lineTo(200, 200);
  context.stroke();
  context.closePath();

  context.clearRect(0, 0, canvas.width, canvas.height);

  // draw some text
  context.font = 'bold 40px sans-serif';
  context.strokeText("Hello world!", 10, 50);
};
      // -->

  </head>
  <body>
    <p>You should see only see "Hello world!" below, without any additional 
    line. JavaScript is required.</p>

    <p><canvas id="testCanvas" width="400" height="300">You need Canvas 
    support.</canvas></p>

  </body>
</html>

Messung V0.5
C=98 H=100 G=98

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.