本文整理汇总了C#中Qyoto.QImage类的典型用法代码示例。如果您正苦于以下问题:C# QImage类的具体用法?C# QImage怎么用?C# QImage使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
QImage类属于Qyoto命名空间,在下文中一共展示了QImage类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ConvertToFormat
public QImage ConvertToFormat(QImage.Format f, List<uint> colorTable, uint flags)
{
return (QImage) interceptor.Invoke("convertToFormat$?$", "convertToFormat(QImage::Format, const QVector<unsigned int>&, Qt::ImageConversionFlags) const", typeof(QImage), typeof(QImage.Format), f, typeof(List<uint>), colorTable, typeof(uint), flags);
}
示例2: Read
public bool Read(QImage image)
{
return (bool) interceptor.Invoke("read#", "read(QImage*)", typeof(bool), typeof(QImage), image);
}
示例3: Read
public static QDataStream Read(QDataStream arg1, QImage arg2)
{
return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QImage&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QImage), arg2);
}
示例4: DrawImage
public void DrawImage(QPoint p, QImage image)
{
interceptor.Invoke("drawImage##", "drawImage(const QPoint&, const QImage&)", typeof(void), typeof(QPoint), p, typeof(QImage), image);
}
示例5: SetAlphaChannel
public void SetAlphaChannel(QImage alphaChannel)
{
interceptor.Invoke("setAlphaChannel#", "setAlphaChannel(const QImage&)", typeof(void), typeof(QImage), alphaChannel);
}
示例6: QImage
public QImage(QImage arg1)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("QImage#", "QImage(const QImage&)", typeof(void), typeof(QImage), arg1);
}
示例7: InvertPixels
public void InvertPixels(QImage.InvertMode arg1)
{
interceptor.Invoke("invertPixels$", "invertPixels(QImage::InvertMode)", typeof(void), typeof(QImage.InvertMode), arg1);
}
示例8: ImageItem
public ImageItem(QImage image)
{
this.image = image;
SetRect(0, 0, image.Width(), image.Height());
SetFlag(ItemIsMovable);
}
示例9: FromData
public static QBitmap FromData(QSize size, Pointer<byte> bits, QImage.Format monoFormat)
{
return (QBitmap) staticInterceptor.Invoke("fromData#$$", "fromData(const QSize&, const unsigned char*, QImage::Format)", typeof(QBitmap), typeof(QSize), size, typeof(Pointer<byte>), bits, typeof(QImage.Format), monoFormat);
}
示例10: FromImage
public static new QBitmap FromImage(QImage image, uint flags)
{
return (QBitmap) staticInterceptor.Invoke("fromImage#$", "fromImage(const QImage&, Qt::ImageConversionFlags)", typeof(QBitmap), typeof(QImage), image, typeof(uint), flags);
}
示例11: FindInCache
protected bool FindInCache(string key, QImage image, uint lastModified)
{
return (bool) interceptor.Invoke("findInCache$#$", "findInCache(const QString&, QImage&, unsigned int)", typeof(bool), typeof(string), key, typeof(QImage), image, typeof(uint), lastModified);
}
示例12: InsertIntoCache
protected void InsertIntoCache(string key, QImage image)
{
interceptor.Invoke("insertIntoCache$#", "insertIntoCache(const QString&, const QImage&)", typeof(void), typeof(string), key, typeof(QImage), image);
}
示例13: Write
public bool Write(QImage image)
{
return (bool) interceptor.Invoke("write#", "write(const QImage&)", typeof(bool), typeof(QImage), image);
}
示例14: RenderCompleted
protected virtual void RenderCompleted(QImage image)
{
interceptor.Invoke("renderCompleted#", "renderCompleted(const QImage&)", typeof(void), typeof(QImage), image);
}
示例15: Write
public static QDataStream Write(QDataStream arg1, QImage arg2)
{
return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QImage&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QImage), arg2);
}