public void SetCustomEndCap(CustomLineCap customCap) { GpCustomLineCap nativeCap = new GpCustomLineCap(); if (customCap != null) { nativeCap = customCap.nativeCap; } SetStatus(GdiPlus.GdipSetPenCustomEndCap(nativePen, nativeCap)); }
public CustomLineCap( GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap, float baseInset ) { nativeCap = new GpCustomLineCap(); GpPath nativeFillPath = null; GpPath nativeStrokePath = null; if (fillPath != null) nativeFillPath = fillPath.nativePath; if (strokePath != null) nativeStrokePath = strokePath.nativePath; lastResult = GdiPlus.GdipCreateCustomLineCap( nativeFillPath, nativeStrokePath, baseCap, baseInset, out nativeCap); }
public CustomLineCap( GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap, float baseInset ) { nativeCap = new GpCustomLineCap(); GpPath nativeFillPath = null; GpPath nativeStrokePath = null; if (fillPath != null) { nativeFillPath = fillPath.nativePath; } if (strokePath != null) { nativeStrokePath = strokePath.nativePath; } lastResult = GdiPlus.GdipCreateCustomLineCap( nativeFillPath, nativeStrokePath, baseCap, baseInset, out nativeCap); }
void SetNativeCap(GpCustomLineCap nativeCap) { this.nativeCap = nativeCap; }
internal static extern GpStatus GdipGetPenCustomStartCap(GpPen pen, out GpCustomLineCap customCap);
internal static extern GpStatus GdipSetPenCustomEndCap(GpPen pen, GpCustomLineCap customCap);
internal static extern GpStatus GdipCreateCustomLineCap(GpPath fillPath, GpPath strokePath, LineCap baseCap, float baseInset, out GpCustomLineCap customCap);
internal static extern GpStatus GdipSetCustomLineCapStrokeCaps(GpCustomLineCap customCap, GpLineCap startCap, GpLineCap endCap);
internal static extern GpStatus GdipDeleteCustomLineCap(GpCustomLineCap customCap);
extern static internal GpStatus GdipGetPenCustomEndCap(GpPen pen, out GpCustomLineCap customCap);
extern static internal GpStatus GdipSetPenCustomStartCap(GpPen pen, GpCustomLineCap customCap);
public void SetCustomStartCap(CustomLineCap customCap) { GpCustomLineCap nativeCap = new GpCustomLineCap(); if (customCap != null) nativeCap = customCap.nativeCap; SetStatus(GdiPlus.GdipSetPenCustomStartCap(nativePen, nativeCap)); }
public CustomLineCap(GpCustomLineCap nativeCap, GpStatus status) { lastResult = status; SetNativeCap(nativeCap); }