Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jingwood committed Aug 13, 2018
1 parent 878cfc8 commit 4619298
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,31 @@ bmpGraphics.BeginRender();
bmpGraphics.FillRectangle(170, 790, 670, 80, new D2DColor(0.4f, D2DColor.Black));
bmpGraphics.DrawText("This is Direct2D device bitmap", D2DColor.Goldenrod, this.Font, 180, 800);
bmpGraphics.EndRender();

// draw this device bitmap on screen
g.DrawBitmap(bmpGraphics, this.ClientRectangle);
```

Learn more about [Bitmap](wiki/Bitmap).

# Examples

Fast images rendering
![Image Drawing Test](snapshots/imagetest.png)
See [source code](src/Examples/Demos/ImageTest.cs)

Custom draw on memory bitmap
![Bitmap Custom Draw](snapshots/bitmap_rendering.png)
See [source code](src/Examples/Demos/BitmapCustomDraw.cs)

Star space simulation
![Star Space](snapshots/starspace.png)
See [source code](src/Examples/Demos/StarSpace.cs)

Subtitle rendering
![Subtitle](snapshots/subtitle.png)
See [source code](src/Examples/Demos/Subtitle.cs)

![whiteboard](snapshots/whiteboard.png)
Whiteboard App
![whiteboard](snapshots/whiteboard.png)\
See [source code](src/Examples/Demos/Whiteboard.cs)

0 comments on commit 4619298

Please sign in to comment.