コード例 #1
0
    public int FillPoint(Point pColor, Color32 color, bool writeData = true)
    {
        int   num  = this.paintEngine.texWidth * pColor.i + pColor.j;
        short num2 = this.paintEngine.source[num];

        this.paintEngine.paintColor = color;
        ChopFillAlgorithm.Fill(pColor.j, pColor.i, this.paintEngine, num2);
        if (writeData)
        {
            this.UpdateDrawTex();
        }
        this.paintedMap[(int)num2] = true;
        return((int)num2);
    }
コード例 #2
0
 public void FillId(Color32 color, short id)
 {
     this.paintEngine.paintColor = color;
     ChopFillAlgorithm.Fill(0, 0, this.paintEngine, id);
 }