Changeset 463 for branches/highdpi/Packages/CevoComponents/GraphicSet.pas
- Timestamp:
- Nov 29, 2023, 2:35:44 PM (12 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Packages/CevoComponents/GraphicSet.pas
r462 r463 1 unit UGraphicSet;1 unit GraphicSet; 2 2 3 3 interface 4 4 5 5 uses 6 UDpiControls, Classes, SysUtils, Graphics, fgl, LCLType, UPixelPointer, DOM, XMLRead,7 XML Write, UXMLUtils;6 UDpiControls, Classes, SysUtils, Graphics, Generics.Collections, LCLType, DOM, 7 XMLRead, XMLWrite, XML; 8 8 9 9 type … … 31 31 { TGraphicSetItems } 32 32 33 TGraphicSetItems = class(T FPGObjectList<TGraphicSetItem>)33 TGraphicSetItems = class(TObjectList<TGraphicSetItem>) 34 34 GraphicSet: TGraphicSet; 35 35 function SearchByName(Name: string): TGraphicSetItem; … … 55 55 end; 56 56 57 TGraphicSetClass = class of TGraphicSet; 58 57 59 { TGraphicSets } 58 60 59 TGraphicSets = class(T FPGObjectList<TGraphicSet>)61 TGraphicSets = class(TObjectList<TGraphicSet>) 60 62 function SearchByName(Name: string): TGraphicSet; 61 63 function AddNew(Name: string): TGraphicSet; … … 91 93 procedure TGraphicSetItem.DrawTo(Canvas: TDpiCanvas; Pos: TPoint); 92 94 begin 93 { DpiBit Canvas(Canvas, Pos.X, Pos.Y, BoundsRect.Width, BoundsRect.Height,95 { DpiBitBltCanvas(Canvas, Pos.X, Pos.Y, BoundsRect.Width, BoundsRect.Height, 94 96 GraphicSet.Mask.Canvas, BoundsRect.Left, BoundsRect.Top, SRCAND); 95 DpiBit Canvas(Canvas, Pos.X, Pos.Y, BoundsRect.Width, BoundsRect.Height,97 DpiBitBltCanvas(Canvas, Pos.X, Pos.Y, BoundsRect.Width, BoundsRect.Height, 96 98 GraphicSet.Data.Canvas, BoundsRect.Left, BoundsRect.Top, SRCPAINT); 97 99 } … … 270 272 end. 271 273 274 275
Note:
See TracChangeset
for help on using the changeset viewer.