Changeset 9 for trunk/UCore.pas
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 2 2 LibrePaint 3 3 lib 4 backup
-
- Property svn:ignore
-
trunk/UCore.pas
r8 r9 66 66 67 67 // Set default 68 Project.Bitmap.Size := Point( 800, 600);68 Project.Bitmap.Size := Point(200, 100); 69 69 if ColorManager.FormatCount > 0 then 70 70 Project.Bitmap.ColorFormat := ColorManager.Formats[0]; … … 79 79 Project.Bitmap.Size := Point(FormNew.SpinEditWidth.Value, FormNew.SpinEditHeight.Value); 80 80 Project.Bitmap.ColorFormat := ColorManager.Formats[FormNew.ComboBoxColorFormat.ItemIndex]; 81 Project.Bitmap.BackgroundColor.FromTColor(clBlack); 81 82 Project.Bitmap.DPI := FormNew.SpinEditDPI.Value; 82 83 FormMain.Redraw; … … 112 113 Project.Bitmap.Canvas.Pen.Color.Format := Project.Bitmap.ColorFormat; 113 114 Project.Bitmap.Canvas.Pen.Color.FromTColor(clWhite); 114 Project.Bitmap.Canvas.Pen.MoveTo(Point( 100, 100));115 Project.Bitmap.Canvas.Pen.LineTo(Point( 700, 500));115 Project.Bitmap.Canvas.Pen.MoveTo(Point(80, 80)); 116 Project.Bitmap.Canvas.Pen.LineTo(Point(50, 20)); 116 117 FormMain.Redraw; 117 118 end;
Note:
See TracChangeset
for help on using the changeset viewer.