Changeset 5 for trunk/UCore.pas
- Timestamp:
- Sep 16, 2014, 1:21:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r4 r5 37 37 38 38 uses 39 UFormNew, UFormMain, UColorRGBA8, Forms;39 UFormNew, UFormMain, Forms, UColorRGBA8, UColorGray8; 40 40 41 41 { TCore } … … 46 46 47 47 ColorManager.RegisterFormat(TGColorFormatRGBA8); 48 ColorManager.RegisterFormat(TGColorFormatGray8); 48 49 49 50 // Set default … … 74 75 begin 75 76 Project.Bitmap.Clear; 77 Project.Bitmap.Canvas.Pen.Color.Format := Project.Bitmap.ColorFormat; 78 Project.Bitmap.Canvas.Pen.Color.FromTColor(clWhite); 79 Project.Bitmap.Canvas.Pen.MoveTo(Point(100, 100)); 80 Project.Bitmap.Canvas.Pen.LineTo(Point(700, 500)); 76 81 FormMain.Redraw; 77 82 end;
Note:
See TracChangeset
for help on using the changeset viewer.