LibreOffice Module vcl (master)
1
|
Functions | |
static ImplVectMap * | ImplExpand (BitmapReadAccess *pRAcc, const Color &rColor) |
static void | ImplCalculate (ImplVectMap *pMap, tools::PolyPolygon &rPolyPoly, sal_uInt8 cReduce) |
static bool | ImplGetChain (ImplVectMap *pMap, const Point &rStartPt, ImplChain &rChain) |
static bool | ImplIsUp (ImplVectMap const *pMap, 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 868 of file impvect.cxx.
References tools::Polygon::GetBoundRect(), tools::Polygon::GetSize(), ImplGetChain(), ImplIsUp(), tools::PolyPolygon::Insert(), Point, 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 932 of file impvect.cxx.
References VECT_DONE_INDEX.
Referenced by ImplCalculate().
|
static |
Definition at line 986 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(), tools::PolyPolygon::Insert(), 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, tools::PolyPolygon::Clear(), GDIMetaFile::Clear(), tools::PolyPolygon::Count(), FRound(), vcl::ScopedBitmapAccess< Access, Bitmap, Acquire >::get(), GDIMetaFile::GetActionSize(), BitmapReadAccess::GetIndexFromData(), BitmapInfoAccess::GetPaletteColor(), BitmapInfoAccess::GetPaletteEntryCount(), BitmapReadAccess::GetScanline(), BitmapInfoAccess::Height(), ImplCalculate(), ImplColorSetCmpFnc(), ImplExpand(), ImplLimitPolyPoly(), GDIMetaFile::Move(), tools::PolyPolygon::Optimize(), vcl::ScopedBitmapAccess< Access, Bitmap, Acquire >::reset(), GDIMetaFile::Scale(), GDIMetaFile::SetPrefMapMode(), GDIMetaFile::SetPrefSize(), VECT_PROGRESS(), and BitmapInfoAccess::Width().
Referenced by Bitmap::Vectorize().