[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, Volume 1

layout_object_shapeboxchars Subroutine

Purpose

Shapes box characters.

Library

Layout Library (libi18n.a)

Syntax



#include <sys/lc_layout.h> 

int layout_object_shapeboxchars(layout_object, InpBuf,  InpSize,  OutBuf)
LayoutObject layout_object;
const char *InpBuf;
const size_t InpSize;
char *OutBuf;

Description

The layout_object_shapeboxchars subroutine shapes box characters into the VT100 box character set.

Note: If you are developing internationalized applications that may support multibyte locales, please see Use of the libcur Package in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs

Parameters

layout_object Specifies the LayoutObject structure created by the layout_object_create subroutine.
InpBuf Specifies the source text to be processed.
InpSize Specifies the number of code elements to be processed.
OutBuf Contains the shaped output text.

Return Values

Upon successful completion, this subroutine returns a value of 0.

Error Codes

If this subroutine fails, it returns the following values:

LAYOUT_EILSEQ Shaping stopped due to an input code element that cannot be mapped into the VT100 box character set.
LAYOUT_EINVAL Shaping stopped due to an incomplete code element or shift sequence at the end of the input buffer.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The layout_object_create subroutine, layout_object_editshape subroutine, layout_object_free subroutine, layout_object_getvalue subroutine, layout_object_setvalue subroutine, layout_object_transform subroutine.

Bidirectionality and Character Shaping Overview in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

National Language Support Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]