Exemplo n.º 1
0
        /// <summary>
        /// Creates a TIME chunk,  <c>nsecs</c> in the past from now.
        /// </summary>
        /// <param name="nsecs">Seconds in the past. If negative, it's a future time</param>
        /// <returns>The created and queued chunk</returns>
        public PngChunkTIME SetTimeNow(int nsecs)
        {
            PngChunkTIME c = new PngChunkTIME(chunkList.imageInfo);

            c.SetNow(nsecs);
            QueueChunk(c);
            return(c);
        }
Exemplo n.º 2
0
        public PngChunkTIME SetTimeNow(int nsecs)
        {
            PngChunkTIME pngChunkTIME = new PngChunkTIME(chunkList.imageInfo);

            pngChunkTIME.SetNow(nsecs);
            QueueChunk(pngChunkTIME);
            return(pngChunkTIME);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Creates a TIME chunk,  <c>nsecs</c> in the past from now.
 /// </summary>
 /// <param name="nsecs">Seconds in the past. If negative, it's a future time</param>
 /// <returns>The created and queued chunk</returns>
 public PngChunkTIME SetTimeNow(int nsecs)
 {
     PngChunkTIME c = new PngChunkTIME(chunkList.imageInfo);
     c.SetNow(nsecs);
     QueueChunk(c);
     return c;
 }