検索
ホームページウェブフロントエンドH5 チュートリアルHTML5のキャンバスでタッチパネルに対応した署名パネルのサンプルコードを詳しく解説

1. はじめに

私は最近忙しすぎて、国慶節の後に退職し、ゆっくりと仕事を探し始めました。言葉では言い表せないほど、詐欺的な会社が次々とあり、中には1日だけ働いて帰ってしまう会社もありました。仕事の日はTiyu West Roadに会社があり、最初の日はバスに乗って帰るのがとても疲れたので、私は本当に電車に乗るのに適していません。面接中にビッグデータやパフォーマンスの最適化などについて話す企業もありましたが、その企業を見てみると、設計パターンが存在しませんでした。 、残念すぎました、幸いなことに、この会社は今はかなり良いです。

2.canvcas タグ

canvas 基本チュートリアル: タグは、グラフやその他の画像などのグラフィックを定義します。 HTML5 の Canvas 要素は、JavaScript を使用して Web ページ上に画像を描画します。ブラシや油彩では不可能な、キャンバス上でのアニメーションの作成や操作も可能です。すべての Web ブラウザーでの HTML5 の完全なサポートはまだ完了していませんが、新たなサポートの中で、Canvas はすでにほぼすべての最新のブラウザーで適切に動作します。 Canvas には、パス、長方形、円、文字を描画したり、画像を追加したりするためのさまざまな方法があります。入社して 1 か月間、主にバックエンド開発を行っており、これまで Oracle データベースを使用したことがありませんでしたが、今月は主に H5 と css3.0 の新機能を学びました。サーバーへのインストールとデプロイ、一部のデータのインポートとエクスポート、データのバックアップなど、フロントエンドのことは比較的苦手なので、しっかり勉強してください。

3. 手書き署名パネル

その会社は自動化されたオフィス OA システムを作成しています。一部のレビュー領域には手書き署名機能を追加する必要があります。 H5 にはこの新しい canvcas ラベルが特に満足しています。それで私はそれを引き継いで試してみました、そしてそれは本当にうまくいきました。

4. ページコード

@{
    Layout = null;
}<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Testpage</title>
    <script src="~/Assets/jquery-2.1.1.js"></script>
    <script src="~/Assets/bootstrap/bootstrap.js"></script>
    <link href="~/Assets/bootstrap/bootstrap.css" rel="stylesheet" />
    <script src="~/Scripts/WritingPad.js"></script>
    <script src="~/Assets/jq-signature.js"></script>
</head>
<body style="background-color:#b6ff00">

    <button class="btn btn-primary" type="button" style="position:relative">点击我</button>

</body>
</html>
<script>

    $(function () {

        $(".btn,.btn-primary").click(function () {            
        var wp = new WritingPad();            
        //wp.init();        });
    });</script>

5. スクリプトコード1

/**
 * 功能:签名canvas面板初始化,为WritingPad.js手写面板js服务。
 * 作者:黄金锋 (549387177@qq.com)
 * 日期:2015-11-15  15:51:01
 * 版本:version 1.0
 */

(function (window, document, $) {
    &#39;use strict&#39;;

  // Get a regular interval for drawing to the screen
  window.requestAnimFrame = (function (callback) {
    return window.requestAnimationFrame || 
      window.webkitRequestAnimationFrame ||
      window.mozRequestAnimationFrame ||
      window.oRequestAnimationFrame ||
      window.msRequestAnimaitonFrame ||
      function (callback) {
        window.setTimeout(callback, 1000/60);
      };
  })();

  /*
  * Plugin Constructor
  */

  var pluginName = &#39;jqSignature&#39;,
      defaults = {
        lineColor: &#39;#222222&#39;,
        lineWidth: 1,
        border: &#39;1px dashed #CCFF99&#39;,
        background: &#39;#FFFFFF&#39;,
        width: 500,
        height: 200,
        autoFit: false
      },
      canvasFixture = &#39;<canvas></canvas>&#39;;

  function Signature(element, options) {
    // DOM elements/objects
    this.element = element;
    this.$element = $(this.element);
    this.canvas = false;
    this.$canvas = false;
    this.ctx = false;
    // Drawing state
    this.drawing = false;
    this.currentPos = {
      x: 0,
      y: 0
    };
    this.lastPos = this.currentPos;
    // Determine plugin settings
    this._data = this.$element.data();
    this.settings = $.extend({}, defaults, options, this._data);
    // Initialize the plugin
    this.init();
  }

  Signature.prototype = {
    // Initialize the signature canvas
    init: function() {
      // Set up the canvas
      this.$canvas = $(canvasFixture).appendTo(this.$element);
      this.$canvas.attr({
        width: this.settings.width,
        height: this.settings.height
      });
      this.$canvas.css({
        boxSizing: &#39;border-box&#39;,
        width: this.settings.width + &#39;px&#39;,
        height: this.settings.height + &#39;px&#39;,
        border: this.settings.border,
        background: this.settings.background,
        cursor: &#39;crosshair&#39;
      });
      // Fit canvas to width of parent
      if (this.settings.autoFit === true) {
        this._resizeCanvas();
      }
      this.canvas = this.$canvas[0];
      this._resetCanvas();
      // Set up mouse events
      this.$canvas.on(&#39;mousedown touchstart&#39;, $.proxy(function(e) {
        this.drawing = true;
        this.lastPos = this.currentPos = this._getPosition(e);
      }, this));
      this.$canvas.on(&#39;mousemove touchmove&#39;, $.proxy(function(e) {
        this.currentPos = this._getPosition(e);
      }, this));
      this.$canvas.on(&#39;mouseup touchend&#39;, $.proxy(function(e) {
        this.drawing = false;
        // Trigger a change event
        var changedEvent = $.Event(&#39;jq.signature.changed&#39;);
        this.$element.trigger(changedEvent);
      }, this));
      // Prevent document scrolling when touching canvas
      $(document).on(&#39;touchstart touchmove touchend&#39;, $.proxy(function(e) {
        if (e.target === this.canvas) {
          e.preventDefault();
        }
      }, this));
      // Start drawing
      var that = this;
      (function drawLoop() {
        window.requestAnimFrame(drawLoop);
        that._renderCanvas();
      })();
    },
    // Clear the canvas
    clearCanvas: function() {
      this.canvas.width = this.canvas.width;
      this._resetCanvas();
    },
    // Get the content of the canvas as a base64 data URL
    getDataURL: function() {
      return this.canvas.toDataURL();
    },

    reLoadData: function () {
        this.$canvas.remove();
        this._data = this.$element.data();

        //for (var i in this.settings) {
        //    alert(i+":"+this.settings[i]);
        //}

        //this.settings = $.extend({}, defaults, this._data);
        this.init();
    },
    // Get the position of the mouse/touch
    _getPosition: function(event) {
      var xPos, yPos, rect;
      rect = this.canvas.getBoundingClientRect();
      event = event.originalEvent;
      // Touch event
      if (event.type.indexOf(&#39;touch&#39;) !== -1) { // event.constructor === TouchEvent
        xPos = event.touches[0].clientX - rect.left;
        yPos = event.touches[0].clientY - rect.top;
      }
      // Mouse event
      else {
        xPos = event.clientX - rect.left;
        yPos = event.clientY - rect.top;
      }
      return {
        x: xPos,
        y: yPos
      };
    },
    // Render the signature to the canvas
    _renderCanvas: function() {
      if (this.drawing) {
        this.ctx.moveTo(this.lastPos.x, this.lastPos.y);
        this.ctx.lineTo(this.currentPos.x, this.currentPos.y);
        this.ctx.stroke();
        this.lastPos = this.currentPos;
      }
    },
    // Reset the canvas context
    _resetCanvas: function() {
      this.ctx = this.canvas.getContext("2d");
      this.ctx.strokeStyle = this.settings.lineColor;
      this.ctx.lineWidth = this.settings.lineWidth;
    },
    // Resize the canvas element
    _resizeCanvas: function() {
      var width = this.$element.outerWidth();
      this.$canvas.attr(&#39;width&#39;, width);
      this.$canvas.css(&#39;width&#39;, width + &#39;px&#39;);
    }
  };

  /*
  * Plugin wrapper and initialization
  */

  $.fn[pluginName] = function ( options ) {
    var args = arguments;
    if (options === undefined || typeof options === &#39;object&#39;) {
      return this.each(function () {
        if (!$.data(this, &#39;plugin_&#39; + pluginName)) {
          $.data(this, &#39;plugin_&#39; + pluginName, new Signature( this, options ));
        }
      });
    } 
    else if (typeof options === &#39;string&#39; && options[0] !== &#39;_&#39; && options !== &#39;init&#39;) {
      var returns;
      this.each(function () {
        var instance = $.data(this, &#39;plugin_&#39; + pluginName);
        if (instance instanceof Signature && typeof instance[options] === &#39;function&#39;) {
            var myArr=Array.prototype.slice.call( args, 1 );
            returns = instance[options].apply(instance, myArr);
        }
        if (options === &#39;destroy&#39;) {
          $.data(this, &#39;plugin_&#39; + pluginName, null);
        }
        //if (options === &#39;reLoadData&#39;) {
        //    //this.$canvas.remove();
        //    $.data(this, &#39;plugin_&#39; + pluginName, null);
        //    this._data = this.$element.data();
        //    this.settings = $.extend({}, defaults, options, this._data);
        //    this.init();
        //}
      });
      return returns !== undefined ? returns : this;
    }
  };

})(window, document, jQuery);

6. スクリプトコード2

/**
 * 功能:使用该jQuery插件来制作在线签名或涂鸦板,用户绘制的东西可以用图片的形式保存下来。
 * 作者:黄金锋 (549387177@qq.com)
 * 日期:2015-11-16  13:51:01
 * 版本:version 1.0
 */

var WritingPad = function () {

    var current = null;

    $(function () {

        initHtml();

        initTable();

        initSignature();

        if ($(".modal")) {
            $(".modal").modal("toggle");
        } else {
            alert("没用手写面板");
        }

        $(document).on("click", "#myClose,.close", null, function () {
            $(&#39;#mymodal&#39;).modal(&#39;hide&#39;);
            $("#mymodal").remove();

        });

        $(document).on("click", "#mySave", null, function () {

            var myImg = $(&#39;#myImg&#39;).empty();
            var dataUrl = $(&#39;.js-signature&#39;).jqSignature(&#39;getDataURL&#39;);
            var img = $(&#39;<img  alt="HTML5のキャンバスでタッチパネルに対応した署名パネルのサンプルコードを詳しく解説" >&#39;).attr(&#39;src&#39;, dataUrl);
            $(myImg).append($(&#39;<p>&#39;).text("图片保存在这里"));
            $(myImg).append(img);

        });

        $(document).on("click", "#myEmpty", null, function () {
            $(&#39;.js-signature&#39;).jqSignature(&#39;clearCanvas&#39;);

        });

        $(document).on("click", "#myBackColor", null, function () {

            $(&#39;#colorpanel&#39;).css(&#39;left&#39;, &#39;95px&#39;).css(&#39;top&#39;, &#39;45px&#39;).css("display", "block").fadeIn();
            //$("canvas").css("background", "#EEEEEE");
            $("#btnSave").data("sender", "#myBackColor");
        });

        $(document).on("click", "#myColor", null, function () {
            $(&#39;#colorpanel&#39;).css(&#39;left&#39;, &#39;205px&#39;).css(&#39;top&#39;, &#39;45px&#39;).css("display", "block").fadeIn();
            $("#btnSave").data("sender", "#myColor");
        });

        $(document).on("mouseover", "#myTable", null, function () {

            if ((event.srcElement.tagName == "TD") && (current != event.srcElement)) {
                if (current != null) { current.style.backgroundColor = current._background }
                event.srcElement._background = event.srcElement.style.backgroundColor;
                //$("input[name=DisColor]").css("background-color", event.srcElement.style.backgroundColor);
                //var color = event.srcElement.style.backgroundColor;
                //var strArr = color.substring(4, color.length - 1).split(&#39;,&#39;);
                //var num = showRGB(strArr);
                //$("input[name=HexColor]").val(num);
                current = event.srcElement;
            }

        });

        $(document).on("mouseout", "#myTable", null, function () {

            if (current != null) current.style.backgroundColor = current._background

        });

        $(document).on("click", "#myTable", null, function () {

            if (event.srcElement.tagName == "TD") {
                var color = event.srcElement._background;
                if (color) {
                    $("input[name=DisColor]").css("background-color", color);
                    var strArr = color.substring(4, color.length - 1).split(&#39;,&#39;);
                    var num = showRGB(strArr);
                    $("input[name=HexColor]").val(num);
                }
            }

        });

        $(document).on("click", "#btnSave", null, function () {

            $(&#39;#colorpanel&#39;).css("display", "none");
            var typeData = $("#btnSave").data("sender");
            var HexColor = $("input[name=HexColor]").val();
            var data = $(".js-signature").data();
            if (typeData == "#myColor") {
                data["plugin_jqSignature"]["settings"]["lineColor"] = HexColor;
                $(&#39;.js-signature&#39;).jqSignature(&#39;reLoadData&#39;);
            }
            if (typeData == "#myBackColor") {

                data["plugin_jqSignature"]["settings"]["background"] = HexColor;
                $(&#39;.js-signature&#39;).jqSignature(&#39;reLoadData&#39;);
            }
        });

        $("#mymodal").on(&#39;hide.bs.modal&#39;, function () {
            $("#colorpanel").remove();
            $("#mymodal").remove();
            $("#myTable").remove();
        });

    });

    function initHtml() {

        var html = &#39;<div class="modal" id="mymodal">&#39; +
            &#39;<div class="modal-dialog">&#39; +
                &#39;<div class="modal-content">&#39; +
                    &#39;<div class="modal-header">&#39; +
                        &#39;<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span>
                        <span class="sr-only">Close</span></button>&#39; +
                        &#39;<h4 id="手写面板">手写面板</h4>&#39; +
                    &#39;</div>&#39; +
                    &#39;<div class="modal-body">&#39; +
                        &#39;<div class="js-signature" id="mySignature">&#39; +
                         &#39;</div>&#39; +
                         &#39;<div>&#39; +
                         &#39;<button type="button" class="btn btn-default" id="myEmpty">清空面板</button>&#39; +
                         &#39;<button type="button" class="btn btn-default" id="myBackColor">设置背景颜色</button>&#39; +
                         //&#39;<div style="position:absolute;relative">&#39; +
                         &#39;<button type="button" class="btn btn-default" id="myColor">设置字体颜色</button>&#39; +
                         &#39;<div id="colorpanel" style="position:absolute;z-index:99;display:none"></div>&#39; +
                         //&#39;</div>&#39;+
                         &#39;</div>&#39; +
                    &#39;</div>&#39; +
                    &#39;<div class="modal-footer">&#39; +

                        &#39;<button type="button" class="btn btn-default" id="myClose">关闭</button>&#39; +
                        &#39;<button type="button" class="btn btn-primary" id="mySave">保存</button>&#39; +
                        &#39;<div id="myImg">&#39; +
                        &#39;<div>&#39; +

                    &#39;</div>&#39; +
                &#39;</div>&#39; +
            &#39;</div>&#39; +
        &#39;</div>&#39;;

        $(&#39;body&#39;).append(html);
    }

    function initTable() {
        var colorTable = "";
        var ColorHex = new Array(&#39;00&#39;, &#39;33&#39;, &#39;66&#39;, &#39;99&#39;, &#39;CC&#39;, &#39;FF&#39;);
        var SpColorHex = new Array(&#39;FF0000&#39;, &#39;00FF00&#39;, &#39;0000FF&#39;, &#39;FFFF00&#39;, &#39;00FFFF&#39;, &#39;FF00FF&#39;);
        for (var i = 0; i < 2; i++)
        {
            for (var j = 0; j < 6; j++)
            {
                colorTable = colorTable + &#39;<tr height=12>&#39;;
                colorTable = colorTable + &#39;<td width=11 style="background-color:#000000"></td>&#39;;

                if (i == 0)
                {
                    colorTable = colorTable + &#39;<td width=11 style="background-color:#&#39; + ColorHex[j] + ColorHex[j] + ColorHex[j] + &#39;"></td>&#39;;
                }
                else
                {
                    colorTable = colorTable + &#39;<td width=11 style="background-color:#&#39; + SpColorHex[j] + &#39;"></td>&#39;;
                }

                //colorTable = colorTable + &#39;<td width=11 style="background-color:#000000"></td>&#39;;

                for (var k = 0; k < 3; k++)
                {
                    for (l = 0; l < 6; l++)
                    {
                        colorTable = colorTable + &#39;<td width=11 style="background-color:#&#39; + ColorHex[k + i * 3] + ColorHex[l] + ColorHex[j] + &#39;"></td>&#39;;
                    }
                }
                colorTable = colorTable + &#39;</tr>&#39;;


            }
        }
        colorTable =
        &#39;<table border="1" id="myTable" cellspacing="0" cellpadding="0" style="border-collapse: collapse;cursor:pointer;" bordercolor="000000">&#39;
        + colorTable + &#39;</table>&#39; +
        &#39;<table width=225 border="0" cellspacing="0" cellpadding="0" style="border:1px #000000 solid;border-collapse: collapse;background-color:#000000">&#39; +
        &#39;<tr style="height:30px">&#39; +
        &#39;<td colspan=21 bgcolor=#cccccc>&#39; +

        &#39;<table cellpadding="0" cellspacing="1" border="0" style="border-collapse: collapse">&#39; +
        &#39;<tr>&#39; +
        &#39;<td width="3"><input type="text" name="DisColor" size="6" disabled style="border:solid 1px #000000;background-color:#ffff00"></td>&#39; +
        &#39;<td width="3"><input type="text" name="HexColor" size="7" style="border:inset 1px;font-family:Arial;" value="#000000"></td>&#39; +
         &#39;<td width="3"><button type="button" class="btn btn-primary btn-sm" id="btnSave">确认</button></td>&#39; +
        &#39;</tr>&#39; +
        &#39;</table>&#39; +
       
        &#39;</td>&#39; +
        &#39;</tr>&#39; +
        &#39;</table>&#39;;
        $("#colorpanel").append(colorTable);
    }

    function initSignature() {

        if (window.requestAnimFrame) {
            var signature = $("#mySignature");
            signature.jqSignature({ width: 500, height: 200, border: &#39;1px solid red&#39;, background: &#39;#16A085&#39;, lineColor: &#39;#ABCDEF&#39;, lineWidth: 2, autoFit: false });
            //{ width: 600, height: 200, border: &#39;1px solid red&#39;, background: &#39;#16A085&#39;, lineColor: &#39;#ABCDEF&#39;, lineWidth: 2, autoFit: true }
        } else {

            alert("请加载jq-signature.js");
            return;
        }
    }

    function showRGB(arr) {
        hexcode = "#";
        for (x = 0; x < 3; x++) {
            var n = arr[x];
            if (n == "") n = "0";
            if (parseInt(n) != n)
                return alert("RGB颜色值不是数字!");
            if (n > 255)
                return alert("RGB颜色数字必须在0-255之间!");
            var c = "0123456789ABCDEF", b = "", a = n % 16;
            b = c.substr(a, 1); a = (n - a) / 16;
            hexcode += c.substr(a, 1) + b
        }
        return hexcode;
    }

    function init() {


    }

    return {
        init: function () {
            init();
        }
    };
}

以上がHTML5のキャンバスでタッチパネルに対応した署名パネルのサンプルコードを詳しく解説の詳細内容です。詳細については、PHP 中国語 Web サイトの他の関連記事を参照してください。

声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。
html5的div一行可以放两个吗html5的div一行可以放两个吗Apr 25, 2022 pm 05:32 PM

html5的div元素默认一行不可以放两个。div是一个块级元素,一个元素会独占一行,两个div默认无法在同一行显示;但可以通过给div元素添加“display:inline;”样式,将其转为行内元素,就可以实现多个div在同一行显示了。

html5中列表和表格的区别是什么html5中列表和表格的区别是什么Apr 28, 2022 pm 01:58 PM

html5中列表和表格的区别:1、表格主要是用于显示数据的,而列表主要是用于给数据进行布局;2、表格是使用table标签配合tr、td、th等标签进行定义的,列表是利用li标签配合ol、ul等标签进行定义的。

html5怎么让头和尾固定不动html5怎么让头和尾固定不动Apr 25, 2022 pm 02:30 PM

固定方法:1、使用header标签定义文档头部内容,并添加“position:fixed;top:0;”样式让其固定不动;2、使用footer标签定义尾部内容,并添加“position: fixed;bottom: 0;”样式让其固定不动。

HTML5中画布标签是什么HTML5中画布标签是什么May 18, 2022 pm 04:55 PM

HTML5中画布标签是“<canvas>”。canvas标签用于图形的绘制,它只是一个矩形的图形容器,绘制图形必须通过脚本(通常是JavaScript)来完成;开发者可利用多种js方法来在canvas中绘制路径、盒、圆、字符以及添加图像等。

html5中不支持的标签有哪些html5中不支持的标签有哪些Mar 17, 2022 pm 05:43 PM

html5中不支持的标签有:1、acronym,用于定义首字母缩写,可用abbr替代;2、basefont,可利用css样式替代;3、applet,可用object替代;4、dir,定义目录列表,可用ul替代;5、big,定义大号文本等等。

html5废弃了哪个列表标签html5废弃了哪个列表标签Jun 01, 2022 pm 06:32 PM

html5废弃了dir列表标签。dir标签被用来定义目录列表,一般和li标签配合使用,在dir标签对中通过li标签来设置列表项,语法“<dir><li>列表项值</li>...</dir>”。HTML5已经不支持dir,可使用ul标签取代。

html5是什么意思html5是什么意思Apr 26, 2021 pm 03:02 PM

html5是指超文本标记语言(HTML)的第五次重大修改,即第5代HTML。HTML5是Web中核心语言HTML的规范,用户使用任何手段进行网页浏览时看到的内容原本都是HTML格式的,在浏览器中通过一些技术处理将其转换成为了可识别的信息。HTML5由不同的技术构成,其在互联网中得到了非常广泛的应用,提供更多增强网络应用的标准机。

html5为什么只需要写doctypehtml5为什么只需要写doctypeJun 07, 2022 pm 05:15 PM

因为html5不基于SGML(标准通用置标语言),不需要对DTD进行引用,但是需要doctype来规范浏览器的行为,也即按照正常的方式来运行,因此html5只需要写doctype即可。“!DOCTYPE”是一种标准通用标记语言的文档类型声明,用于告诉浏览器编写页面所用的标记的版本。

See all articles

ホットAIツール

Undresser.AI Undress

Undresser.AI Undress

リアルなヌード写真を作成する AI 搭載アプリ

AI Clothes Remover

AI Clothes Remover

写真から衣服を削除するオンライン AI ツール。

Undress AI Tool

Undress AI Tool

脱衣画像を無料で

Clothoff.io

Clothoff.io

AI衣類リムーバー

AI Hentai Generator

AI Hentai Generator

AIヘンタイを無料で生成します。

ホットツール

PhpStorm Mac バージョン

PhpStorm Mac バージョン

最新(2018.2.1)のプロフェッショナル向けPHP統合開発ツール

Dreamweaver Mac版

Dreamweaver Mac版

ビジュアル Web 開発ツール

SecLists

SecLists

SecLists は、セキュリティ テスターの究極の相棒です。これは、セキュリティ評価中に頻繁に使用されるさまざまな種類のリストを 1 か所にまとめたものです。 SecLists は、セキュリティ テスターが必要とする可能性のあるすべてのリストを便利に提供することで、セキュリティ テストをより効率的かつ生産的にするのに役立ちます。リストの種類には、ユーザー名、パスワード、URL、ファジング ペイロード、機密データ パターン、Web シェルなどが含まれます。テスターはこのリポジトリを新しいテスト マシンにプルするだけで、必要なあらゆる種類のリストにアクセスできるようになります。

DVWA

DVWA

Damn Vulnerable Web App (DVWA) は、非常に脆弱な PHP/MySQL Web アプリケーションです。その主な目的は、セキュリティ専門家が法的環境でスキルとツールをテストするのに役立ち、Web 開発者が Web アプリケーションを保護するプロセスをより深く理解できるようにし、教師/生徒が教室環境で Web アプリケーションを教え/学習できるようにすることです。安全。 DVWA の目標は、シンプルでわかりやすいインターフェイスを通じて、さまざまな難易度で最も一般的な Web 脆弱性のいくつかを実践することです。このソフトウェアは、

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

このプロジェクトは osdn.net/projects/mingw に移行中です。引き続きそこでフォローしていただけます。 MinGW: GNU Compiler Collection (GCC) のネイティブ Windows ポートであり、ネイティブ Windows アプリケーションを構築するための自由に配布可能なインポート ライブラリとヘッダー ファイルであり、C99 機能をサポートする MSVC ランタイムの拡張機能が含まれています。すべての MinGW ソフトウェアは 64 ビット Windows プラットフォームで実行できます。