コード例 #1
0
ファイル: DirectImage.cs プロジェクト: Isthimius/Gondwana
 public DirectImage(VisibleSurfaceBase surface, Rectangle bounds, Tilesheet bmp,
                    TernaryRasterOperations rasterOp)
     : base(surface, bounds)
 {
     _tilesheet = bmp;
     _rasterOp  = rasterOp;
 }
コード例 #2
0
ファイル: DirectImage.cs プロジェクト: Isthimius/Gondwana
 public DirectImage(VisibleSurfaceBase surface, Rectangle bounds, Tilesheet bmp,
     TernaryRasterOperations rasterOp)
     : base(surface, bounds)
 {
     _tilesheet = bmp;
     _rasterOp = rasterOp;
 }
コード例 #3
0
ファイル: DirectRectangle.cs プロジェクト: Isthimius/Gondwana
 public DirectRectangle(VisibleSurfaceBase surface, Rectangle bounds, Color color, bool isFilled, int alpha)
     : base(surface, bounds)
 {
     _isExplicitAlphaBlended = true;
     _width = 1;
     _color = color;
     _alpha = alpha;
     _isFilled = true;
 }
コード例 #4
0
ファイル: DirectRectangle.cs プロジェクト: Isthimius/Gondwana
 public DirectRectangle(VisibleSurfaceBase surface, Rectangle bounds, Color color, bool isFilled)
     : base(surface, bounds)
 {
     _isExplicitAlphaBlended = false;
     _width = 1;
     _color = color;
     _alpha = color.A;
     _isFilled = isFilled;
 }
コード例 #5
0
ファイル: DirectRectangle.cs プロジェクト: Isthimius/Gondwana
 public DirectRectangle(VisibleSurfaceBase surface, Rectangle bounds, Color color, bool isFilled, int alpha)
     : base(surface, bounds)
 {
     _isExplicitAlphaBlended = true;
     _width    = 1;
     _color    = color;
     _alpha    = alpha;
     _isFilled = true;
 }
コード例 #6
0
ファイル: DirectRectangle.cs プロジェクト: Isthimius/Gondwana
 public DirectRectangle(VisibleSurfaceBase surface, Rectangle bounds, Color color, bool isFilled)
     : base(surface, bounds)
 {
     _isExplicitAlphaBlended = false;
     _width    = 1;
     _color    = color;
     _alpha    = color.A;
     _isFilled = isFilled;
 }
コード例 #7
0
ファイル: DirectDrawing.cs プロジェクト: Isthimius/Gondwana
        public DirectDrawing(VisibleSurfaceBase surface, Rectangle bounds)
        {
            _instances.Add(this);

            _surface = surface;
            _bounds  = bounds;
            _zOrder  = 0;
            _Name    = Guid.NewGuid().ToString();

            _drawSource = _surface.Buffer.DrawSource;

            ForceRefresh();
        }
コード例 #8
0
 public VisibleSufaceBindEventArgs(VisibleSurfaceBase surface, GridPointMatrixes oldBind, GridPointMatrixes newBind)
 {
     Surface = surface;
     OldBindValue = oldBind;
     NewBindValue = newBind;
 }
コード例 #9
0
ファイル: Text.cs プロジェクト: Isthimius/Gondwana
 public Text(VisibleSurfaceBase surface, string text, Font font, Rectangle bounds,
     Color foreColor, Color backColor, TextFormatFlags flags)
     : base(surface, bounds)
 {
     InstantiateNew(text, font, foreColor, backColor, flags);
 }
コード例 #10
0
 public VisibleSufaceBindEventArgs(VisibleSurfaceBase surface, GridPointMatrixes oldBind, GridPointMatrixes newBind)
 {
     Surface      = surface;
     OldBindValue = oldBind;
     NewBindValue = newBind;
 }
コード例 #11
0
ファイル: Text.cs プロジェクト: Isthimius/Gondwana
 public Text(VisibleSurfaceBase surface, string text, Font font, Rectangle bounds,
             Color foreColor, Color backColor, TextFormatFlags flags)
     : base(surface, bounds)
 {
     InstantiateNew(text, font, foreColor, backColor, flags);
 }