public void SetMarkers() { Status s = GDIPlus.GdipSetPathMarker(nativePath); GDIPlus.CheckStatus(s); }
public void ClearThreshold(ColorAdjustType type) { Status status = GDIPlus.GdipSetImageAttributesThreshold(nativeImageAttr, type, false, 0); GDIPlus.CheckStatus(status); }
public void SetNoOp(ColorAdjustType type) { Status status = GDIPlus.GdipSetImageAttributesNoOp(nativeImageAttr, type, true); GDIPlus.CheckStatus(status); }
public void SetWrapMode(WrapMode mode, Color color, bool clamp) { Status status = GDIPlus.GdipSetImageAttributesWrapMode(nativeImageAttr, mode, color.ToArgb(), clamp); GDIPlus.CheckStatus(status); }
public void ClearColorKey(ColorAdjustType type) { Status status = GDIPlus.GdipSetImageAttributesColorKeys(nativeImageAttr, type, false, 0, 0); GDIPlus.CheckStatus(status); }
public void RotateTransform(float angle, MatrixOrder order) { Status status = GDIPlus.GdipRotateTextureTransform(nativeObject, angle, order); GDIPlus.CheckStatus(status); }
public void TranslateTransform(float dx, float dy, MatrixOrder order) { Status status = GDIPlus.GdipTranslateTextureTransform(nativeObject, dx, dy, order); GDIPlus.CheckStatus(status); }
public void RotateFlip(RotateFlipType rotateFlipType) { Status status = GDIPlus.GdipImageRotateFlip(nativeObject, rotateFlipType); GDIPlus.CheckStatus(status); }
public void SetTabStops(float firstTabOffset, float[] tabStops) { Status status = GDIPlus.GdipSetStringFormatTabStops(nativeStrFmt, firstTabOffset, tabStops.Length, tabStops); GDIPlus.CheckStatus(status); }
public void Rewind() { Status status = GDIPlus.GdipPathIterRewind(nativeObject); GDIPlus.CheckStatus(status); }
public void RemovePropertyItem(int propid) { Status status = GDIPlus.GdipRemovePropertyItem(nativeObject, propid); GDIPlus.CheckStatus(status); }
public void UnlockBits(BitmapData bitmapdata) { Status status = GDIPlus.GdipBitmapUnlockBits(nativeObject, bitmapdata); GDIPlus.CheckStatus(status); }
/// <summary> ///设置分辨率 /// </summary> /// <param name="xDpi"></param> /// <param name="yDpi"></param> public void SetResolution(float xDpi, float yDpi) { Status status = GDIPlus.GdipBitmapSetResolution(nativeObject, xDpi, yDpi); GDIPlus.CheckStatus(status); }
public void StartFigure() { Status s = GDIPlus.GdipStartPathFigure(nativePath); GDIPlus.CheckStatus(s); }
public void TranslateTransform(float dx, float dy, MatrixOrder order) { Status status = GDIPlus.GdipTranslatePathGradientTransform(NativeBrush, dx, dy, order); GDIPlus.CheckStatus(status); }
public void SetDigitSubstitution(int language, StringDigitSubstitute substitute) { Status status = GDIPlus.GdipSetStringFormatDigitSubstitution(nativeStrFmt, this.language, substitute); GDIPlus.CheckStatus(status); }
public void ResetTransform() { Status status = GDIPlus.GdipResetTextureTransform(nativeObject); GDIPlus.CheckStatus(status); }
public StringFormat(StringFormatFlags options, int language) { Status status = GDIPlus.GdipCreateStringFormat(options, language, out nativeStrFmt); GDIPlus.CheckStatus(status); }
public void ScaleTransform(float sx, float sy, MatrixOrder order) { Status status = GDIPlus.GdipScaleTextureTransform(nativeObject, sx, sy, order); GDIPlus.CheckStatus(status); }
public StringFormat(StringFormatFlags options) { Status status = GDIPlus.GdipCreateStringFormat(options, GDIPlus.LANG_NEUTRAL, out nativeStrFmt); GDIPlus.CheckStatus(status); }
public void SetThreshold(float threshold, ColorAdjustType type) { Status status = GDIPlus.GdipSetImageAttributesThreshold(nativeImageAttr, type, true, 0); GDIPlus.CheckStatus(status); }
internal LinearGradientBrush(IntPtr native) : base(native) { Status status = GDIPlus.GdipGetLineRect(native, out rectangle); GDIPlus.CheckStatus(status); }
public ImageAttributes() { Status status = GDIPlus.GdipCreateImageAttributes(out nativeImageAttr); GDIPlus.CheckStatus(status); }
public void ResetTransform() { Status status = GDIPlus.GdipResetPathGradientTransform(NativeBrush); GDIPlus.CheckStatus(status); }
public void ClearRemapTable(ColorAdjustType type) { Status status = GDIPlus.GdipSetImageAttributesRemapTable(nativeImageAttr, type, false, 0, IntPtr.Zero); GDIPlus.CheckStatus(status); }
public void RotateTransform(float angle, MatrixOrder order) { Status status = GDIPlus.GdipRotatePathGradientTransform(NativeBrush, angle, order); GDIPlus.CheckStatus(status); }
public void SetGamma(float gamma, ColorAdjustType coloradjust) { Status status = GDIPlus.GdipSetImageAttributesGamma(nativeImageAttr, coloradjust, true, gamma); GDIPlus.CheckStatus(status); }
public void ScaleTransform(float sx, float sy, MatrixOrder order) { Status status = GDIPlus.GdipScalePathGradientTransform(NativeBrush, sx, sy, order); GDIPlus.CheckStatus(status); }
public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type) { Status status = GDIPlus.GdipSetImageAttributesOutputChannel(nativeImageAttr, type, true, flags); GDIPlus.CheckStatus(status); }
public void CloseFigure() { Status s = GDIPlus.GdipClosePathFigure(nativePath); GDIPlus.CheckStatus(s); }