Exemple #1
0
 public override IPix PixImageInfo(PixImageInfo pii)
 {
     if (typeof(T) == pii.Format.Type)
     {
         return(pii);
     }
     return(new PixImageInfo(new PixFormat(typeof(T), pii.Format.Format), pii.Size));
 }
Exemple #2
0
 public virtual Func <Tr> PixImageInfo(PixImageInfo pii)
 {
     return(() =>
     {
         var typedOther = Other as PixImageInfo;
         if (typedOther == null)
         {
             throw new ArgumentException();
         }
         return ProductOp.PixImageInfo(pii, typedOther);
     });
 }
Exemple #3
0
 public Func <PixImage[]> PixImageInfo(PixImageInfo pii)
 {
     return(() => new PixImage[0]);
 }
Exemple #4
0
 public override IPix PixImageInfo(PixImageInfo pii)
 {
     return(new PixImageInfo(pii.Format, V2i.Zero));
 }
Exemple #5
0
 public virtual int PixImageInfo(PixImageInfo ii0, PixImageInfo ii1)
 {
     return(0);
 }
Exemple #6
0
 public int PixImageInfo(PixImageInfo pii)
 {
     return(0);
 }
Exemple #7
0
 public bool PixImageInfo(PixImageInfo pii0, PixImageInfo pii1)
 {
     return(pii0.Format == pii1.Format && pii0.Size == pii1.Size);
 }
Exemple #8
0
 public virtual IPix PixImageInfo(PixImageInfo pii)
 {
     return(pii);
 }