Changeset 20 for branches/Xvcl/Xvcl.Graphics.pas
- Timestamp:
- May 6, 2013, 12:16:30 AM (12 years ago)
- Location:
- branches/Xvcl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Xvcl
- Property svn:ignore
-
old new 2 2 *.local 3 3 Win32 4 __history
-
- Property svn:ignore
-
branches/Xvcl/Xvcl.Graphics.pas
r19 r20 25 25 TVideoDevice = class 26 26 Size: TPoint; 27 procedure FillRect(Rect: TRectangle; Color: TColor); virtual; 27 28 procedure Line(Pos1, Pos2: TPoint; Color: TColor); virtual; 28 29 procedure SetPixel(Position: TPoint; Color: TColor); virtual; … … 49 50 procedure SetPixel(Position: TPoint; Color: TColor); 50 51 function GetPixel(Position: TPoint): TColor; 52 procedure FillRect(Rect: TRectangle); 51 53 constructor Create; 52 54 destructor Destroy; override; … … 90 92 FPen.Destroy; 91 93 inherited; 94 end; 95 96 procedure TCanvas.FillRect(Rect: TRectangle); 97 begin 98 Rect.TopLeft := AdjustPos(Rect.TopLeft); 99 if Assigned(VideoDevice) then VideoDevice.FillRect(Rect, Brush.Color); 92 100 end; 93 101 … … 152 160 { TVideoDevice } 153 161 162 procedure TVideoDevice.FillRect(Rect: TRectangle; Color: TColor); 163 begin 164 165 end; 166 154 167 function TVideoDevice.GetPixel(Position: TPoint): TColor; 155 168 begin
Note:
See TracChangeset
for help on using the changeset viewer.