C# Class Qyoto.QImage

Inheritance: QPaintDevice, IDisposable
Mostrar archivo Open project: 0xd34df00d/Qross Class Usage Examples

Public Methods

Method Description
AllGray ( ) : bool
AlphaChannel ( ) : QImage
Bits ( ) : Pointer
ByteCount ( ) : int
BytesPerLine ( ) : int
CacheKey ( ) : long
Color ( int i ) : uint
ColorCount ( ) : int
ColorTable ( ) : List
ConvertToFormat ( QImage f ) : QImage
ConvertToFormat ( QImage f, List colorTable ) : QImage
ConvertToFormat ( QImage f, List colorTable, uint flags ) : QImage
ConvertToFormat ( QImage f, uint flags ) : QImage
Copy ( ) : QImage
Copy ( Qyoto.QRect rect ) : QImage
Copy ( int x, int y, int w, int h ) : QImage
CreateAlphaMask ( ) : QImage
CreateAlphaMask ( uint flags ) : QImage
CreateHeuristicMask ( ) : QImage
CreateHeuristicMask ( bool clipTight ) : QImage
CreateMaskFromColor ( uint color ) : QImage
CreateMaskFromColor ( uint color, Qt mode ) : QImage
Depth ( ) : int
Detach ( ) : void
Dispose ( ) : void
DotsPerMeterX ( ) : int
DotsPerMeterY ( ) : int
Equals ( object o ) : bool
Fill ( uint pixel ) : void
FromData ( Pointer data, int size ) : QImage
FromData ( Pointer data, int size, string format ) : QImage
FromData ( Qyoto.QByteArray data ) : QImage
FromData ( Qyoto.QByteArray data, string format ) : QImage
GetHashCode ( ) : int
HasAlphaChannel ( ) : bool
Height ( ) : int
InvertPixels ( ) : void
InvertPixels ( QImage arg1 ) : void
IsDetached ( ) : bool
IsGrayscale ( ) : bool
IsNull ( ) : bool
Load ( Qyoto.QIODevice device, string format ) : bool
Load ( string fileName ) : bool
Load ( string fileName, string format ) : bool
LoadFromData ( Pointer buf, int len ) : bool
LoadFromData ( Pointer buf, int len, string format ) : bool
LoadFromData ( Qyoto.QByteArray data ) : bool
LoadFromData ( Qyoto.QByteArray data, string aformat ) : bool
Mirrored ( ) : QImage
Mirrored ( bool horizontally ) : QImage
Mirrored ( bool horizontally, bool vertically ) : QImage
Offset ( ) : Qyoto.QPoint
Pixel ( Qyoto.QPoint pt ) : uint
Pixel ( int x, int y ) : uint
PixelIndex ( Qyoto.QPoint pt ) : int
PixelIndex ( int x, int y ) : int
QImage ( Pointer data, int width, int height, QImage format ) : System
QImage ( Pointer data, int width, int height, int bytesPerLine, QImage format ) : System
QImage ( QImage arg1 ) : System
QImage ( Qyoto.QSize size, QImage format ) : System
QImage ( int width, int height, QImage format ) : System
QImage ( string fileName ) : System
QImage ( string fileName, string format ) : System
Rect ( ) : Qyoto.QRect
RgbSwapped ( ) : QImage
Save ( Qyoto.QIODevice device ) : bool
Save ( Qyoto.QIODevice device, string format ) : bool
Save ( Qyoto.QIODevice device, string format, int quality ) : bool
Save ( string fileName ) : bool
Save ( string fileName, string format ) : bool
Save ( string fileName, string format, int quality ) : bool
Scaled ( Qyoto.QSize s ) : QImage
Scaled ( Qyoto.QSize s, Qt aspectMode ) : QImage
Scaled ( Qyoto.QSize s, Qt aspectMode, Qt mode ) : QImage
Scaled ( int w, int h ) : QImage
Scaled ( int w, int h, Qt aspectMode ) : QImage
Scaled ( int w, int h, Qt aspectMode, Qt mode ) : QImage
ScaledToHeight ( int h ) : QImage
ScaledToHeight ( int h, Qt mode ) : QImage
ScaledToWidth ( int w ) : QImage
ScaledToWidth ( int w, Qt mode ) : QImage
ScanLine ( int arg1 ) : Pointer
SerialNumber ( ) : int
SetAlphaChannel ( QImage alphaChannel ) : void
SetColor ( int i, uint c ) : void
SetColorCount ( int arg1 ) : void
SetColorTable ( List colors ) : void
SetDotsPerMeterX ( int arg1 ) : void
SetDotsPerMeterY ( int arg1 ) : void
SetOffset ( Qyoto.QPoint arg1 ) : void
SetPixel ( Qyoto.QPoint pt, uint index_or_rgb ) : void
SetPixel ( int x, int y, uint index_or_rgb ) : void
SetText ( string key, string value ) : void
SetText ( string key, string lang, string arg3 ) : void
Size ( ) : Qyoto.QSize
Text ( ) : string
Text ( string key ) : string
Text ( string key, string lang ) : string
TextKeys ( ) : List
TextLanguages ( ) : List
Transformed ( QMatrix matrix ) : QImage
Transformed ( QMatrix matrix, Qt mode ) : QImage
Transformed ( QTransform matrix ) : QImage
Transformed ( QTransform matrix, Qt mode ) : QImage
TrueMatrix ( QMatrix arg1, int w, int h ) : QMatrix
TrueMatrix ( QTransform arg1, int w, int h ) : QTransform
Valid ( Qyoto.QPoint pt ) : bool
Valid ( int x, int y ) : bool
Width ( ) : int
format ( ) : QImage.Format
operator ( ) : Qyoto.QVariant
operator ( ) : bool

Protected Methods

Method Description
CreateProxy ( ) : void
QImage ( Type dummy ) : System

Private Methods

Method Description
DevType ( ) : int
Metric ( QPaintDevice metric ) : int
PaintEngine ( ) : QPaintEngine
QImage ( ) : System

Method Details

AllGray() public method

public AllGray ( ) : bool
return bool

AlphaChannel() public method

public AlphaChannel ( ) : QImage
return QImage

Bits() public method

public Bits ( ) : Pointer
return Pointer

ByteCount() public method

public ByteCount ( ) : int
return int

BytesPerLine() public method

public BytesPerLine ( ) : int
return int

CacheKey() public method

public CacheKey ( ) : long
return long

Color() public method

public Color ( int i ) : uint
i int
return uint

ColorCount() public method

public ColorCount ( ) : int
return int

ColorTable() public method

public ColorTable ( ) : List
return List

ConvertToFormat() public method

public ConvertToFormat ( QImage f ) : QImage
f QImage
return QImage

ConvertToFormat() public method

public ConvertToFormat ( QImage f, List colorTable ) : QImage
f QImage
colorTable List
return QImage

ConvertToFormat() public method

public ConvertToFormat ( QImage f, List colorTable, uint flags ) : QImage
f QImage
colorTable List
flags uint
return QImage

ConvertToFormat() public method

public ConvertToFormat ( QImage f, uint flags ) : QImage
f QImage
flags uint
return QImage

Copy() public method

public Copy ( ) : QImage
return QImage

Copy() public method

public Copy ( Qyoto.QRect rect ) : QImage
rect Qyoto.QRect
return QImage

Copy() public method

public Copy ( int x, int y, int w, int h ) : QImage
x int
y int
w int
h int
return QImage

CreateAlphaMask() public method

public CreateAlphaMask ( ) : QImage
return QImage

CreateAlphaMask() public method

public CreateAlphaMask ( uint flags ) : QImage
flags uint
return QImage

CreateHeuristicMask() public method

public CreateHeuristicMask ( ) : QImage
return QImage

CreateHeuristicMask() public method

public CreateHeuristicMask ( bool clipTight ) : QImage
clipTight bool
return QImage

CreateMaskFromColor() public method

public CreateMaskFromColor ( uint color ) : QImage
color uint
return QImage

CreateMaskFromColor() public method

public CreateMaskFromColor ( uint color, Qt mode ) : QImage
color uint
mode Qt
return QImage

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

Depth() public method

public Depth ( ) : int
return int

Detach() public method

public Detach ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DotsPerMeterX() public method

public DotsPerMeterX ( ) : int
return int

DotsPerMeterY() public method

public DotsPerMeterY ( ) : int
return int

Equals() public method

public Equals ( object o ) : bool
o object
return bool

Fill() public method

public Fill ( uint pixel ) : void
pixel uint
return void

FromData() public static method

public static FromData ( Pointer data, int size ) : QImage
data Pointer
size int
return QImage

FromData() public static method

public static FromData ( Pointer data, int size, string format ) : QImage
data Pointer
size int
format string
return QImage

FromData() public static method

public static FromData ( Qyoto.QByteArray data ) : QImage
data Qyoto.QByteArray
return QImage

FromData() public static method

public static FromData ( Qyoto.QByteArray data, string format ) : QImage
data Qyoto.QByteArray
format string
return QImage

GetHashCode() public method

public GetHashCode ( ) : int
return int

HasAlphaChannel() public method

public HasAlphaChannel ( ) : bool
return bool

Height() public method

public Height ( ) : int
return int

InvertPixels() public method

public InvertPixels ( ) : void
return void

InvertPixels() public method

public InvertPixels ( QImage arg1 ) : void
arg1 QImage
return void

IsDetached() public method

public IsDetached ( ) : bool
return bool

IsGrayscale() public method

public IsGrayscale ( ) : bool
return bool

IsNull() public method

public IsNull ( ) : bool
return bool

Load() public method

public Load ( Qyoto.QIODevice device, string format ) : bool
device Qyoto.QIODevice
format string
return bool

Load() public method

public Load ( string fileName ) : bool
fileName string
return bool

Load() public method

public Load ( string fileName, string format ) : bool
fileName string
format string
return bool

LoadFromData() public method

public LoadFromData ( Pointer buf, int len ) : bool
buf Pointer
len int
return bool

LoadFromData() public method

public LoadFromData ( Pointer buf, int len, string format ) : bool
buf Pointer
len int
format string
return bool

LoadFromData() public method

public LoadFromData ( Qyoto.QByteArray data ) : bool
data Qyoto.QByteArray
return bool

LoadFromData() public method

public LoadFromData ( Qyoto.QByteArray data, string aformat ) : bool
data Qyoto.QByteArray
aformat string
return bool

Mirrored() public method

public Mirrored ( ) : QImage
return QImage

Mirrored() public method

public Mirrored ( bool horizontally ) : QImage
horizontally bool
return QImage

Mirrored() public method

public Mirrored ( bool horizontally, bool vertically ) : QImage
horizontally bool
vertically bool
return QImage

Offset() public method

public Offset ( ) : Qyoto.QPoint
return Qyoto.QPoint

Pixel() public method

public Pixel ( Qyoto.QPoint pt ) : uint
pt Qyoto.QPoint
return uint

Pixel() public method

public Pixel ( int x, int y ) : uint
x int
y int
return uint

PixelIndex() public method

public PixelIndex ( Qyoto.QPoint pt ) : int
pt Qyoto.QPoint
return int

PixelIndex() public method

public PixelIndex ( int x, int y ) : int
x int
y int
return int

QImage() public method

public QImage ( Pointer data, int width, int height, QImage format ) : System
data Pointer
width int
height int
format QImage
return System

QImage() public method

public QImage ( Pointer data, int width, int height, int bytesPerLine, QImage format ) : System
data Pointer
width int
height int
bytesPerLine int
format QImage
return System

QImage() public method

public QImage ( QImage arg1 ) : System
arg1 QImage
return System

QImage() public method

public QImage ( Qyoto.QSize size, QImage format ) : System
size Qyoto.QSize
format QImage
return System

QImage() protected method

protected QImage ( Type dummy ) : System
dummy System.Type
return System

QImage() public method

public QImage ( int width, int height, QImage format ) : System
width int
height int
format QImage
return System

QImage() public method

public QImage ( string fileName ) : System
fileName string
return System

QImage() public method

public QImage ( string fileName, string format ) : System
fileName string
format string
return System

Rect() public method

public Rect ( ) : Qyoto.QRect
return Qyoto.QRect

RgbSwapped() public method

public RgbSwapped ( ) : QImage
return QImage

Save() public method

public Save ( Qyoto.QIODevice device ) : bool
device Qyoto.QIODevice
return bool

Save() public method

public Save ( Qyoto.QIODevice device, string format ) : bool
device Qyoto.QIODevice
format string
return bool

Save() public method

public Save ( Qyoto.QIODevice device, string format, int quality ) : bool
device Qyoto.QIODevice
format string
quality int
return bool

Save() public method

public Save ( string fileName ) : bool
fileName string
return bool

Save() public method

public Save ( string fileName, string format ) : bool
fileName string
format string
return bool

Save() public method

public Save ( string fileName, string format, int quality ) : bool
fileName string
format string
quality int
return bool

Scaled() public method

public Scaled ( Qyoto.QSize s ) : QImage
s Qyoto.QSize
return QImage

Scaled() public method

public Scaled ( Qyoto.QSize s, Qt aspectMode ) : QImage
s Qyoto.QSize
aspectMode Qt
return QImage

Scaled() public method

public Scaled ( Qyoto.QSize s, Qt aspectMode, Qt mode ) : QImage
s Qyoto.QSize
aspectMode Qt
mode Qt
return QImage

Scaled() public method

public Scaled ( int w, int h ) : QImage
w int
h int
return QImage

Scaled() public method

public Scaled ( int w, int h, Qt aspectMode ) : QImage
w int
h int
aspectMode Qt
return QImage

Scaled() public method

public Scaled ( int w, int h, Qt aspectMode, Qt mode ) : QImage
w int
h int
aspectMode Qt
mode Qt
return QImage

ScaledToHeight() public method

public ScaledToHeight ( int h ) : QImage
h int
return QImage

ScaledToHeight() public method

public ScaledToHeight ( int h, Qt mode ) : QImage
h int
mode Qt
return QImage

ScaledToWidth() public method

public ScaledToWidth ( int w ) : QImage
w int
return QImage

ScaledToWidth() public method

public ScaledToWidth ( int w, Qt mode ) : QImage
w int
mode Qt
return QImage

ScanLine() public method

public ScanLine ( int arg1 ) : Pointer
arg1 int
return Pointer

SerialNumber() public method

public SerialNumber ( ) : int
return int

SetAlphaChannel() public method

public SetAlphaChannel ( QImage alphaChannel ) : void
alphaChannel QImage
return void

SetColor() public method

public SetColor ( int i, uint c ) : void
i int
c uint
return void

SetColorCount() public method

public SetColorCount ( int arg1 ) : void
arg1 int
return void

SetColorTable() public method

public SetColorTable ( List colors ) : void
colors List
return void

SetDotsPerMeterX() public method

public SetDotsPerMeterX ( int arg1 ) : void
arg1 int
return void

SetDotsPerMeterY() public method

public SetDotsPerMeterY ( int arg1 ) : void
arg1 int
return void

SetOffset() public method

public SetOffset ( Qyoto.QPoint arg1 ) : void
arg1 Qyoto.QPoint
return void

SetPixel() public method

public SetPixel ( Qyoto.QPoint pt, uint index_or_rgb ) : void
pt Qyoto.QPoint
index_or_rgb uint
return void

SetPixel() public method

public SetPixel ( int x, int y, uint index_or_rgb ) : void
x int
y int
index_or_rgb uint
return void

SetText() public method

public SetText ( string key, string value ) : void
key string
value string
return void

SetText() public method

public SetText ( string key, string lang, string arg3 ) : void
key string
lang string
arg3 string
return void

Size() public method

public Size ( ) : Qyoto.QSize
return Qyoto.QSize

Text() public method

public Text ( ) : string
return string

Text() public method

public Text ( string key ) : string
key string
return string

Text() public method

public Text ( string key, string lang ) : string
key string
lang string
return string

TextKeys() public method

public TextKeys ( ) : List
return List

TextLanguages() public method

public TextLanguages ( ) : List
return List

Transformed() public method

public Transformed ( QMatrix matrix ) : QImage
matrix QMatrix
return QImage

Transformed() public method

public Transformed ( QMatrix matrix, Qt mode ) : QImage
matrix QMatrix
mode Qt
return QImage

Transformed() public method

public Transformed ( QTransform matrix ) : QImage
matrix QTransform
return QImage

Transformed() public method

public Transformed ( QTransform matrix, Qt mode ) : QImage
matrix QTransform
mode Qt
return QImage

TrueMatrix() public static method

public static TrueMatrix ( QMatrix arg1, int w, int h ) : QMatrix
arg1 QMatrix
w int
h int
return QMatrix

TrueMatrix() public static method

public static TrueMatrix ( QTransform arg1, int w, int h ) : QTransform
arg1 QTransform
w int
h int
return QTransform

Valid() public method

public Valid ( Qyoto.QPoint pt ) : bool
pt Qyoto.QPoint
return bool

Valid() public method

public Valid ( int x, int y ) : bool
x int
y int
return bool

Width() public method

public Width ( ) : int
return int

format() public method

public format ( ) : QImage.Format
return QImage.Format

operator() public static method

public static operator ( ) : Qyoto.QVariant
return Qyoto.QVariant

operator() public static method

public static operator ( ) : bool
return bool