LibreOffice Module vcl (master) 1
Namespaces | Functions
ipict.cxx File Reference
#include <filter/PictReader.hxx>
#include <string.h>
#include <osl/thread.h>
#include <sal/log.hxx>
#include <vcl/BitmapTools.hxx>
#include <vcl/graph.hxx>
#include <vcl/gdimtf.hxx>
#include <tools/poly.hxx>
#include <tools/fract.hxx>
#include <tools/stream.hxx>
#include <vcl/virdev.hxx>
#include <math.h>
#include "shape.hxx"
#include <memory>
#include <vcl/FilterConfigItem.hxx>
Include dependency graph for ipict.cxx:

Go to the source code of this file.

Namespaces

namespace  PictReaderInternal
 

Functions

static void SetByte (sal_uInt16 &nx, sal_uInt16 ny, vcl::bitmap::RawBitmap &rBitmap, sal_uInt16 nPixelSize, sal_uInt8 nDat, sal_uInt16 nWidth, std::vector< Color > const &rvPalette)
 
static const char * operationName (sal_uInt16 nOpcode)
 
void ReadPictFile (SvStream &rStreamPict, GDIMetaFile &rGDIMetaFile)
 Function to access PictReader::ReadPict for unit testing. More...
 
bool ImportPictGraphic (SvStream &rIStm, Graphic &rGraphic)
 

Function Documentation

◆ ImportPictGraphic()

bool ImportPictGraphic ( SvStream rIStm,
Graphic rGraphic 
)

Definition at line 2024 of file ipict.cxx.

References SvStream::GetError(), and ReadPictFile().

Referenced by GraphicFilter::readPICT().

◆ operationName()

static const char * operationName ( sal_uInt16  nOpcode)
static

Definition at line 1273 of file ipict.cxx.

◆ ReadPictFile()

void ReadPictFile ( SvStream rStreamPict,
GDIMetaFile rGDIMetaFile 
)

Function to access PictReader::ReadPict for unit testing.

Definition at line 2016 of file ipict.cxx.

Referenced by ImportPictGraphic().

◆ SetByte()

static void SetByte ( sal_uInt16 &  nx,
sal_uInt16  ny,
vcl::bitmap::RawBitmap rBitmap,
sal_uInt16  nPixelSize,
sal_uInt8  nDat,
sal_uInt16  nWidth,
std::vector< Color > const &  rvPalette 
)
static

Definition at line 271 of file ipict.cxx.

References nx, ny, and vcl::bitmap::RawBitmap::SetPixel().

Variable Documentation

◆ brushStyle

enum BrushStyle brushStyle

Definition at line 79 of file ipict.cxx.

◆ color

Color color

Definition at line 83 of file ipict.cxx.

◆ isColor

bool isColor

Definition at line 82 of file ipict.cxx.

◆ isRead

bool isRead
protected

Definition at line 87 of file ipict.cxx.

◆ nBitCount

short nBitCount

◆ penStyle

enum PenStyle penStyle

Definition at line 78 of file ipict.cxx.