On 06/30/2017 07:14 PM, Piotr Caban wrote:
+GpStatus METAFILE_AddSimpleProperty(GpMetafile *metafile, SHORT prop, SHORT val) +{
- EmfPlusRecordHeader *hint_record;
- GpStatus stat;
- if (metafile->metafile_type != MetafileTypeEmfPlusOnly && metafile->metafile_type != MetafileTypeEmfPlusDual)
return Ok;
- stat = METAFILE_AllocateRecord(metafile, sizeof(*hint_record), (void**)&hint_record);
- if (stat != Ok) return stat;
- hint_record->Type = prop;
- hint_record->Flags = val;
- METAFILE_WriteRecords(metafile);
- return Ok;
+}
This is not specific to text rendering hint parameter anymore, local variable should be just "record".
On 07/02/17 10:34, Nikolay Sivov wrote:
This is not specific to text rendering hint parameter anymore, local variable should be just "record".
Thanks, I'll send a fixed version.
Piotr