LibreOffice Module vcl (master) 1
|
#include <GraphicNativeTransform.hxx>
Public Member Functions | |
GraphicNativeTransform (Graphic &rGraphic) | |
void | rotate (Degree10 aRotation) |
Private Member Functions | |
bool | rotateBitmapOnly (Degree10 aRotation) |
void | rotateJPEG (Degree10 aRotation) |
bool | rotateGeneric (Degree10 aRotation, std::u16string_view aType) |
Private Attributes | |
Graphic & | mrGraphic |
Definition at line 29 of file GraphicNativeTransform.hxx.
GraphicNativeTransform::GraphicNativeTransform | ( | Graphic & | rGraphic | ) |
Definition at line 32 of file GraphicNativeTransform.cxx.
void GraphicNativeTransform::rotate | ( | Degree10 | aRotation | ) |
Definition at line 37 of file GraphicNativeTransform.cxx.
References Graphic::GetGfxLink(), GfxLink::GetType(), mrGraphic, NativeGif, NativeJpg, NativePng, NONE, rotateBitmapOnly(), rotateGeneric(), rotateJPEG(), and u.
|
private |
Definition at line 70 of file GraphicNativeTransform.cxx.
References COL_BLACK(), Graphic::GetBitmapEx(), Graphic::IsAnimated(), mrGraphic, and BitmapEx::Rotate().
Referenced by rotate().
|
private |
Definition at line 84 of file GraphicNativeTransform.cxx.
References COL_BLACK(), GraphicFilter::ExportGraphic(), Graphic::GetBitmapEx(), GraphicFilter::GetExportFormatNumberForShortName(), GraphicFilter::GetGraphicFilter(), GraphicFilter::ImportGraphic(), Graphic::IsAnimated(), comphelper::makePropertyValue(), mrGraphic, BitmapEx::Rotate(), SvStream::Seek(), STREAM_SEEK_TO_BEGIN, and u.
Referenced by rotate(), and rotateJPEG().
|
private |
Definition at line 117 of file GraphicNativeTransform.cxx.
References Graphic::GetBitmapEx(), GfxLink::GetData(), GfxLink::GetDataSize(), Graphic::GetGfxLink(), GraphicFilter::GetGraphicFilter(), BitmapEx::GetSizePixel(), Size::Height(), GraphicFilter::ImportGraphic(), mrGraphic, JpegTransform::perform(), rotateGeneric(), SvStream::Seek(), JpegTransform::setRotate(), STREAM_SEEK_TO_BEGIN, exif::TOP_LEFT, u, Size::Width(), and SvStream::WriteBytes().
Referenced by rotate().
|
private |
Definition at line 31 of file GraphicNativeTransform.hxx.
Referenced by rotate(), rotateBitmapOnly(), rotateGeneric(), and rotateJPEG().