HIOUtilityHPGL2

class HIOUtilityHPGL2

The HIOUtilityHPGL is the class for writing HPGL2 files using the HOOPS HPGL2 driver. The output files are suitable to send to a HPGL2 printer or plotter.

Inherits from: HOutputHandler

Methods

HIOUtilityHPGL2::HIOUtilityHPGL2()

Constructs an HIOUtilityHPGL2 object.

HIOUtilityHPGL2::~HIOUtilityHPGL2()
char const *HIOUtilityHPGL2::GetOutputName()

Returns

A character pointer denoting the name of the handler.
void HIOUtilityHPGL2::RegisterOutputHandlerTypes()

This method registers the “hp” extension to this handler as an output handler.

char const *HIOUtilityHPGL2::GetOutputTypesString()

Returns

The string of the type of output this handler creates which is “hp”.
HOutputHandlerStyle HIOUtilityHPGL2::GetOutputStyle()

Returns

The type of output style which is #HOutputHandlerStyleHardcopy.
char const *HIOUtilityHPGL2::GetOutputDefaultHSRA()

Returns

The default HSRA for the HIOUtilityHPGL2 instance.
HFileOutputResult HIOUtilityHPGL2::FileOutputByKey(__wchar_t const *filename, HC_KEY key, HOutputHandlerOptions *options)

This method writes a HPGL2 file out of the segment tree underneath the given key.

Parameters

filename: The name of the file to output.

key: The HOOPS segment key to get output data from.

options: The options class containing any needed extra information for the operation.

Returns

The #HFileOutputResult result of the output operation.
HFileOutputResult HIOUtilityHPGL2::FileOutputByKey(unsigned short const *filename, HC_KEY key, HOutputHandlerOptions *options)
HFileOutputResult HIOUtilityHPGL2::FileOutputByKey(char const *filename, HC_KEY key, HOutputHandlerOptions *options)