Ejemplo n.º 1
0
        protected PixelAccessor(int width, int height, PixelLayout layout, PixelComponentType pType, PixmapOrientation orientation,
            IntPtr pixelPointer)
        {
            PixRectInfo = new PixelRectangleInfo(width, height, layout, pType, orientation, 1);

            fPixelPointer = pixelPointer;
        }
Ejemplo n.º 2
0
 public PixelRectangleInfo(int width, int height, IPixelInformation pixelInfo, PixmapOrientation orient, int bytesPerRow)
 {
     Width = width;
     Height = height;
     Layout = pixelInfo.Layout;
     ComponentType = pixelInfo.ComponentType;
     Orientation = orient;
     Alignment = 1;
     BytesPerRow = bytesPerRow;
 }
Ejemplo n.º 3
0
 public PixelRectangleInfo(int width, int height, PixelLayout layout, PixelComponentType compType, PixmapOrientation orient, int alignment)
 {
     Width = width;
     Height = height;
     Layout = layout;
     ComponentType = compType;
     Orientation = orient;
     Alignment = alignment;
     BytesPerRow = GetBytesPerRow();
 }
Ejemplo n.º 4
0
 public PixelAccessorLumb(int width, int height, PixmapOrientation orientation, IntPtr pixelPointer)
     : base(width, height, PixelType.Lumb, width, orientation, pixelPointer)
 {
 }
Ejemplo n.º 5
0
 public PixelAccessorBGRAb(int width, int height, PixmapOrientation orientation, IntPtr pixelPointer, int bytesPerRow)
     : base(width, height, PixelType.BGRAb, bytesPerRow, orientation, pixelPointer)
 {
 }
Ejemplo n.º 6
0
 protected PixelAccessor(int width, int height, IPixelInformation pixelInfo, int bytesPerRow, PixmapOrientation orientation,
     IntPtr pixelPointer)
 {
     PixRectInfo = new PixelRectangleInfo(width, height, pixelInfo, orientation, bytesPerRow);
     fPixelPointer = pixelPointer;
 }