LibreOffice Module vcl (master) 1
|
Functions | |
static void | ImplExpand (std::optional< ImplVectMap > &rMap, const BitmapReadAccess *pRAcc, const Color &rColor) |
static void | ImplCalculate (ImplVectMap &rMap, tools::PolyPolygon &rPolyPoly, sal_uInt8 cReduce) |
static bool | ImplGetChain (ImplVectMap &rMap, const Point &rStartPt, ImplChain &rChain) |
static bool | ImplIsUp (ImplVectMap const &rMap, tools::Long nY, tools::Long nX) |
static void | ImplLimitPolyPoly (tools::PolyPolygon &rPolyPoly) |
bool | ImplVectorize (const Bitmap &rColorBmp, GDIMetaFile &rMtf, sal_uInt8 cReduce, const Link< tools::Long, void > *pProgress) |
|
static |
Definition at line 864 of file impvect.cxx.
References tools::Polygon::GetBoundRect(), tools::Rectangle::GetHeight(), tools::Polygon::GetSize(), tools::Rectangle::GetWidth(), ImplGetChain(), ImplIsUp(), tools::PolyPolygon::Insert(), VECT_POLY_OUTLINE_INNER, and VECT_POLY_OUTLINE_OUTER.
Referenced by ImplVectorize().
|
static |
Definition at line 780 of file impvect.cxx.
References BitmapInfoAccess::GetBestMatchingColor(), BitmapReadAccess::GetPixel(), BitmapReadAccess::GetPixelFromData(), BitmapReadAccess::GetScanline(), BitmapInfoAccess::Height(), VECT_CONT_INDEX, VECT_MAP(), and BitmapInfoAccess::Width().
Referenced by ImplVectorize().
|
static |
Definition at line 928 of file impvect.cxx.
References aImplMove, VECT_DONE_INDEX, Point::X(), and Point::Y().
Referenced by ImplCalculate().
|
static |
Definition at line 982 of file impvect.cxx.
Referenced by ImplCalculate().
|
static |
Definition at line 748 of file impvect.cxx.
References tools::PolyPolygon::Clear(), tools::PolyPolygon::Count(), tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), i, tools::PolyPolygon::Insert(), nCount, and VECT_POLY_MAX.
Referenced by ImplVectorize().
bool ImplVectorizer::ImplVectorize | ( | const Bitmap & | rColorBmp, |
GDIMetaFile & | rMtf, | ||
sal_uInt8 | cReduce, | ||
const Link< tools::Long, void > * | pProgress | ||
) |
Definition at line 644 of file impvect.cxx.
References GDIMetaFile::AddAction(), aMap, GDIMetaFile::Clear(), tools::PolyPolygon::Count(), FRound(), vcl::ScopedBitmapAccess< Access, Bitmap, Acquire >::get(), GDIMetaFile::GetActionSize(), Color::GetBlue(), Color::GetGreen(), BitmapReadAccess::GetIndexFromData(), BitmapInfoAccess::GetPaletteColor(), BitmapInfoAccess::GetPaletteEntryCount(), Color::GetRed(), BitmapReadAccess::GetScanline(), Size::Height(), BitmapInfoAccess::Height(), i, ImplCalculate(), ImplColorSetCmpFnc(), ImplExpand(), ImplLimitPolyPoly(), GDIMetaFile::Move(), n, tools::PolyPolygon::Optimize(), vcl::ScopedBitmapAccess< Access, Bitmap, Acquire >::reset(), GDIMetaFile::Scale(), GDIMetaFile::SetPrefMapMode(), GDIMetaFile::SetPrefSize(), VECT_PROGRESS(), Size::Width(), and BitmapInfoAccess::Width().
Referenced by Bitmap::Vectorize().