public bool Paint(P3D_Brush brush, P3D_Matrix matrix) { if ((this.Canvas == null) || (brush == null)) { return(false); } brush.Paint(this.Canvas, matrix); this.Dirty = true; return(true); }
// This causes the current paint operation to get applied to the specified matrix in pixel space public bool Paint(P3D_Brush brush, P3D_Matrix matrix) { if (Canvas != null && brush != null) { brush.Paint(Canvas, matrix); Dirty = true; return(true); } return(false); }