mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 09:29:07 +02:00
fpvectorial: adds an entity to contain raster images
git-svn-id: trunk@17794 -
This commit is contained in:
parent
7ec15bcd29
commit
2441911aa7
@ -227,6 +227,23 @@ type
|
|||||||
BaseLeft, BaseRight, DimensionLeft, DimensionRight: T3DPoint;
|
BaseLeft, BaseRight, DimensionLeft, DimensionRight: T3DPoint;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{@@
|
||||||
|
Vectorial images can contain raster images inside them and this entity
|
||||||
|
represents this.
|
||||||
|
|
||||||
|
If the Width and Height differ from the same data in the image, then
|
||||||
|
the raster image will be stretched.
|
||||||
|
|
||||||
|
Note that TFPCustomImage does not implement a storage, so the property
|
||||||
|
RasterImage should be filled with either a FPImage.TFPMemoryImage or with
|
||||||
|
a TLazIntfImage. The property RasterImage might be nil.
|
||||||
|
}
|
||||||
|
TvRasterImage = class(TvEntity)
|
||||||
|
public
|
||||||
|
RasterImage: TFPCustomImage;
|
||||||
|
Top, Left, Width, Height: Double;
|
||||||
|
end;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
TvCustomVectorialWriter = class;
|
TvCustomVectorialWriter = class;
|
||||||
|
Loading…
Reference in New Issue
Block a user