Example #1
0
 public override void paint(PaintingContext context, Offset offset)
 {
     D.assert(this.needsCompositing);
     context.addLayer(new _InspectorOverlayLayer(
                          Rect.fromLTWH(offset.dx, offset.dy, this.size.width, this.size.height), this.selection
                          ));
 }
 public override void paint(PaintingContext context, Offset offset)
 {
     D.assert(this.needsCompositing);
     context.addLayer(new PerformanceOverlayLayer(
                          overlayRect: Rect.fromLTWH(offset.dx, offset.dy, this.size.width, this.size.height),
                          optionsMask: this.optionsMask
                          ));
 }
Example #3
0
 public override void paint(PaintingContext context, Offset offset)
 {
     D.assert(needsCompositing);
     context.addLayer(new PerformanceOverlayLayer(
                          overlayRect: Rect.fromLTWH(offset.dx, offset.dy, size.width, size.height),
                          optionsMask: optionsMask,
                          rasterizerThreshold: rasterizerThreshold,
                          checkerboardRasterCacheImages: checkerboardRasterCacheImages,
                          checkerboardOffscreenLayers: checkerboardOffscreenLayers
                          ));
 }
Example #4
0
        public override void paint(PaintingContext context, Offset offset)
        {
            if (this._texture == null)
            {
                return;
            }

            context.addLayer(new TextureLayer(
                                 rect: Rect.fromLTWH(offset.dx, offset.dy, this.size.width, this.size.height),
                                 texture: this._texture
                                 ));
        }
Example #5
0
        public override void paint(PaintingContext context, Offset offset)
        {
            if (_textureId == null)
            {
                return;
            }

            context.addLayer(new TextureLayer(
                                 rect: Rect.fromLTWH(offset.dx, offset.dy, size.width, size.height),
                                 textureId: _textureId.Value
                                 ));
        }