Skip to content

Crow.Drawing.Context

Jean-Philippe Bruyère edited this page Oct 26, 2021 · 1 revision

namespace: Crow.Drawing

Inheritance Hierarchy

Syntax

public class Context

Constructors

prototype description
Context (Surface surface) __
Context (IntPtr handle, bool owner) __
Context (IntPtr state) __
Context (Surface surf) __

Properties

name description
Antialias __
CurrentPoint __
Dashes __
FillRule __
FontExtents __
FontFace __
FontMatrix __
FontOptions __
FontSize __
FontSize __
GroupTarget __
Handle __
HasCurrentPoint __
LineCap __
LineJoin __
LineWidth __
Matrix __
MiterLimit __
Operator __
Pattern __
ReferenceCount __
ScaledFont __
Source __
Status __
Target __
Tolerance __

Methods

prototype description
void AddReference() __
void AppendPath(Path path) __
void Arc(double xc, double yc, double radius, double angle1, double angle2) __
void Arc(PointD center, double radius, double angle1, double angle2) __
void Arc(float xc, float yc, float radius, float a1, float a2) __
void Arc(double xc, double yc, double radius, double a1, double a2) __
void Arc(PointD center, double radius, double angle1, double angle2) __
void ArcNegative(double xc, double yc, double radius, double angle1, double angle2) __
void ArcNegative(PointD center, double radius, double angle1, double angle2) __
void ArcNegative(PointD center, double radius, double angle1, double angle2) __
void ArcNegative(float xc, float yc, float radius, float a1, float a2) __
void ArcNegative(double xc, double yc, double radius, double a1, double a2) __
void Clear() __
void Clip() __
void Clip() __
void ClipExtendRectangle() __
void ClipPreserve() __
void ClipPreserve() __
void ClosePath() __
void ClosePath() __
void CopyPage() __
Path CopyPath() __
Path CopyPathFlat() __
void CurveTo(PointD p1, PointD p2, PointD p3) __
void CurveTo(double x1, double y1, double x2, double y2, double x3, double y3) __
void CurveTo(float x1, float y1, float x2, float y2, float x3, float y3) __
void CurveTo(double x1, double y1, double x2, double y2, double x3, double y3) __
void DeviceToUser(ref double x, ref double y) __
void DeviceToUserDistance(ref double dx, ref double dy) __
void Dispose() __
void Dispose() __
void Fill() __
void Fill() __
Crow.Rectangle FillExtents() __
void FillPreserve() __
void FillPreserve() __
void Flush() __
void FontFace(string family, FontSlant slant, FontWeight weight) __
void FontSetSize(double scale) __
RectangleList GetClipRectangles() __
Surface GetGroupTarget() __
ScaledFont GetScaledFont() __
Pattern GetSource() __
Surface GetTarget() __
TextExtents GlyphExtents(Glyph[] glyphs) __
void GlyphPath(Matrix matrix, Glyph[] glyphs) __
void GlyphPath(Glyph[] glyphs) __
void IdentityMatrix() __
bool InClip(double x, double y) __
bool InFill(double x, double y) __
bool InStroke(double x, double y) __
void InverseTransformDistance(ref double dx, ref double dy) __
void InverseTransformPoint(ref double x, ref double y) __
void LineTo(PointD p) __
void LineTo(double x, double y) __
void LineTo(float x, float y) __
void LineTo(Point p) __
void LineTo(PointD p) __
void LineTo(double x, double y) __
void Mask(Pattern pattern) __
void MaskSurface(Surface surface, double surface_x, double surface_y) __
void MoveTo(PointD p) __
void MoveTo(double x, double y) __
void MoveTo(PointD p) __
void MoveTo(Point p) __
void MoveTo(float x, float y) __
void MoveTo(double x, double y) __
void NewPath() __
void NewPath() __
void NewSubPath() __
void NewSubPath() __
void Paint() __
void Paint() __
void PaintWithAlpha(double alpha) __
void PaintWithAlpha(double alpha) __
Pattern PopGroup() __
void PopGroupToSource() __
void PopGroupToSource() __
void PushGroup() __
void PushGroup(Content content) __
void PushGroup() __
void Rectangle(Crow.Rectangle rectangle) __
void Rectangle(Crow.RectangleD rectangle) __
void Rectangle(PointD p, double width, double height) __
void Rectangle(double x, double y, double width, double height) __
void Rectangle(float x, float y, float width, float height) __
void Rectangle(double x, double y, double width, double height) __
uint References() __
void RelCurveTo(Distance d1, Distance d2, Distance d3) __
void RelCurveTo(double dx1, double dy1, double dx2, double dy2, double dx3, double dy3) __
void RelCurveTo(float x1, float y1, float x2, float y2, float x3, float y3) __
void RelCurveTo(double x1, double y1, double x2, double y2, double x3, double y3) __
void RelLineTo(Distance d) __
void RelLineTo(double dx, double dy) __
void RelLineTo(float x, float y) __
void RelLineTo(double x, double y) __
void RelMoveTo(Distance d) __
void RelMoveTo(double dx, double dy) __
void RelMoveTo(float x, float y) __
void RelMoveTo(double x, double y) __
void RenderSvg(IntPtr nsvgImage, string subId=null) __
void ResetClip() __
void ResetClip() __
void Restore() __
void Restore() __
void Rotate(double angle) __
void Rotate(float alpha) __
void Rotate(double alpha) __
void Save() __
void Save() __
void Scale(double sx, double sy) __
void Scale(float sx, float sy) __
void Scale(double sx, double sy) __
void SelectFontFace(string family, FontSlant slant, FontWeight weight) __
void SetContextFontFace(FontFace value) __
void SetDash(double[] dashes, double offset=0) __
void SetDash(double[] dashes, double offset=0) __
void SetFontSize(double scale) __
void SetScaledFont(ScaledFont font) __
void SetSource(Pattern source) __
void SetSource(Color color) __
void SetSource(double r, double g, double b) __
void SetSource(double r, double g, double b, double a) __
void SetSource(Surface source, int x=0, int y=0) __
void SetSource(Surface source, double x, double y) __
void SetSource(Surface source) __
void SetSource(Pattern pat) __
void SetSource(Color color) __
void SetSource(float r, float g, float b, float a=1f) __
void SetSource(double r, double g, double b, double a=1.0) __
void SetSource(Surface surf, float x=0f, float y=0f) __
void SetSourceSurface(Surface surf, float x=0f, float y=0f) __
void SetTarget(Surface target) __
void ShowGlyphs(Glyph[] glyphs) __
void ShowGlyphs(Matrix matrix, Glyph[] glyphs) __
void ShowPage() __
void ShowText(string str) __
void ShowText(ReadOnlySpan< char > s, int tabSize) __
void ShowText(Span< byte > bytes) __
void ShowText(string text) __
void ShowText(ReadOnlySpan< char > s, int tabSize=4) __
void ShowText(Span< byte > bytes) __
void ShowText(TextRun textRun) __
void Stroke() __
void Stroke() __
Crow.Rectangle StrokeExtents() __
Crow.Rectangle StrokeExtents() __
void StrokePreserve() __
void StrokePreserve() __
TextExtents TextExtents(string s) __
TextExtents TextExtents(ReadOnlySpan< char > s, int tabSize) __
void TextExtents(ReadOnlySpan< char > s, int tabSize, out TextExtents extents) __
void TextExtents(Span< byte > bytes, out TextExtents extents) __
TextExtents TextExtents(ReadOnlySpan< char > s, int tabSize=4) __
void TextExtents(ReadOnlySpan< char > s, int tabSize, out TextExtents extents) __
void TextExtents(Span< byte > bytes, out TextExtents extents) __
void TextPath(string str) __
void TextPath(byte[] utf8) __
void Transform(Matrix m) __
void TransformDistance(ref double dx, ref double dy) __
void TransformPoint(ref double x, ref double y) __
void Translate(double tx, double ty) __
void Translate(float dx, float dy) __
void Translate(double dx, double dy) __
void Translate(PointD p) __
void UserToDevice(ref double x, ref double y) __
void UserToDeviceDistance(ref double dx, ref double dy) __

Events

name description
Clone this wiki locally