Refactoring CPictFile

This commit is contained in:
Prokhorov Kirill
2025-09-02 11:06:06 +03:00
parent 2b54cfaf37
commit d904245e9a
7 changed files with 1847 additions and 3583 deletions

View File

@ -212,6 +212,8 @@ public:
void Offset(const PointF_T<T>& point) { Offset(point.X, point.Y); }
void Offset(T dx, T dy) { X += dx; Y += dy; }
inline bool IsPositive() { return X >= 0 && Y >= 0 && Width > 0 && Height > 0; }
public:
T X, Y, Width, Height;
};

View File

@ -282,8 +282,7 @@ SOURCES += \
$$LIB_GRAPHICS_PRI_PATH/raster/JBig2/source/JBig2File.cpp
SOURCES += \
$$LIB_GRAPHICS_PRI_PATH/raster/PICT/PICFile.cpp \
$$LIB_GRAPHICS_PRI_PATH/raster/PICT/pic.cpp
$$LIB_GRAPHICS_PRI_PATH/raster/PICT/PICFile.cpp
SOURCES += \
$$LIB_GRAPHICS_PRI_PATH/cximage/jasper/base/jas_cm.c \